ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/EJetMet_CU/ProdTutorial/CUcollections/interface/CUjet.h
Revision: 1.1
Committed: Fri Nov 6 13:00:34 2009 UTC (15 years, 5 months ago) by puigh
Content type: text/plain
Branch: MAIN
CVS Tags: V01-01, V01-00
Log Message:
first commit

File Contents

# User Rev Content
1 puigh 1.1 #ifndef ProdTutorial_CUjet_h
2     #define ProdTutorial_CUjet_h
3    
4     #include <vector>
5    
6    
7     // a simple class
8     struct CUjet
9     {
10     explicit CUjet(double v, int c):energy(v),et(v),pt(v),px(v),py(v),pz(v),phi(v),eta(v),theta(v),Upt(v),L2pt(v),L2L3pt(v),EMfrac(v),Hadfrac(v),charge(v),mass(v),area(v),fHPD(v),genPartonET(v),genPartonPT(v),genPartonEta(v),genPartonPhi(v),genJetET(v),genJetPT(v),genJetEta(v),genJetPhi(v),btagTChighPur(v),btagTChighEff(v),btagJetProb(v),btagJetBProb(v),btagSoftEle(v),btagSoftMuon(v),btagSoftMuonNoIP(v),btagSecVertex(v),flavour(c),Nconst(c),N90hits(c),IDLoose(c),IDTight(c),genPartonId(c),genPartonMotherId(c),genPartonGrandMotherId(c) { }
11     CUjet():energy(-99),et(-99),pt(-99),px(-99),py(-99),pz(-99),phi(-99),eta(-99),theta(-99),Upt(-99),L2pt(-99),L2L3pt(-99),EMfrac(-99),Hadfrac(-99),charge(-99),mass(-99),area(-99),fHPD(-99),genPartonET(-99),genPartonPT(-99),genPartonEta(-99),genPartonPhi(-99),genJetET(-99),genJetPT(-99),genJetEta(-99),genJetPhi(-99),btagTChighPur(-99),btagTChighEff(-99),btagJetProb(-99),btagJetBProb(-99),btagSoftEle(-99),btagSoftMuon(-99),btagSoftMuonNoIP(-99),btagSecVertex(-99),flavour(-99),Nconst(-99),N90hits(-99),IDLoose(-99),IDTight(-99),genPartonId(-99),genPartonMotherId(-99),genPartonGrandMotherId(-99) { }
12     double energy,et,pt,px,py,pz,phi,eta,theta,Upt,L2pt,L2L3pt,EMfrac,Hadfrac,charge,mass,area,fHPD,genPartonET,genPartonPT,genPartonEta,genPartonPhi,genJetET,genJetPT,genJetEta,genJetPhi,btagTChighPur,btagTChighEff,btagJetProb,btagJetBProb,btagSoftEle,btagSoftMuon,btagSoftMuonNoIP,btagSecVertex;
13     int flavour,Nconst,N90hits,IDLoose,IDTight,genPartonId,genPartonMotherId,genPartonGrandMotherId;
14     };
15    
16     // this is our new product, it is simply a
17     // collection of CUjet held in an std::vector
18     typedef std::vector<CUjet> CUjetCollection;
19    
20     #endif