ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JetAnalysis/interface/HiInclusiveJetAnalyzer.h
(Generate patch)

Comparing UserCode/CmsHi/JetAnalysis/interface/HiInclusiveJetAnalyzer.h (file contents):
Revision 1.3 by mnguyen, Tue Mar 6 15:03:23 2012 UTC vs.
Revision 1.7 by mnguyen, Thu May 3 21:09:56 2012 UTC

# Line 65 | Line 65 | class HiInclusiveJetAnalyzer : public ed
65  
66    double getPtRel(const reco::PFCandidate lep, const pat::Jet& jet );
67  
68 +  void saveDaughters( const reco::GenParticle & gen);
69 +  void saveDaughters( const reco::Candidate & gen);
70 +
71    edm::InputTag   jetTag_, vtxTag_, genjetTag_, eventInfoTag_, L1gtReadout_, pfCandidateLabel_;
72  
73 +  std::vector<float> usedStringPts;
74  
75    /// verbose ?
76    bool   verbose_;
# Line 77 | Line 81 | class HiInclusiveJetAnalyzer : public ed
81    bool usePat_;
82    bool isMC_;
83  
84 +  double genPtMin_;
85    bool doLifeTimeTagging_;
86 +  bool doLifeTimeTaggingExtras_;
87 +  bool saveBfragments_;
88  
89    TTree *t;
90    edm::Service<TFileService> fs1;
# Line 97 | Line 104 | class HiInclusiveJetAnalyzer : public ed
104  
105  
106  
107 <  static const int MAXJETS = 50000;
108 <  static const int MAXHLTBITS = 500000;
109 <
107 >  static const int MAXJETS = 500;
108 >  static const int MAXTRACKS = 5000;
109 >  static const int MAXHLTBITS = 5000;
110 >  static const int MAXBFRAG = 500;
111  
112    struct JRA{
113      
# Line 128 | Line 136 | class HiInclusiveJetAnalyzer : public ed
136      float discr_tcHighEff[MAXJETS];    
137      float discr_tcHighPur[MAXJETS];
138  
139 <    unsigned nsvtx[MAXJETS];    
140 <    unsigned svtxntrk[MAXJETS];
139 >    int nsvtx[MAXJETS];    
140 >    int svtxntrk[MAXJETS];
141      float svtxdl[MAXJETS];  
142      float svtxdls[MAXJETS];  
143      float svtxm[MAXJETS];    
144      float svtxpt[MAXJETS];  
145  
146 <    unsigned nIPtracks[MAXJETS];
147 <    unsigned nselIPtracks[MAXJETS];
146 >    int nIPtrk[MAXJETS];
147 >    int nselIPtrk[MAXJETS];
148 >    
149 >    int nIP;
150 >    int ipJetIndex[MAXTRACKS];
151 >    float ipPt[MAXTRACKS];
152 >    float ipProb0[MAXTRACKS];
153 >    float ipProb1[MAXTRACKS];
154 >    float ip2d[MAXTRACKS];
155 >    float ip2dSig[MAXTRACKS];
156 >    float ip3d[MAXTRACKS];
157 >    float ip3dSig[MAXTRACKS];
158 >    float ipDist2Jet[MAXTRACKS];
159 >    float ipDist2JetSig[MAXTRACKS];
160 >    float ipClosest2Jet[MAXTRACKS];
161  
162      float mue[MAXJETS];    
163      float mupt[MAXJETS];    
# Line 157 | Line 178 | class HiInclusiveJetAnalyzer : public ed
178      int refparton_flavorForB[MAXJETS];
179  
180      float pthat;
181 +    int beamId1, beamId2;
182      int ngen;
183      int genmatchindex[MAXJETS];
184      float genpt[MAXJETS];
# Line 176 | Line 198 | class HiInclusiveJetAnalyzer : public ed
198      int nL1ABit;
199      bool l1ABit[MAXHLTBITS];
200  
201 +    int bMult;
202 +    int bJetIndex[MAXBFRAG];
203 +    int bStatus[MAXBFRAG];
204 +    int bPdg[MAXBFRAG];
205 +    int bChg[MAXBFRAG];
206 +    float bVx[MAXBFRAG];
207 +    float bVy[MAXBFRAG];
208 +    float bVz[MAXBFRAG];
209 +    float bPt[MAXBFRAG];
210 +    float bEta[MAXBFRAG];
211 +    float bPhi[MAXBFRAG];
212 +
213  
214    };
215  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines