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);
47 int getEnergyFromLibrary(
const G4ThreeVector& posHit,
const G4ThreeVector& momDir,
double energy,
62 std::vector<ZdcShowerLibrary::Hit>
hits;
std::vector< Hit > & getHits(G4Step *aStep, bool &ok)
type of data representation of DDCompactView
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)
ZdcShowerLibrary(const std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
int encodePartID(G4int parCode)
void initRun(G4ParticleTable *theParticleTable)