ISCalcNESTLAr.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // Class: ISCalcNESTLAr
3 // Plugin Type: Algorithm
4 // File: ISCalcNESTLAr.cxx
5 // Description:
6 // Aug. 30 by Mu Wei
7 ////////////////////////////////////////////////////////////////////////
8 
9 #ifndef LARG4_ISCALCNESTLAr_H
10 #define LARG4_ISCALCNESTLAr_H
11 
13 
16 namespace detinfo {
17  class DetectorPropertiesData;
18 }
19 
20 #include "CLHEP/Random/RandEngine.h"
21 
22 namespace larg4 {
23  class ISCalcNESTLAr : public ISCalc {
24  public:
25  explicit ISCalcNESTLAr(CLHEP::HepRandomEngine& fEngine);
26 
27  double EFieldAtStep(double efield,
28  sim::SimEnergyDeposit const& edep)
29  override; //value of field with any corrections for this step
30  ISCalcData CalcIonAndScint(detinfo::DetectorPropertiesData const& detProp,
31  sim::SimEnergyDeposit const& edep) override;
32 
33  private:
34  CLHEP::HepRandomEngine& fEngine; // random engine
37 
38  int BinomFluct(int N0, double prob);
39  double CalcElectronLET(double E);
40  double GetScintYieldRatio(sim::SimEnergyDeposit const& edep);
41  };
42 }
43 #endif // LARG4_ISCALCNESTLAr_H
CLHEP::HepRandomEngine & fEngine
Definition: ISCalcNESTLAr.h:34
const spacecharge::SpaceCharge * fSCE
Definition: ISCalcNESTLAr.h:35
Geant4 interface.
const detinfo::LArProperties * fLArProp
Definition: ISCalcNESTLAr.h:36
G4int BinomFluct(G4int N0, G4double prob)
Definition: G4S1Light.cc:1245
General LArSoft Utilities.
Energy deposition in the active material.