All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
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,
28  sim::SimEnergyDeposit const& edep)
29  override; //value of field with any corrections for this step
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
ISCalcNESTLAr(CLHEP::HepRandomEngine &fEngine)
const spacecharge::SpaceCharge * fSCE
Definition: ISCalcNESTLAr.h:35
process_name E
int BinomFluct(int N0, double prob)
ISCalcData CalcIonAndScint(detinfo::DetectorPropertiesData const &detProp, sim::SimEnergyDeposit const &edep) override
double CalcElectronLET(double E)
Energy deposition in the active material.
double EFieldAtStep(double efield, sim::SimEnergyDeposit const &edep) override
auto const detProp