All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ElectronDrift/ISCalculationSeparate.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file ISCalculationSeparate.h
3 /// \brief Calculation of ionization electrons and scintillation photons
4 /// assuming there is no correlation between the two
5 ///
6 ///
7 /// \version $Id: $
8 /// \author wenzel@fnal.gov
9 ////////////////////////////////////////////////////////////////////////
10 #ifndef IS_ISCALCULATION_H
11 #define IS_ISCALCULATION_H
12 
14 
15 // forward declaration
16 namespace detinfo {
17  class LArProperties;
18  class DetectorProperties;
19 }
20 namespace fhicl {
21  class ParameterSet;
22 }
23 namespace sim {
24  class SimEnergyDeposit;
25  class LArG4Parameters;
26 }
27 namespace spacecharge {
28  class SpaceCharge;
29 }
30 
31 namespace detsim {
32 
34  public:
35  explicit ISCalculationSeparate(fhicl::ParameterSet const& pset);
36 
37  struct Data {
38  double energyDeposit;
39  double numElectrons;
40  double numPhotons;
41  };
43  sim::SimEnergyDeposit const& edep) const;
44  double EFieldAtStep(double efield, sim::SimEnergyDeposit const& edep)
45  const; //value of field with any corrections for this step
46 
47  private:
48  double fRecombA;
49  double fRecombk;
50  double fModBoxA;
51  double fModBoxB;
53  double fGeVToElectrons; ///< from LArG4Parameters service
54 
55  double EFieldAtStep(double efield, float x, float y, float z) const;
56 
59 
61  sim::SimEnergyDeposit const& edep) const;
62  double CalculateScintillation(sim::SimEnergyDeposit const& edep) const;
63  };
64 }
65 #endif // LARG4_ISCALCULATION_H
process_name opflash particleana ie ie ie z
process_name opflash particleana ie x
double fGeVToElectrons
from LArG4Parameters service
double CalculateIonization(detinfo::DetectorPropertiesData const &detProp, sim::SimEnergyDeposit const &edep) const
ISCalculationSeparate(fhicl::ParameterSet const &pset)
process_name opflash particleana ie ie y
double EFieldAtStep(double efield, sim::SimEnergyDeposit const &edep) const
Definitions of geometry vector data types.
Data CalculateIonizationAndScintillation(detinfo::DetectorPropertiesData const &detProp, sim::SimEnergyDeposit const &edep) const
Energy deposition in the active material.
auto const detProp
double CalculateScintillation(sim::SimEnergyDeposit const &edep) const