1 #ifndef SimG4CMS_ZdcShowerLibrary_h
2 #define SimG4CMS_ZdcShowerLibrary_h 1
13 #include "G4ParticleTable.hh"
14 #include "G4ThreeVector.hh"
45 void initRun(G4ParticleTable * theParticleTable);
46 std::vector<Hit>&
getHits(G4Step * aStep,
bool &
ok);
62 std::vector<ZdcShowerLibrary::Hit>
hits;
std::vector< Hit > & getHits(G4Step *aStep, bool &ok)
type of data representation of DDCompactView
std::vector< ZdcShowerLibrary::Hit > hits
ZdcShowerLibrary(std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
int photonFluctuation(double eav, double esig, double edis)
int getEnergyFromLibrary(G4ThreeVector posHit, G4ThreeVector momDir, double energy, G4int parCode, HcalZDCDetId::Section section, bool side, int channel)
int encodePartID(G4int parCode)
void initRun(G4ParticleTable *theParticleTable)