All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ISCalculationNEST.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file ISCalculationNEST.h
3 /// \brief Interface to algorithm class for a specific calculation of
4 /// ionization electrons and scintillation photons using NEST
5 ///
6 /// \author brebel@fnal.gov
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef LARG4_ISCALCULATIONNEST_H
9 #define LARG4_ISCALCULATIONNEST_H
10 
13 
14 // forward declarations
15 class G4Step;
16 namespace CLHEP {
17  class HepRandomEngine;
18 }
19 
20 namespace larg4 {
21 
23  public:
24  ISCalculationNEST(CLHEP::HepRandomEngine& engine);
25 
26  void Reset();
27  void CalculateIonizationAndScintillation(const G4Step* step);
28  double
29  StepSizeLimit() const
30  {
31  return fStepSize;
32  }
33 
34  private:
35  NestAlg fNest; ///< the fast optical simulation process
36  double fStepSize; ///< maximum step to take
37  };
38 }
39 #endif // LARG4_ISCALCULATIONNEST_H
void CalculateIonizationAndScintillation(const G4Step *step)
double StepSizeLimit() const
double fStepSize
maximum step to take
Interface to algorithm class for a specific detector channel mapping.
ISCalculationNEST(CLHEP::HepRandomEngine &engine)
NestAlg fNest
the fast optical simulation process