1 #ifndef HcalTestBeam_HcalTB04Analysis_H 2 #define HcalTestBeam_HcalTB04Analysis_H 37 #include "G4ThreeVector.hh" 39 #include <boost/cstdint.hpp> 48 class HepRandomEngine;
53 public Observer<const BeginOfEvent *>,
79 void qieAnalysis(CLHEP::HepRandomEngine*);
80 void xtalAnalysis(CLHEP::HepRandomEngine*);
85 int unitID(uint32_t
id);
86 double scale(
int det,
int layer);
99 double scaleHB0, scaleHB16,
scaleHO, scaleHE0;
114 std::vector<double>
esimh, eqie, esime, enois;
115 std::vector<double> eseta, eqeta,
esphi, eqphi, eslay, eqlay;
116 double etots, eecals, ehcals, etotq, eecalq, ehcalq;
120 G4ThreeVector pvPosition, pvMomentum,
pvUVW;
std::vector< double > secEkin
def fillEvent(tree, event)
std::vector< CaloHit > hcalHitLayer
std::vector< int > shortLivedSecondaries
std::vector< int > secTrackID
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
G4RotationMatrix * beamline_RM
std::vector< double > esphi
std::vector< int > idXtal
std::vector< CaloHit > ecalHitCache
std::vector< G4ThreeVector > secMomentum
std::vector< uint32_t > idTower
std::vector< std::string > names
double timeOfFlight(DetId id, const CaloGeometry *geo, bool debug=false)
std::vector< double > esimh