ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/EJetMet_CU/ProdTutorial/CUcollections/interface/CUmuon.h
Revision: 1.2
Committed: Mon Dec 14 17:03:09 2009 UTC (15 years, 4 months ago) by puigh
Content type: text/plain
Branch: MAIN
CVS Tags: V01-04, V01-03
Changes since 1.1: +3 -3 lines
Log Message:
updated muon variables

File Contents

# User Rev Content
1 puigh 1.1 #ifndef ProdTutorial_CUmuon_h
2     #define ProdTutorial_CUmuon_h
3    
4     #include <vector>
5    
6    
7     // a simple class
8     struct CUmuon
9     {
10 puigh 1.2 explicit CUmuon(double v, int c):energy(v),et(v),pt(v),px(v),py(v),pz(v),phi(v),eta(v),theta(v),trackIso(v),ecalIso(v),hcalIso(v),caloIso(v),d0(v),d0bs(v),hcalE(v),ecalE(v),genET(v),genPT(v),genPhi(v),genEta(v),genMotherET(v),genMotherPT(v),genMotherPhi(v),genMotherEta(v),vx(v),vy(v),vz(v),tkNormChi2(v),tkPT(v),tkEta(v),tkPhi(v),tkDZ(v),tkD0(v),tkD0bs(v),tkD0err(v),samNormChi2(v),samPT(v),samEta(v),samPhi(v),samDZ(v),samD0(v),samD0bs(v),samD0err(v),comNormChi2(v),comPT(v),comEta(v),comPhi(v),comDZ(v),comD0(v),comD0bs(v),comD0err(v),isolationR03emVetoEt(v),isolationR03hadVetoEt(v),charge(c),IDGMPTight(c),tkNumValidHits(c),tkCharge(c),samNumValidHits(c),samCharge(c),comNumValidHits(c),comCharge(c),genId(c),genCharge(c),genMotherId(c),genMotherCharge(c) { }
11     CUmuon():energy(-99),et(-99),pt(-99),px(-99),py(-99),pz(-99),phi(-99),eta(-99),theta(-99),trackIso(-99),ecalIso(-99),hcalIso(-99),caloIso(-99),d0(-99),d0bs(-99),hcalE(-99),ecalE(-99),genET(-99),genPT(-99),genPhi(-99),genEta(-99),genMotherET(-99),genMotherPT(-99),genMotherPhi(-99),genMotherEta(-99),vx(-99),vy(-99),vz(-99),tkNormChi2(-99),tkPT(-99),tkEta(-99),tkPhi(-99),tkDZ(-99),tkD0(-99),tkD0bs(-99),tkD0err(-99),samNormChi2(-99),samPT(-99),samEta(-99),samPhi(-99),samDZ(-99),samD0(-99),samD0bs(-99),samD0err(-99),comNormChi2(-99),comPT(-99),comEta(-99),comPhi(-99),comDZ(-99),comD0(-99),comD0bs(-99),comD0err(-99),isolationR03emVetoEt(-99),isolationR03hadVetoEt(-99),charge(-99),IDGMPTight(-99),tkNumValidHits(-99),tkCharge(-99),samNumValidHits(-99),samCharge(-99),comNumValidHits(-99),comCharge(-99),genId(-99),genCharge(-99),genMotherId(-99),genMotherCharge(-99) { }
12     double energy,et,pt,px,py,pz,phi,eta,theta,trackIso,ecalIso,hcalIso,caloIso,d0,d0bs,hcalE,ecalE,genET,genPT,genPhi,genEta,genMotherET,genMotherPT,genMotherPhi,genMotherEta,vx,vy,vz,tkNormChi2,tkPT,tkEta,tkPhi,tkDZ,tkD0,tkD0bs,tkD0err,samNormChi2,samPT,samEta,samPhi,samDZ,samD0,samD0bs,samD0err,comNormChi2,comPT,comEta,comPhi,comDZ,comD0,comD0bs,comD0err,isolationR03emVetoEt,isolationR03hadVetoEt;
13 puigh 1.1 int charge,IDGMPTight,tkNumValidHits,tkCharge,samNumValidHits,samCharge,comNumValidHits,comCharge,genId,genCharge,genMotherId,genMotherCharge;
14     };
15    
16     // this is our new product, it is simply a
17     // collection of CUmuon held in an std::vector
18     typedef std::vector<CUmuon> CUmuonCollection;
19    
20     #endif