#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, const DDCompactView &cpv, edm::ParameterSet const &p) | |
~ZdcShowerLibrary () | |
Private Attributes | |
std::vector< ZdcShowerLibrary::Hit > | hits |
int | npe |
bool | verbose |
Definition at line 23 of file ZdcShowerLibrary.h.
ZdcShowerLibrary::ZdcShowerLibrary | ( | const std::string & | name, |
const DDCompactView & | cpv, | ||
edm::ParameterSet const & | p | ||
) |
Definition at line 20 of file ZdcShowerLibrary.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hits, and npe.
ZdcShowerLibrary::~ZdcShowerLibrary | ( | ) |
Definition at line 29 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 142 of file ZdcShowerLibrary.cc.
References fact, GeV, createfilelist::int, G4TrackToParticleID::isGammaElectronPositron(), LogDebug, photonFluctuation(), funct::pow(), theXChannelBoundaries, and X0.
Referenced by getHits().
std::vector< ZdcShowerLibrary::Hit > & ZdcShowerLibrary::getHits | ( | const G4Step * | aStep, |
bool & | ok | ||
) |
Definition at line 32 of file ZdcShowerLibrary.cc.
References funct::abs(), ZdcShowerLibrary::Hit::DeEM, ZdcShowerLibrary::Hit::DeHad, egammaForCoreTracking_cff::depth, ZdcShowerLibrary::Hit::depth, ZdcShowerLibrary::Hit::detID, HcalZDCDetId::EM, ZdcShowerLibrary::Hit::entryLocal, getEnergyFromLibrary(), HcalZDCDetId::HAD, hits, mps_fire::i, G4TrackToParticleID::isGammaElectronPositron(), G4TrackToParticleID::isStableHadronIon(), LogDebug, npe, ZdcShowerLibrary::Hit::position, trackingPlots::section, theXChannelBoundaries, theZHadChannelBoundaries, theZSectionBoundaries, ZdcShowerLibrary::Hit::time, HiIsolationCommonParameters_cff::track, X0, geometryCSVtoXML::xx, Y0, geometryCSVtoXML::yy, Z0, and geometryCSVtoXML::zz.
int ZdcShowerLibrary::photonFluctuation | ( | double | eav, |
double | esig, | ||
double | edis | ||
) |
Definition at line 240 of file ZdcShowerLibrary.cc.
References createfilelist::int.
Referenced by getEnergyFromLibrary().
|
private |
Definition at line 54 of file ZdcShowerLibrary.h.
Referenced by getHits(), and ZdcShowerLibrary().
|
private |
Definition at line 53 of file ZdcShowerLibrary.h.
Referenced by getHits(), and ZdcShowerLibrary().
|
private |
Definition at line 51 of file ZdcShowerLibrary.h.