#include <ZdcShowerLibrary.h>
Classes | |
struct | Hit |
Public Member Functions | |
int | encodePartID (G4int parCode) |
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) |
void | initRun (G4ParticleTable *theParticleTable) |
int | photonFluctuation (double eav, double esig, double edis) |
ZdcShowerLibrary (const std::string &name, edm::ParameterSet const &p) | |
~ZdcShowerLibrary ()=default | |
Private Attributes | |
G4int | anuePDG |
G4int | anumuPDG |
G4int | anutauPDG |
G4int | emPDG |
G4int | epPDG |
G4int | etaPDG |
G4int | gammaPDG |
G4int | geantinoPDG |
std::vector< ZdcShowerLibrary::Hit > | hits |
int | npe |
G4int | nuePDG |
G4int | numuPDG |
G4int | nutauPDG |
G4int | pi0PDG |
bool | verbose |
Definition at line 22 of file ZdcShowerLibrary.h.
ZdcShowerLibrary::ZdcShowerLibrary | ( | const std::string & | name, |
edm::ParameterSet const & | p | ||
) |
Definition at line 19 of file ZdcShowerLibrary.cc.
References edm::ParameterSet::getUntrackedParameter(), hits, npe, AlCaHLTBitMon_ParallelJobs::p, and verbose.
|
default |
int ZdcShowerLibrary::encodePartID | ( | G4int | parCode | ) |
Definition at line 272 of file ZdcShowerLibrary.cc.
References emPDG, epPDG, and gammaPDG.
Referenced by getEnergyFromLibrary(), and getHits().
int ZdcShowerLibrary::getEnergyFromLibrary | ( | const G4ThreeVector & | posHit, |
const G4ThreeVector & | momDir, | ||
double | energy, | ||
G4int | parCode, | ||
HcalZDCDetId::Section | section, | ||
bool | side, | ||
int | channel | ||
) |
Definition at line 148 of file ZdcShowerLibrary.cc.
References encodePartID(), HBHEDarkening_cff::energy, fact, HMesonGammaMonitor_cff::nphotons, photonFluctuation(), funct::pow(), hgcalPlots::section, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), theXChannelBoundaries, and ecalPiZeroTask_cfi::X0.
Referenced by getHits().
std::vector< ZdcShowerLibrary::Hit > & ZdcShowerLibrary::getHits | ( | const G4Step * | aStep, |
bool & | ok | ||
) |
Definition at line 48 of file ZdcShowerLibrary.cc.
References ZdcShowerLibrary::Hit::DeEM, ZdcShowerLibrary::Hit::DeHad, hcalRecHitTable_cff::depth, ZdcShowerLibrary::Hit::depth, ZdcShowerLibrary::Hit::detID, HcalZDCDetId::EM, encodePartID(), HBHEDarkening_cff::energy, ZdcShowerLibrary::Hit::entryLocal, geantinoPDG, getEnergyFromLibrary(), HcalZDCDetId::HAD, hits, mps_fire::i, npe, convertSQLiteXML::ok, ZdcShowerLibrary::Hit::position, hgcalPlots::section, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), theXChannelBoundaries, theZHadChannelBoundaries, theZSectionBoundaries, ZdcShowerLibrary::Hit::time, HLT_2024v14_cff::track, funct::true, ecalPiZeroTask_cfi::X0, geometryCSVtoXML::xx, Y0, geometryCSVtoXML::yy, Z0, and geometryCSVtoXML::zz.
void ZdcShowerLibrary::initRun | ( | G4ParticleTable * | theParticleTable | ) |
int ZdcShowerLibrary::photonFluctuation | ( | double | eav, |
double | esig, | ||
double | edis | ||
) |
Definition at line 259 of file ZdcShowerLibrary.cc.
References createfilelist::int.
Referenced by getEnergyFromLibrary().
|
private |
Definition at line 55 of file ZdcShowerLibrary.h.
Referenced by initRun().
|
private |
Definition at line 55 of file ZdcShowerLibrary.h.
Referenced by initRun().
|
private |
Definition at line 55 of file ZdcShowerLibrary.h.
Referenced by initRun().
|
private |
Definition at line 53 of file ZdcShowerLibrary.h.
Referenced by encodePartID(), and initRun().
|
private |
Definition at line 53 of file ZdcShowerLibrary.h.
Referenced by encodePartID(), and initRun().
|
private |
Definition at line 54 of file ZdcShowerLibrary.h.
Referenced by initRun().
|
private |
Definition at line 53 of file ZdcShowerLibrary.h.
Referenced by encodePartID(), and initRun().
|
private |
Definition at line 55 of file ZdcShowerLibrary.h.
|
private |
Definition at line 57 of file ZdcShowerLibrary.h.
Referenced by getHits(), and ZdcShowerLibrary().
|
private |
Definition at line 56 of file ZdcShowerLibrary.h.
Referenced by getHits(), and ZdcShowerLibrary().
|
private |
Definition at line 54 of file ZdcShowerLibrary.h.
Referenced by initRun().
|
private |
Definition at line 54 of file ZdcShowerLibrary.h.
Referenced by initRun().
|
private |
Definition at line 54 of file ZdcShowerLibrary.h.
Referenced by initRun().
|
private |
Definition at line 54 of file ZdcShowerLibrary.h.
Referenced by initRun().
|
private |
Definition at line 52 of file ZdcShowerLibrary.h.
Referenced by ZdcShowerLibrary().