Changeset 439 in svn for trunk/Utilities/ExRootAnalysis
- Timestamp:
- Jun 17, 2009, 11:08:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/ExRootAnalysis/src/BlockClasses.cc
r409 r439 124 124 125 125 126 TRootGenFwdParticle::TRootGenFwdParticle(const TRootGenFwdParticle& p): 126 TRootGenFwdParticle::TRootGenFwdParticle(const TRootGenFwdParticle& p): TSortableObject(), 127 127 genE(p.genE), genPx(p.genPx), genPy(p.genPy), genPz(p.genPz), genPT(p.genPT), genEta(p.genEta), genPhi(p.genPhi) {} 128 128 129 129 TRootGenFwdParticle& TRootGenFwdParticle::operator=(const TRootGenFwdParticle& p){ 130 if(this == &p) return *this; 130 131 genE=p.genE; genPx=p.genPx; genPy=p.genPy; genPz=p.genPz; 131 132 genPT=p.genPT; genEta=p.genEta; genPhi=p.genPhi; 133 return *this; 132 134 } 133 135 … … 188 190 Charge = UNDEFINED; 189 191 } 190 TRootTracks::TRootTracks(const TRootTracks& track) : 192 TRootTracks::TRootTracks(const TRootTracks& track) : TSortableObject(), 191 193 Eta(track.Eta), Phi(track.Phi), 192 194 EtaOuter(track.EtaOuter), PhiOuter(track.PhiOuter), … … 219 221 //Eta(UNDEFINED), Phi(UNDEFINED), E_em(UNDEFINED), E_had(UNDEFINED), E(UNDEFINED), ET(UNDEFINED) {} 220 222 221 TRootCalo::TRootCalo(const TRootCalo& cal) {223 TRootCalo::TRootCalo(const TRootCalo& cal) : TSortableObject() { 222 224 E_em=cal.E_em; E_had=cal.E_had; ET=cal.ET; 223 225 //Eta =cal.Eta; Phi=cal.Phi; E_em=cal.E_em; E_had=cal.E_had; E=cal.E; ET=cal.ET; … … 237 239 238 240 TRootZdcHits::TRootZdcHits(const float e, const float t, const int side, const bool had) : E(e), T(t), side(side), hadronic_hit(had) {} 239 TRootZdcHits::TRootZdcHits(const TRootZdcHits& zdc) : E(zdc.E), T(zdc.T), side(zdc.side), hadronic_hit(zdc.hadronic_hit) {} 241 242 TRootZdcHits::TRootZdcHits(const TRootZdcHits& zdc) : TRootGenFwdParticle(zdc), E(zdc.E), T(zdc.T), side(zdc.side), hadronic_hit(zdc.hadronic_hit) {} 243 240 244 TRootZdcHits& TRootZdcHits::operator=(const TRootZdcHits& zdc) { 241 245 if(this==&zdc) return *this; 242 246 E = zdc.E; T = zdc.T; side = zdc.side; hadronic_hit = zdc.hadronic_hit; 243 247 return *this;
Note:
See TracChangeset
for help on using the changeset viewer.