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.2 by yilmaz, Tue Sep 20 20:06:06 2011 UTC vs.
Revision 1.5 by mnguyen, Sat Apr 28 12:18:43 2012 UTC

# Line 10 | Line 10
10   #include "FWCore/Framework/interface/Frameworkfwd.h"
11   #include "FWCore/Framework/interface/EDAnalyzer.h"
12   #include "FWCore/ParameterSet/interface/ParameterSet.h"
13
13   #include "FWCore/Framework/interface/Event.h"
14   #include "FWCore/Framework/interface/MakerMacros.h"
15  
17
18
16   #include "TFile.h"
17   #include "TTree.h"
18   #include "TH1.h"
# Line 24 | Line 21
21  
22   #include "DataFormats/HeavyIonEvent/interface/CentralityProvider.h"
23  
24 + #include "DataFormats/PatCandidates/interface/Jet.h"
25 + #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
26   //
27  
28   /**\class HiInclusiveJetAnalyzer
# Line 62 | Line 61 | class HiInclusiveJetAnalyzer : public ed
61  
62   private:
63    
64 +  int getPFJetMuon(const pat::Jet& pfJet, const reco::PFCandidateCollection *pfCandidateColl);
65  
66 +  double getPtRel(const reco::PFCandidate lep, const pat::Jet& jet );
67  
68 <  edm::InputTag   jetTag_, vtxTag_, genjetTag_, eventInfoTag_, L1gtReadout_;
68 >  edm::InputTag   jetTag_, vtxTag_, genjetTag_, eventInfoTag_, L1gtReadout_, pfCandidateLabel_;
69  
70  
71    /// verbose ?
# Line 76 | Line 77 | class HiInclusiveJetAnalyzer : public ed
77    bool usePat_;
78    bool isMC_;
79  
80 +  double genPtMin_;
81 +  bool doLifeTimeTagging_;
82 +  bool doLifeTimeTaggingExtras_;
83  
84    TTree *t;
85    edm::Service<TFileService> fs1;
# Line 95 | Line 99 | class HiInclusiveJetAnalyzer : public ed
99  
100  
101  
102 <  static const int MAXJETS = 50000;
103 <  static const int MAXHLTBITS = 500000;
102 >  static const int MAXJETS = 500;
103 >  static const int MAXTRACKS = 5000;
104 >  static const int MAXHLTBITS = 5000;
105  
106  
107    struct JRA{
# Line 117 | Line 122 | class HiInclusiveJetAnalyzer : public ed
122      float jty[MAXJETS];
123      float jtpu[MAXJETS];
124  
125 +    float discr_csvMva[MAXJETS];
126 +    float discr_csvSimple[MAXJETS];
127 +    float discr_muByIp3[MAXJETS];
128 +    float discr_muByPt[MAXJETS];
129 +    float discr_prob[MAXJETS];
130 +    float discr_probb[MAXJETS];
131 +    float discr_tcHighEff[MAXJETS];    
132 +    float discr_tcHighPur[MAXJETS];
133 +
134 +    int nsvtx[MAXJETS];    
135 +    int svtxntrk[MAXJETS];
136 +    float svtxdl[MAXJETS];  
137 +    float svtxdls[MAXJETS];  
138 +    float svtxm[MAXJETS];    
139 +    float svtxpt[MAXJETS];  
140 +
141 +    int nIPtrk[MAXJETS];
142 +    int nselIPtrk[MAXJETS];
143 +    
144 +    int ipJetIndex[MAXTRACKS];
145 +    float ipPt[MAXTRACKS];
146 +    float ipProb0[MAXTRACKS];
147 +    float ipProb1[MAXTRACKS];
148 +    float ip2d[MAXTRACKS];
149 +    float ip2dSig[MAXTRACKS];
150 +    float ip3d[MAXTRACKS];
151 +    float ip3dSig[MAXTRACKS];
152 +    float ipDist2Jet[MAXTRACKS];
153 +    float ipDist2JetSig[MAXTRACKS];
154 +    float ipClosest2Jet[MAXTRACKS];
155 +
156 +    float mue[MAXJETS];    
157 +    float mupt[MAXJETS];    
158 +    float mueta[MAXJETS];  
159 +    float muphi[MAXJETS];  
160 +    float mudr[MAXJETS];    
161 +    float muptrel[MAXJETS];
162 +    int muchg[MAXJETS];  
163 +    
164      float refpt[MAXJETS];
165      float refeta[MAXJETS];
166      float refphi[MAXJETS];
# Line 124 | Line 168 | class HiInclusiveJetAnalyzer : public ed
168      float refdphijt[MAXJETS];
169      float refdrjt[MAXJETS];
170      float refparton_pt[MAXJETS];
171 <    float refparton_flavor[MAXJETS];
171 >    int refparton_flavor[MAXJETS];
172 >    int refparton_flavorForB[MAXJETS];
173  
174      float pthat;
175 +    int beamId1, beamId2;
176      int ngen;
177      int genmatchindex[MAXJETS];
178      float genpt[MAXJETS];
# Line 146 | Line 192 | class HiInclusiveJetAnalyzer : public ed
192      int nL1ABit;
193      bool l1ABit[MAXHLTBITS];
194  
195 +
196    };
197  
198    JRA jets_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines