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.10 by ylai, Fri May 11 14:39:31 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 76 | Line 80 | class HiInclusiveJetAnalyzer : public ed
80    bool useJEC_;
81    bool usePat_;
82    bool isMC_;
83 +  bool doTrigger_;
84  
85 +  bool doSubEvent_;
86 +  double genPtMin_;
87    bool doLifeTimeTagging_;
88 +  bool doLifeTimeTaggingExtras_;
89 +  bool saveBfragments_;
90  
91    TTree *t;
92    edm::Service<TFileService> fs1;
# Line 97 | Line 106 | class HiInclusiveJetAnalyzer : public ed
106  
107  
108  
109 <  static const int MAXJETS = 50000;
110 <  static const int MAXHLTBITS = 500000;
111 <
109 >  static const int MAXJETS = 500;
110 >  static const int MAXTRACKS = 5000;
111 >  static const int MAXHLTBITS = 5000;
112 >  static const int MAXBFRAG = 500;
113  
114    struct JRA{
115      
# Line 128 | Line 138 | class HiInclusiveJetAnalyzer : public ed
138      float discr_tcHighEff[MAXJETS];    
139      float discr_tcHighPur[MAXJETS];
140  
141 <    unsigned nsvtx[MAXJETS];    
142 <    unsigned svtxntrk[MAXJETS];
141 >    int nsvtx[MAXJETS];    
142 >    int svtxntrk[MAXJETS];
143      float svtxdl[MAXJETS];  
144      float svtxdls[MAXJETS];  
145      float svtxm[MAXJETS];    
146      float svtxpt[MAXJETS];  
147  
148 <    unsigned nIPtracks[MAXJETS];
149 <    unsigned nselIPtracks[MAXJETS];
148 >    int nIPtrk[MAXJETS];
149 >    int nselIPtrk[MAXJETS];
150 >    
151 >    int nIP;
152 >    int ipJetIndex[MAXTRACKS];
153 >    float ipPt[MAXTRACKS];
154 >    float ipProb0[MAXTRACKS];
155 >    float ipProb1[MAXTRACKS];
156 >    float ip2d[MAXTRACKS];
157 >    float ip2dSig[MAXTRACKS];
158 >    float ip3d[MAXTRACKS];
159 >    float ip3dSig[MAXTRACKS];
160 >    float ipDist2Jet[MAXTRACKS];
161 >    float ipDist2JetSig[MAXTRACKS];
162 >    float ipClosest2Jet[MAXTRACKS];
163  
164      float mue[MAXJETS];    
165      float mupt[MAXJETS];    
# Line 146 | Line 169 | class HiInclusiveJetAnalyzer : public ed
169      float muptrel[MAXJETS];
170      int muchg[MAXJETS];  
171      
172 +    float discr_fr01[MAXJETS];
173 +
174      float refpt[MAXJETS];
175      float refeta[MAXJETS];
176      float refphi[MAXJETS];
# Line 157 | Line 182 | class HiInclusiveJetAnalyzer : public ed
182      int refparton_flavorForB[MAXJETS];
183  
184      float pthat;
185 +    int beamId1, beamId2;
186      int ngen;
187      int genmatchindex[MAXJETS];
188      float genpt[MAXJETS];
# Line 165 | Line 191 | class HiInclusiveJetAnalyzer : public ed
191      float geny[MAXJETS];
192      float gendphijt[MAXJETS];
193      float gendrjt[MAXJETS];
194 +    int gensubid[MAXJETS];
195  
196      // hlt
197      int nHLTBit;
# Line 176 | Line 203 | class HiInclusiveJetAnalyzer : public ed
203      int nL1ABit;
204      bool l1ABit[MAXHLTBITS];
205  
206 +    int bMult;
207 +    int bJetIndex[MAXBFRAG];
208 +    int bStatus[MAXBFRAG];
209 +    int bPdg[MAXBFRAG];
210 +    int bChg[MAXBFRAG];
211 +    float bVx[MAXBFRAG];
212 +    float bVy[MAXBFRAG];
213 +    float bVz[MAXBFRAG];
214 +    float bPt[MAXBFRAG];
215 +    float bEta[MAXBFRAG];
216 +    float bPhi[MAXBFRAG];
217 +
218  
219    };
220  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines