ISCalculationSeparate.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file ISCalculationSeparate.h
3 /// \brief Interface to algorithm class for a specific calculation of
4 /// ionization electrons and scintillation photons assuming there
5 /// is no correlation between the two
6 ///
7 /// \version $Id: $
8 /// \author brebel@fnal.gov
9 ////////////////////////////////////////////////////////////////////////
10 #ifndef ROSIMISCALCULATIONSEPARATE_H
11 #define ROSIMISCALCULATIONSEPARATE_H
12 
13 #include <map>
14 
16 
17 // forward declaration
18 namespace CLHEP { class HepRandomEngine; }
19 
20 namespace gar {
21  namespace rosim {
22 
24 
25  public:
26 
27  ISCalculationSeparate(CLHEP::HepRandomEngine&);
28  virtual ~ISCalculationSeparate();
29 
30  void Initialize();
31  void Reset();
32  void CalculateIonizationAndScintillation(const gar::sdp::EnergyDeposit* dep);
33  double EnergyDeposit() const { return fEnergyDeposit; }
34  int NumberIonizationElectrons() const { return fNumIonElectrons; }
35  int NumberScintillationPhotons() const { return fNumScintPhotons; }
36  double StepSizeLimit() const { return fStepSize; }
37 
38  private:
39 
40  double fStepSize; ///< maximum step to take
41  double fEfield; ///< value of electric field from GArProperties service
42  double fGeVToElectrons; ///< conversion factor from GArProperties service
43  // double fRecombA; ///< from GArG4Parameters service
44  // double fRecombk; ///< from GArG4Parameters service
45  // clang says these are unused -- may need them later
46  //bool fScintByParticleType; ///< from GArProperties service
47  //double fScintYieldFactor; ///< scintillation yield factor
48  //G4EmSaturation* fEMSaturation; ///< pointer to EM saturation
49 
50  };
51  }
52 } // gar
53 
54 #endif // ROSIMISCALCULATIONSEPARATE_H
double fStepSize
maximum step to take
double fGeVToElectrons
conversion factor from GArProperties service
double fEfield
value of electric field from GArProperties service
void Initialize(void)
General GArSoft Utilities.