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.6 by mnguyen, Thu May 3 20:33:26 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  
88    TTree *t;
89    edm::Service<TFileService> fs1;
# Line 97 | Line 103 | class HiInclusiveJetAnalyzer : public ed
103  
104  
105  
106 <  static const int MAXJETS = 50000;
107 <  static const int MAXHLTBITS = 500000;
108 <
106 >  static const int MAXJETS = 500;
107 >  static const int MAXTRACKS = 5000;
108 >  static const int MAXHLTBITS = 5000;
109 >  static const int MAXBFRAG = 500;
110  
111    struct JRA{
112      
# Line 128 | Line 135 | class HiInclusiveJetAnalyzer : public ed
135      float discr_tcHighEff[MAXJETS];    
136      float discr_tcHighPur[MAXJETS];
137  
138 <    unsigned nsvtx[MAXJETS];    
139 <    unsigned svtxntrk[MAXJETS];
138 >    int nsvtx[MAXJETS];    
139 >    int svtxntrk[MAXJETS];
140      float svtxdl[MAXJETS];  
141      float svtxdls[MAXJETS];  
142      float svtxm[MAXJETS];    
143      float svtxpt[MAXJETS];  
144  
145 <    unsigned nIPtracks[MAXJETS];
146 <    unsigned nselIPtracks[MAXJETS];
145 >    int nIPtrk[MAXJETS];
146 >    int nselIPtrk[MAXJETS];
147 >    
148 >    int nIP;
149 >    int ipJetIndex[MAXTRACKS];
150 >    float ipPt[MAXTRACKS];
151 >    float ipProb0[MAXTRACKS];
152 >    float ipProb1[MAXTRACKS];
153 >    float ip2d[MAXTRACKS];
154 >    float ip2dSig[MAXTRACKS];
155 >    float ip3d[MAXTRACKS];
156 >    float ip3dSig[MAXTRACKS];
157 >    float ipDist2Jet[MAXTRACKS];
158 >    float ipDist2JetSig[MAXTRACKS];
159 >    float ipClosest2Jet[MAXTRACKS];
160  
161      float mue[MAXJETS];    
162      float mupt[MAXJETS];    
# Line 157 | Line 177 | class HiInclusiveJetAnalyzer : public ed
177      int refparton_flavorForB[MAXJETS];
178  
179      float pthat;
180 +    int beamId1, beamId2;
181      int ngen;
182      int genmatchindex[MAXJETS];
183      float genpt[MAXJETS];
# Line 176 | Line 197 | class HiInclusiveJetAnalyzer : public ed
197      int nL1ABit;
198      bool l1ABit[MAXHLTBITS];
199  
200 +    int bMult;
201 +    int bJetIndex[MAXBFRAG];
202 +    int bStatus[MAXBFRAG];
203 +    int bPdg[MAXBFRAG];
204 +    int bChg[MAXBFRAG];
205 +    float bVx[MAXBFRAG];
206 +    float bVy[MAXBFRAG];
207 +    float bVz[MAXBFRAG];
208 +    float bPt[MAXBFRAG];
209 +    float bEta[MAXBFRAG];
210 +    float bPhi[MAXBFRAG];
211 +
212  
213    };
214  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines