Changeset 73 in svn for trunk/interface/SmearUtil.h
- Timestamp:
- Dec 3, 2008, 5:22:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/SmearUtil.h
r72 r73 23 23 24 24 #include "Utilities/Fastjet/plugins/CDFCones/interface/PhysicsTower.hh" 25 26 #include <iostream> 27 #include <sstream> 28 #include <fstream> 29 #include <iomanip> 30 25 31 using namespace std; 32 33 class ParticleUtil { 34 35 public: 36 37 TLorentzVector TLVector; 38 int Pid; 39 40 ParticleUtil(const TLorentzVector &genMomentum,const int &pid) : TLVector(genMomentum) , Pid(pid) {} 41 42 float E() {return TLVector.E();} // particle energy in GeV 43 float Px() {return TLVector.Px();} // particle energy in GeV 44 float Py() {return TLVector.Py();} // particle energy in GeV 45 float Pz() {return TLVector.Pz();} // particle energy in GeV 46 float Pt() {return TLVector.Pt();} // particle energy in GeV 47 float Eta() {return TLVector.Eta();} // particle energy in GeV 48 float Phi() {return TLVector.Phi();} // particle energy in GeV 49 float PID() {return Pid;} // particle energy in GeV 50 51 private: 52 53 }; 54 26 55 27 56 class RESOLution
Note:
See TracChangeset
for help on using the changeset viewer.