#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 130 of file ZdcShowerLibrary.cc.
References HCALHighEnergyHPDFilter_cfi::energy, fact, GeV, createfilelist::int, G4TrackToParticleID::isGammaElectronPositron(), LogDebug, HMesonGammaMonitor_cff::nphotons, photonFluctuation(), funct::pow(), trackingPlots::section, theXChannelBoundaries, and MonitorAlCaEcalPi0_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, ZdcShowerLibrary::Hit::depth, LEDCalibrationChannels::depth, ZdcShowerLibrary::Hit::detID, HcalZDCDetId::EM, HCALHighEnergyHPDFilter_cfi::energy, ZdcShowerLibrary::Hit::entryLocal, getEnergyFromLibrary(), HcalZDCDetId::HAD, hits, mps_fire::i, G4TrackToParticleID::isGammaElectronPositron(), G4TrackToParticleID::isStableHadronIon(), LogDebug, npe, convertSQLiteXML::ok, ZdcShowerLibrary::Hit::position, trackingPlots::section, theXChannelBoundaries, theZHadChannelBoundaries, theZSectionBoundaries, ZdcShowerLibrary::Hit::time, HLT_2018_cff::track, funct::true, MonitorAlCaEcalPi0_cfi::X0, geometryCSVtoXML::xx, Y0, geometryCSVtoXML::yy, Z0, and geometryCSVtoXML::zz.
int ZdcShowerLibrary::photonFluctuation | ( | double | eav, |
double | esig, | ||
double | edis | ||
) |
Definition at line 236 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().