1 #ifndef SimG4CMS_ZdcShowerLibrary_h 2 #define SimG4CMS_ZdcShowerLibrary_h 1 13 #include "G4ParticleTable.hh" 14 #include "G4ThreeVector.hh" 39 void initRun(G4ParticleTable* theParticleTable);
40 std::vector<Hit>&
getHits(
const G4Step* aStep,
bool&
ok);
42 const G4ThreeVector& momDir,
57 std::vector<ZdcShowerLibrary::Hit>
hits;
~ZdcShowerLibrary()=default
ALPAKA_FN_ACC int side(int ieta, int iphi)
ZdcShowerLibrary(const std::string &name, edm::ParameterSet const &p)
int getEnergyFromLibrary(const G4ThreeVector &posHit, const G4ThreeVector &momDir, double energy, G4int parCode, HcalZDCDetId::Section section, bool side, int channel)
std::vector< ZdcShowerLibrary::Hit > hits
int photonFluctuation(double eav, double esig, double edis)
std::vector< Hit > & getHits(const G4Step *aStep, bool &ok)
int encodePartID(G4int parCode)
void initRun(G4ParticleTable *theParticleTable)