Scintillator level simulation data. More...
#include "mevt/ScintillatorSimData.h"
Classes | |
struct | PEPulse |
struct | PhotonTime |
struct | SPEPulse |
Public Types | |
typedef boost::indirect_iterator < InternalConstParticleIterator, const utl::Particle & > | ConstParticleIterator |
typedef PEPulseContainer::const_iterator | ConstPEPulseIterator |
typedef PhotonTimeContainer::const_iterator | ConstPhotonTimeIterator |
typedef SPEPulseContainer::const_iterator | ConstSPEPulseIterator |
typedef boost::indirect_iterator < InternalParticleIterator, utl::Particle & > | ParticleIterator |
typedef PEPulseContainer::iterator | PEPulseIterator |
typedef PhotonTimeContainer::iterator | PhotonTimeIterator |
typedef SPEPulseContainer::iterator | SPEPulseIterator |
Private Types | |
typedef InternalParticleContainer::const_iterator | InternalConstParticleIterator |
typedef std::list< ParticlePtr > | InternalParticleContainer |
typedef InternalParticleContainer::iterator | InternalParticleIterator |
typedef utl::ShadowPtr < utl::Particle > | ParticlePtr |
typedef std::list< PEPulse > | PEPulseContainer |
typedef std::list< PhotonTime > | PhotonTimeContainer |
typedef std::list< SPEPulse > | SPEPulseContainer |
Private Member Functions | |
ScintillatorSimData ()=default | |
~ScintillatorSimData ()=default | |
Private Attributes | |
utl::ShadowPtr< utl::TraceD > | fAnalogicTrace |
double | fEnergyDeposit = 0 |
double | fEnergyDepositMuons = 0 |
unsigned int | fNParticles = 0 |
unsigned int | fNumberOfCornerClippingMuons = 0 |
unsigned int | fNumberOfElectrons = 0 |
unsigned int | fNumberOfInjectedMuons = 0 |
InternalParticleContainer | fParticles |
PEPulseContainer | fPEPulses |
PhotonTimeContainer | fPhotonTimes |
SPEPulseContainer | fSPEPulses |
Friends | |
class | Scintillator |
Friendship to allow construction. More... | |
class | utl::ShadowPtr< ScintillatorSimData > |
Frienship to allow destruction. More... | |
Scintillator level simulation data.
Definition at line 31 of file MEvent/ScintillatorSimData.h.
typedef boost::indirect_iterator<InternalConstParticleIterator, const utl::Particle&> mevt::ScintillatorSimData::ConstParticleIterator |
Definition at line 112 of file MEvent/ScintillatorSimData.h.
typedef PEPulseContainer::const_iterator mevt::ScintillatorSimData::ConstPEPulseIterator |
Definition at line 117 of file MEvent/ScintillatorSimData.h.
typedef PhotonTimeContainer::const_iterator mevt::ScintillatorSimData::ConstPhotonTimeIterator |
Definition at line 120 of file MEvent/ScintillatorSimData.h.
typedef SPEPulseContainer::const_iterator mevt::ScintillatorSimData::ConstSPEPulseIterator |
Definition at line 114 of file MEvent/ScintillatorSimData.h.
|
private |
Definition at line 104 of file MEvent/ScintillatorSimData.h.
|
private |
Definition at line 102 of file MEvent/ScintillatorSimData.h.
|
private |
Definition at line 103 of file MEvent/ScintillatorSimData.h.
typedef boost::indirect_iterator<InternalParticleIterator, utl::Particle&> mevt::ScintillatorSimData::ParticleIterator |
Definition at line 111 of file MEvent/ScintillatorSimData.h.
|
private |
Definition at line 101 of file MEvent/ScintillatorSimData.h.
|
private |
Definition at line 107 of file MEvent/ScintillatorSimData.h.
typedef PEPulseContainer::iterator mevt::ScintillatorSimData::PEPulseIterator |
Definition at line 116 of file MEvent/ScintillatorSimData.h.
|
private |
Definition at line 108 of file MEvent/ScintillatorSimData.h.
typedef PhotonTimeContainer::iterator mevt::ScintillatorSimData::PhotonTimeIterator |
Definition at line 119 of file MEvent/ScintillatorSimData.h.
|
private |
Definition at line 106 of file MEvent/ScintillatorSimData.h.
typedef SPEPulseContainer::iterator mevt::ScintillatorSimData::SPEPulseIterator |
Definition at line 113 of file MEvent/ScintillatorSimData.h.
|
privatedefault |
|
privatedefault |
|
inline |
Definition at line 164 of file MEvent/ScintillatorSimData.h.
References fEnergyDeposit.
Referenced by G4StationSimulatorOG::G4UMDScintStripAction::ProcessHits().
|
inline |
Definition at line 166 of file MEvent/ScintillatorSimData.h.
References fEnergyDepositMuons.
Referenced by G4StationSimulatorOG::G4UMDScintStripAction::ProcessHits().
void mevt::ScintillatorSimData::AddParticle | ( | const utl::Particle & | particle | ) |
Definition at line 9 of file MEvent/ScintillatorSimData.cc.
References fNParticles, and fParticles.
Referenced by G4StationSimulatorOG::G4StationSimulator::AddInjectedParticle(), io::ScintillatorSimData_ROOT::operator>>(), UnderGrdInjectorAG::UnderGrdInjector::Run(), and EdepSimulatorAG::EdepSimulator::Run().
void mevt::ScintillatorSimData::AddPEPulse | ( | const double | t0, |
const double | a1, | ||
const double | a2, | ||
const double | a3, | ||
const double | timeRise, | ||
const double | timeFall1, | ||
const double | timeFall2, | ||
const double | timeFall3, | ||
const int | destPixelId | ||
) |
Definition at line 67 of file MEvent/ScintillatorSimData.cc.
References fPEPulses.
Referenced by io::ScintillatorSimData_ROOT::operator>>(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
void mevt::ScintillatorSimData::AddPhotonTime | ( | const double | t0 | ) |
Definition at line 79 of file MEvent/ScintillatorSimData.cc.
References fPhotonTimes.
Referenced by G4StationSimulatorOG::G4StationSimulator::AddUMDPhoton(), and io::ScintillatorSimData_ROOT::operator>>().
void mevt::ScintillatorSimData::AddSPEPulse | ( | const double | mu, |
const double | sigma, | ||
const double | amplitude, | ||
const int | destPixelId | ||
) |
Definition at line 58 of file MEvent/ScintillatorSimData.cc.
References fSPEPulses.
Referenced by io::ScintillatorSimData_ROOT::operator>>(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
void mevt::ScintillatorSimData::ClearParticleList | ( | ) |
Definition at line 17 of file MEvent/ScintillatorSimData.cc.
References fNParticles, and fParticles.
Referenced by EdepSimulatorAG::EdepSimulator::Run().
utl::TraceD & mevt::ScintillatorSimData::GetAnalogicTrace | ( | ) |
Return the trace of current pulse signal prior to the electronic amplification stage.
This would be the one obtaining by sampling with an oscilloscope the corresponding input pin of the amplification stage. Having said that, this trace includes the effect of fiber, scintillator, PMT/SiPM, in particular cross-talk included.
XXX At first one can think that this goes more to a "ChannelSimData" class (which by now doesn't even exist). On the other hand, the measured signal at the end of the analogic stage is the result of the combination of all the devices: scint, fiber, etc. In addition to that, it seems to simplify (besides no need of new classes) to have particles and these signals in a single common class, because it seems that in the usual case both would be searched for and then combined accordingly. Also, since these signals are analogic (prior sampling) it may be confusing that they go to the channel, which outputs the digital sampling.
Definition at line 25 of file MEvent/ScintillatorSimData.cc.
References fAnalogicTrace.
Referenced by MdCounterSimulatorAG::MdCounterSimulator::ApplyCITIROCTransfer(), MdCounterSimulatorAG::MdCounterSimulator::GetPulseTimeSpan(), io::ScintillatorSimData_ROOT::operator>>(), and MdCounterSimulatorAG::MdCounterSimulator::ProcessPulses().
const utl::TraceD & mevt::ScintillatorSimData::GetAnalogicTrace | ( | ) | const |
Definition at line 32 of file MEvent/ScintillatorSimData.cc.
References fAnalogicTrace.
|
inline |
Definition at line 184 of file MEvent/ScintillatorSimData.h.
References fEnergyDeposit.
|
inline |
Definition at line 186 of file MEvent/ScintillatorSimData.h.
References fEnergyDepositMuons.
|
inline |
Definition at line 180 of file MEvent/ScintillatorSimData.h.
References fNumberOfCornerClippingMuons.
|
inline |
Definition at line 182 of file MEvent/ScintillatorSimData.h.
References fNumberOfElectrons.
|
inline |
Definition at line 178 of file MEvent/ScintillatorSimData.h.
References fNumberOfInjectedMuons.
|
inline |
Definition at line 190 of file MEvent/ScintillatorSimData.h.
References fNParticles.
Referenced by EdepSimulatorAG::EdepSimulator::Run().
|
inline |
Definition at line 146 of file MEvent/ScintillatorSimData.h.
References fPEPulses.
|
inline |
Definition at line 156 of file MEvent/ScintillatorSimData.h.
References fPhotonTimes.
|
inline |
Definition at line 136 of file MEvent/ScintillatorSimData.h.
References fSPEPulses.
double mevt::ScintillatorSimData::GetPhotonTime | ( | const PhotonTime & | photon | ) | const |
Definition at line 87 of file MEvent/ScintillatorSimData.cc.
References mevt::ScintillatorSimData::PhotonTime::fTime.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), and MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated().
bool mevt::ScintillatorSimData::HasAnalogicTrace | ( | ) | const |
Definition at line 50 of file MEvent/ScintillatorSimData.cc.
References fAnalogicTrace.
Referenced by MdCounterSimulatorAG::MdCounterSimulator::ApplyCITIROCTransfer(), MdCounterSimulatorAG::MdCounterSimulator::GetPulseTimeSpan(), io::ScintillatorSimData_ROOT::operator>>(), G4StationSimulatorOG::G4UMDScintStripAction::ProcessHits(), MdCounterSimulatorAG::MdCounterSimulator::ProcessPulses(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
|
inline |
Definition at line 160 of file MEvent/ScintillatorSimData.h.
References fNumberOfCornerClippingMuons.
Referenced by G4StationSimulatorOG::G4StationSimulator::AddInjectedParticle().
|
inline |
Definition at line 162 of file MEvent/ScintillatorSimData.h.
References fNumberOfElectrons.
Referenced by G4StationSimulatorOG::G4StationSimulator::AddInjectedParticle().
|
inline |
Definition at line 158 of file MEvent/ScintillatorSimData.h.
References fNumberOfInjectedMuons.
Referenced by G4StationSimulatorOG::G4StationSimulator::AddInjectedParticle(), and UnderGrdInjectorAG::UnderGrdInjector::Run().
void mevt::ScintillatorSimData::MakeAnalogicTrace | ( | ) |
Definition at line 40 of file MEvent/ScintillatorSimData.cc.
References ERROR, and fAnalogicTrace.
Referenced by io::ScintillatorSimData_ROOT::operator>>(), and G4StationSimulatorOG::G4UMDScintStripAction::ProcessHits().
|
inline |
Definition at line 122 of file MEvent/ScintillatorSimData.h.
References fParticles.
Referenced by EdepSimulatorAG::EdepSimulator::Run(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
|
inline |
Definition at line 123 of file MEvent/ScintillatorSimData.h.
References fParticles.
|
inline |
Definition at line 124 of file MEvent/ScintillatorSimData.h.
References fParticles.
Referenced by EdepSimulatorAG::EdepSimulator::Run(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
|
inline |
Definition at line 125 of file MEvent/ScintillatorSimData.h.
References fParticles.
|
inline |
Definition at line 138 of file MEvent/ScintillatorSimData.h.
References fPEPulses.
|
inline |
Definition at line 139 of file MEvent/ScintillatorSimData.h.
References fPEPulses.
|
inline |
Definition at line 140 of file MEvent/ScintillatorSimData.h.
References fPEPulses.
|
inline |
Definition at line 141 of file MEvent/ScintillatorSimData.h.
References fPEPulses.
|
inline |
Definition at line 148 of file MEvent/ScintillatorSimData.h.
References fPhotonTimes.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), and MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated().
|
inline |
Definition at line 149 of file MEvent/ScintillatorSimData.h.
References fPhotonTimes.
|
inline |
Definition at line 150 of file MEvent/ScintillatorSimData.h.
References fPhotonTimes.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), and MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated().
|
inline |
Definition at line 151 of file MEvent/ScintillatorSimData.h.
References fPhotonTimes.
|
inline |
Definition at line 174 of file MEvent/ScintillatorSimData.h.
References fEnergyDeposit.
Referenced by io::ScintillatorSimData_ROOT::operator>>().
|
inline |
Definition at line 176 of file MEvent/ScintillatorSimData.h.
References fEnergyDepositMuons.
Referenced by io::ScintillatorSimData_ROOT::operator>>().
|
inline |
Definition at line 170 of file MEvent/ScintillatorSimData.h.
References fNumberOfCornerClippingMuons.
Referenced by io::ScintillatorSimData_ROOT::operator>>().
|
inline |
Definition at line 172 of file MEvent/ScintillatorSimData.h.
References electrons, and fNumberOfElectrons.
Referenced by io::ScintillatorSimData_ROOT::operator>>().
|
inline |
Definition at line 168 of file MEvent/ScintillatorSimData.h.
References fNumberOfInjectedMuons.
Referenced by io::ScintillatorSimData_ROOT::operator>>().
|
inline |
Definition at line 129 of file MEvent/ScintillatorSimData.h.
References fSPEPulses.
|
inline |
Definition at line 130 of file MEvent/ScintillatorSimData.h.
References fSPEPulses.
|
inline |
Definition at line 131 of file MEvent/ScintillatorSimData.h.
References fSPEPulses.
|
inline |
Definition at line 132 of file MEvent/ScintillatorSimData.h.
References fSPEPulses.
|
friend |
Friendship to allow construction.
Definition at line 256 of file MEvent/ScintillatorSimData.h.
|
friend |
Frienship to allow destruction.
Depends on the innards of mevt::Scintillator.
Definition at line 262 of file MEvent/ScintillatorSimData.h.
|
private |
Definition at line 239 of file MEvent/ScintillatorSimData.h.
Referenced by GetAnalogicTrace(), HasAnalogicTrace(), and MakeAnalogicTrace().
|
private |
Definition at line 235 of file MEvent/ScintillatorSimData.h.
Referenced by AddEnergyDeposit(), GetEnergyDeposit(), and SetEnergyDeposit().
|
private |
Definition at line 236 of file MEvent/ScintillatorSimData.h.
Referenced by AddEnergyDepositMuons(), GetEnergyDepositMuons(), and SetEnergyDepositMuons().
|
private |
Definition at line 231 of file MEvent/ScintillatorSimData.h.
Referenced by AddParticle(), ClearParticleList(), and GetNumberOfParticles().
|
private |
Definition at line 233 of file MEvent/ScintillatorSimData.h.
Referenced by GetNumberOfCornerClippingMuons(), IncrementNumberOfCornerClippingMuons(), and SetNumberOfCornerClippingMuons().
|
private |
Definition at line 234 of file MEvent/ScintillatorSimData.h.
Referenced by GetNumberOfElectrons(), IncrementNumberOfElectrons(), and SetNumberOfElectrons().
|
private |
Definition at line 232 of file MEvent/ScintillatorSimData.h.
Referenced by GetNumberOfInjectedMuons(), IncrementNumberOfInjectedMuons(), and SetNumberOfInjectedMuons().
|
private |
Definition at line 237 of file MEvent/ScintillatorSimData.h.
Referenced by AddParticle(), ClearParticleList(), ParticlesBegin(), and ParticlesEnd().
|
private |
Definition at line 245 of file MEvent/ScintillatorSimData.h.
Referenced by AddPEPulse(), GetNumberOfPEPulses(), PEPulsesBegin(), and PEPulsesEnd().
|
private |
Definition at line 247 of file MEvent/ScintillatorSimData.h.
Referenced by AddPhotonTime(), GetNumberOfPhotonTimes(), PhotonTimesBegin(), and PhotonTimesEnd().
|
private |
Definition at line 243 of file MEvent/ScintillatorSimData.h.
Referenced by AddSPEPulse(), GetNumberOfSPEPulses(), SPEPulsesBegin(), and SPEPulsesEnd().