ISCalcSeparate.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // Class: ISCalcSeparate
3 // Plugin Type: algorithm
4 // File: ISCalcSeparate.h and ISCalcSeparate.cxx
5 // Description:
6 // Interface to algorithm class for a specific calculation of ionization electrons and scintillation photons
7 // assuming there is no correlation between the two
8 // Input: 'sim::SimEnergyDeposit'
9 // Output: num of Photons and Electrons
10 // Sept.16 by Mu Wei
11 ////////////////////////////////////////////////////////////////////////
12 
13 #ifndef IS_ISCALCSEPARATE_H
14 #define IS_ISCALCSEPARATE_H
15 
17 
22 
25 #include <vector>
26 
27 #include "CLHEP/Vector/ThreeVector.h"
29 
30 namespace larg4 {
31  class ISCalcSeparate : public ISCalc {
32  public:
34  void Reset();
35 
36  double EFieldAtStep(double efield,
37  sim::SimEnergyDeposit const& edep)
38  override; //value of field with any corrections for this step
40  sim::SimEnergyDeposit const& edep) override;
41 
42  private:
43  double fGeVToElectrons; ///< from LArG4Parameters service
44  double fRecombA; ///< from LArG4Parameters service
45  double fRecombk; ///< from LArG4Parameters service
46  double fModBoxA; ///< from LArG4Parameters service
47  double fModBoxB; ///< from LArG4Parameters service
48  bool fUseModBoxRecomb; ///< from LArG4Parameters service
49 
52 
53  double CalcIon(detinfo::DetectorPropertiesData const& detProp,
54  sim::SimEnergyDeposit const& edep);
55  std::pair<double, double> CalcScint(sim::SimEnergyDeposit const& edep);
56  double GetScintYieldRatio(sim::SimEnergyDeposit const& edep);
57  };
58 }
59 #endif // LARG4_ISCALCULATIONSEPARATE_H
Store parameters for running LArG4.
const detinfo::LArProperties * fLArProp
std::pair< double, double > CalcScint(sim::SimEnergyDeposit const &edep)
double fModBoxA
from LArG4Parameters service
Geant4 interface.
ISCalcData CalcIonAndScint(detinfo::DetectorPropertiesData const &detProp, sim::SimEnergyDeposit const &edep) override
double fRecombk
from LArG4Parameters service
double CalcIon(detinfo::DetectorPropertiesData const &detProp, sim::SimEnergyDeposit const &edep)
double fRecombA
from LArG4Parameters service
double GetScintYieldRatio(sim::SimEnergyDeposit const &edep)
double EFieldAtStep(double efield, sim::SimEnergyDeposit const &edep) override
const spacecharge::SpaceCharge * fSCE
Energy deposition in the active material.
double fGeVToElectrons
from LArG4Parameters service
Definitions of geometry vector data types.
double fModBoxB
from LArG4Parameters service
Collection of Physical constants used in LArSoft.
bool fUseModBoxRecomb
from LArG4Parameters service