LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ISCalcNESTLAr.h
Go to the documentation of this file.
1 // Class: ISCalcNESTLAr
3 // Plugin Type: Algorithm
4 // File: ISCalcNESTLAr.cxx
5 // Description:
6 // Aug. 30 by Mu Wei
8 
9 #ifndef LARG4_ISCALCNESTLAr_H
10 #define LARG4_ISCALCNESTLAr_H
11 
13 
14 namespace spacecharge {
15  class SpaceCharge;
16 }
17 
18 namespace CLHEP {
19  class HepRandomEngine;
20 }
21 
22 namespace larg4 {
23  class ISCalcNESTLAr : public ISCalc {
24  public:
25  explicit ISCalcNESTLAr(CLHEP::HepRandomEngine& fEngine);
26 
27  double EFieldAtStep(double efield,
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
36 
37  int BinomFluct(int N0, double prob);
38  double CalcElectronLET(double E);
39  };
40 }
41 #endif // LARG4_ISCALCNESTLAr_H
CLHEP::HepRandomEngine & fEngine
Definition: ISCalcNESTLAr.h:34
const spacecharge::SpaceCharge * fSCE
Definition: ISCalcNESTLAr.h:35
Geant4 interface.
Float_t E
Definition: plot.C:20
Double_t edep
Definition: macro.C:13
Energy deposition in the active material.