Changeset 323 in svn
- Timestamp:
- Mar 11, 2009, 12:55:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/ExRootAnalysis/interface/BlockClasses.h
r318 r323 209 209 public: 210 210 TRootGenParticle() {_initialised=false;} 211 TRootGenParticle(const int pid): PID(pid) {_initialised=false;} 211 212 TRootGenParticle(GenParticle* part); 212 213 … … 243 244 //------------------------------------------------------------------------------ 244 245 245 class TRootElectron: public TRootParticle 246 { 247 public: 248 TRootElectron() {};246 class TRootElectron: public TRootParticle { 247 public: 248 TRootElectron():Charge(-999), IsolFlag(false), IsolPt(UNDEFINED), EtaCalo(UNDEFINED), PhiCalo(UNDEFINED), EHoverEE(UNDEFINED){}; 249 static TCompare *fgCompare; //! 249 250 int Charge; // particle Charge [RawHepEventParticle::pid()] 250 static TCompare *fgCompare; //!251 251 bool IsolFlag; // stores the result of the isolation test 252 float IsolPt; // sum of pt around the electron, for isolation criteria 252 253 float EtaCalo; // particle pseudorapidity when entering the calo, 253 254 float PhiCalo; // particle azimuthal angle in rad when entering the calo 255 float EHoverEE; 256 254 257 void SetEtaPhiCalo(const float eta, const float phi) {EtaCalo=eta; PhiCalo=phi;}; 255 258 256 float EHoverEE;257 bool IsolFlag;258 259 259 ClassDef(TRootElectron, 1) 260 260 }; … … 262 262 //------------------------------------------------------------------------------ 263 263 264 class TRootPhoton: public TRootParticle 265 { 266 public: 267 TRootPhoton() {}; 264 class TRootPhoton: public TRootParticle { 265 public: 266 TRootPhoton() : EHoverEE(UNDEFINED) {}; 268 267 static TCompare *fgCompare; //! 269 268 … … 275 274 //------------------------------------------------------------------------------ 276 275 277 class TRootMuon: public TRootParticle 278 { 279 public: 280 TRootMuon() {}; 276 class TRootMuon: public TRootParticle { 277 public: 278 TRootMuon():Charge(-999), IsolFlag(false), IsolPt(UNDEFINED), EtaCalo(UNDEFINED), PhiCalo(UNDEFINED), 279 EHoverEE(UNDEFINED), EtRatio(UNDEFINED) {}; 280 static TCompare *fgCompare; //! 281 281 int Charge; // particle Charge [RawHepEventParticle::pid()] 282 282 bool IsolFlag; 283 float IsolPt; 283 284 float EtaCalo; // particle pseudorapidity when entering the calo, 284 285 float PhiCalo; // particle azimuthal angle in rad when entering the calo 286 float EHoverEE; // hadronic energy over electromagnetic energy 287 float EtRatio; // calo Et in NxN-tower grid around the muon over the muon Et 288 285 289 void SetEtaPhiCalo(const float eta, const float phi) {EtaCalo=eta; PhiCalo=phi;}; 286 287 float EHoverEE;288 static TCompare *fgCompare; //!289 290 290 ClassDef(TRootMuon, 1) 291 291 };
Note:
See TracChangeset
for help on using the changeset viewer.