#include <ZdcShowerLibrary.h>
Classes | |
struct | Hit |
Public Member Functions | |
int | getEnergyFromLibrary (const G4ThreeVector &posHit, const G4ThreeVector &momDir, double energy, G4int parCode, HcalZDCDetId::Section section, bool side, int channel) |
std::vector< Hit > & | getHits (const G4Step *aStep, bool &ok) |
int | photonFluctuation (double eav, double esig, double edis) |
ZdcShowerLibrary (const std::string &name, edm::ParameterSet const &p) | |
~ZdcShowerLibrary () | |
Private Attributes | |
std::vector< ZdcShowerLibrary::Hit > | hits |
int | npe |
bool | verbose |
Definition at line 21 of file ZdcShowerLibrary.h.
ZdcShowerLibrary::ZdcShowerLibrary | ( | const std::string & | name, |
edm::ParameterSet const & | p | ||
) |
Definition at line 20 of file ZdcShowerLibrary.cc.
References edm::ParameterSet::getUntrackedParameter(), hits, npe, AlCaHLTBitMon_ParallelJobs::p, and verbose.
ZdcShowerLibrary::~ZdcShowerLibrary | ( | ) |
Definition at line 28 of file ZdcShowerLibrary.cc.
int ZdcShowerLibrary::getEnergyFromLibrary | ( | const G4ThreeVector & | posHit, |
const G4ThreeVector & | momDir, | ||
double | energy, | ||
G4int | parCode, | ||
HcalZDCDetId::Section | section, | ||
bool | side, | ||
int | channel | ||
) |
Definition at line 131 of file ZdcShowerLibrary.cc.
References hcalRecHitTable_cff::energy, fact, createfilelist::int, G4TrackToParticleID::isGammaElectronPositron(), HMesonGammaMonitor_cff::nphotons, photonFluctuation(), conifer::pow(), hgcalPlots::section, theXChannelBoundaries, and ecalPiZeroTask_cfi::X0.
Referenced by getHits().
std::vector< ZdcShowerLibrary::Hit > & ZdcShowerLibrary::getHits | ( | const G4Step * | aStep, |
bool & | ok | ||
) |
Definition at line 30 of file ZdcShowerLibrary.cc.
References funct::abs(), ZdcShowerLibrary::Hit::DeEM, ZdcShowerLibrary::Hit::DeHad, hcalRecHitTable_cff::depth, ZdcShowerLibrary::Hit::depth, ZdcShowerLibrary::Hit::detID, HcalZDCDetId::EM, hcalRecHitTable_cff::energy, ZdcShowerLibrary::Hit::entryLocal, getEnergyFromLibrary(), HcalZDCDetId::HAD, hits, mps_fire::i, G4TrackToParticleID::isGammaElectronPositron(), G4TrackToParticleID::isStableHadronIon(), npe, convertSQLiteXML::ok, ZdcShowerLibrary::Hit::position, hgcalPlots::section, theXChannelBoundaries, theZHadChannelBoundaries, theZSectionBoundaries, ZdcShowerLibrary::Hit::time, HLT_2023v12_cff::track, funct::true, ecalPiZeroTask_cfi::X0, geometryCSVtoXML::xx, Y0, geometryCSVtoXML::yy, Z0, and geometryCSVtoXML::zz.
int ZdcShowerLibrary::photonFluctuation | ( | double | eav, |
double | esig, | ||
double | edis | ||
) |
Definition at line 234 of file ZdcShowerLibrary.cc.
References createfilelist::int.
Referenced by getEnergyFromLibrary().
|
private |
Definition at line 53 of file ZdcShowerLibrary.h.
Referenced by getHits(), and ZdcShowerLibrary().
|
private |
Definition at line 52 of file ZdcShowerLibrary.h.
Referenced by getHits(), and ZdcShowerLibrary().
|
private |
Definition at line 50 of file ZdcShowerLibrary.h.
Referenced by ZdcShowerLibrary().