#include <IonizationAndScintillation.h>
gar::rosim::IonizationAndScintillation::IonizationAndScintillation |
( |
CLHEP::HepRandomEngine & |
engine | ) |
|
|
private |
Definition at line 52 of file IonizationAndScintillation.cxx.
74 fEnergyPerStep = tfs->make<TH1F>(
"energyPerStep",
";Energy (MeV);Steps",
76 fStepSize = tfs->make<TH1F>(
"stepSize",
";Step Size (CLHEP::cm);Steps",
78 fElectronsPerLength = tfs->make<TH1F>(
"electronsPerLength",
";Electrons #times 10^{3}/CLHEP::cm;Steps",
80 fPhotonsPerLength = tfs->make<TH1F>(
"photonsPerLength",
";Photons #times 10^{3}/CLHEP::cm;Steps",
82 fElectronsPerEDep = tfs->make<TH1F>(
"electronsPerEDep",
";Electrons #times 10^{3}/MeV;Steps",
84 fPhotonsPerEDep = tfs->make<TH1F>(
"photonsPerEDep",
";Photons #times 10^{3}/MeV;Steps",
88 500, 0., 5000., 500, 0., 5000.);
int fTrkID
last TrkID checked
TH1F * fPhotonsPerEDep
histogram of photons per MeV deposited
const gar::sdp::EnergyDeposit * fEnergyDeposit
reference to the current energy deposit
TH1F * fPhotonsPerLength
histogram of the photons per dX
TH1F * fPhotonsPerStep
histogram of the photons per step
TH1F * fStepSize
histogram of the step sizes
TH1F * fElectronsPerStep
histogram of electrons per step
rosim::ISCalculation * fISCalc
produced by an energy deposition
int fStepNumber
last StepNumber checked
TH1F * fEnergyPerStep
histogram of the energy deposited per step
TH1F * fElectronsPerEDep
histogram of electrons per MeV deposited
TH1F * fElectronsPerLength
histogram of electrons per dX
TH2F * fElectronsVsPhotons
histogram of electrons vs photons per step
CLHEP::HepRandomEngine & fEngine
random engine
gar::rosim::IonizationAndScintillation::~IonizationAndScintillation |
( |
| ) |
|
|
private |
Definition at line 29 of file IonizationAndScintillation.cxx.
static IonizationAndScintillation * gInstance
IonizationAndScintillation(CLHEP::HepRandomEngine &engine)
void reconfigure(fhicl::ParameterSet const &pset)
double gar::rosim::IonizationAndScintillation::EnergyDeposit |
( |
| ) |
const |
|
inline |
Definition at line 41 of file IonizationAndScintillation.h.
virtual double EnergyDeposit() const =0
rosim::ISCalculation * fISCalc
produced by an energy deposition
Definition at line 40 of file IonizationAndScintillation.cxx.
45 <<
"instance pointer is null, that is bad";
static IonizationAndScintillation * gInstance
cet::coded_exception< error, detail::translate > exception
int gar::rosim::IonizationAndScintillation::NumberIonizationElectrons |
( |
| ) |
const |
|
inline |
Definition at line 42 of file IonizationAndScintillation.h.
virtual int NumberIonizationElectrons() const =0
rosim::ISCalculation * fISCalc
produced by an energy deposition
int gar::rosim::IonizationAndScintillation::NumberScintillationPhotons |
( |
| ) |
const |
|
inline |
Definition at line 43 of file IonizationAndScintillation.h.
rosim::ISCalculation * fISCalc
produced by an energy deposition
virtual int NumberScintillationPhotons() const =0
Definition at line 99 of file IonizationAndScintillation.cxx.
106 auto calcName = pset.get<
std::string>(
"ISCalcName");
108 if(calcName.compare(
"NEST") == 0)
110 else if(calcName.compare(
"Separate") == 0)
114 <<
"No ISCalculation set, this can't be good.";
virtual void Initialize()=0
rosim::ISCalculation * fISCalc
produced by an energy deposition
#define MF_LOG_WARNING(category)
CLHEP::HepRandomEngine & fEngine
random engine
Definition at line 123 of file IonizationAndScintillation.cxx.
TH1F * fPhotonsPerEDep
histogram of photons per MeV deposited
float const & Energy() const
const gar::sdp::EnergyDeposit * fEnergyDeposit
reference to the current energy deposit
virtual double EnergyDeposit() const =0
TH1F * fPhotonsPerStep
histogram of the photons per step
TH1F * fElectronsPerStep
histogram of electrons per step
virtual int NumberIonizationElectrons() const =0
rosim::ISCalculation * fISCalc
produced by an energy deposition
TH1F * fEnergyPerStep
histogram of the energy deposited per step
TH1F * fElectronsPerEDep
histogram of electrons per MeV deposited
TH2F * fElectronsVsPhotons
histogram of electrons vs photons per step
virtual int NumberScintillationPhotons() const =0
virtual void CalculateIonizationAndScintillation(const gar::sdp::EnergyDeposit *dep)=0
double gar::rosim::IonizationAndScintillation::StepSizeLimit |
( |
| ) |
const |
|
inline |
Definition at line 44 of file IonizationAndScintillation.h.
rosim::ISCalculation * fISCalc
produced by an energy deposition
virtual double StepSizeLimit() const =0
TH1F* gar::rosim::IonizationAndScintillation::fElectronsPerEDep |
|
private |
TH1F* gar::rosim::IonizationAndScintillation::fElectronsPerLength |
|
private |
TH1F* gar::rosim::IonizationAndScintillation::fElectronsPerStep |
|
private |
TH2F* gar::rosim::IonizationAndScintillation::fElectronsVsPhotons |
|
private |
TH1F* gar::rosim::IonizationAndScintillation::fEnergyPerStep |
|
private |
CLHEP::HepRandomEngine& gar::rosim::IonizationAndScintillation::fEngine |
|
private |
std::string gar::rosim::IonizationAndScintillation::fISCalculator |
|
private |
TH1F* gar::rosim::IonizationAndScintillation::fPhotonsPerEDep |
|
private |
TH1F* gar::rosim::IonizationAndScintillation::fPhotonsPerLength |
|
private |
TH1F* gar::rosim::IonizationAndScintillation::fPhotonsPerStep |
|
private |
int gar::rosim::IonizationAndScintillation::fStepNumber |
|
private |
TH1F* gar::rosim::IonizationAndScintillation::fStepSize |
|
private |
int gar::rosim::IonizationAndScintillation::fTrkID |
|
private |
The documentation for this class was generated from the following files: