ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/LJMet/MultivariateAnalysis/interface/TtLJetsAnalyzer.h
(Generate patch)

Comparing UserCode/LJMet/MultivariateAnalysis/interface/TtLJetsAnalyzer.h (file contents):
Revision 1.3 by kukartse, Thu Nov 20 22:34:48 2008 UTC vs.
Revision 1.4 by kukartse, Wed Dec 10 16:44:48 2008 UTC

# Line 38 | Line 38 | public:
38    
39    
40   private:
41 +
42 +  virtual void beginJob(const edm::EventSetup&);
43 +  virtual void analyze(const edm::Event&, const edm::EventSetup&);
44 +  virtual void endJob(void);
45 +
46 +  // quantities read from the config file
47    std::string _jetSource, _electronSource, _muonSource, _METSource;
48    std::string _outFile;
49    int nCaloJets_min;
# Line 60 | Line 66 | private:
66    TFile * _file;
67    TTree * _tree;
68  
69 +  // output tree variables
70    Int_t _event;
71    Int_t _process_id;
72    Int_t _n_jets;
# Line 107 | Line 114 | private:
114    Double_t _jet4_eta;
115    Double_t _jet4_phi;
116    Double_t _jet4_energy;
110
117    Double_t _aplanarity       ;
118    Double_t _centrality       ;
119    Double_t _sphericity       ;
# Line 129 | Line 135 | private:
135    Double_t _jet1Jet2_Pt      ;
136    Double_t _jet1Jet2W_M      ;
137    Double_t _jet1Jet2W_Pt     ;
132
138    Double_t _hz               ;
139    Double_t _HT2              ;
140    Double_t _HT2prime         ;
# Line 137 | Line 142 | private:
142    Double_t _W_M              ;
143    Double_t _W_Pt             ;
144    Double_t _DphiJMET         ;
140                      
145    // Ht              
146    Double_t _getHt            ;
147    Double_t _getHtp           ;
# Line 161 | Line 165 | private:
165    Double_t _getEta2Sum       ;
166    Double_t _getMwRec         ;
167    Double_t _getH             ;
164                      
168    // event topo      
169    Double_t _getSph           ;
170    Double_t _getApl           ;
171    Double_t _getAplMu         ;
169                      
172    // Kt              
173    Double_t _getKtminp        ;
174    Double_t _getKtminpReduced ;
175    Double_t _getDrMinJetJet   ;
174                      
176    // mT              
177    Double_t _getDphiMuMet     ;
178    Double_t _getMt            ;
178
179  Double_t _lepton_id;
180  Double_t _electron_id_robust;
181  Double_t _electron_id_loose;
182  Double_t _electron_id_tight;
183  Double_t _electron_tdrid_medium;
184  Double_t _electron_tdrid_loose;
185  Double_t _electron_tdrid_tight;
179    Int_t _n_tagged_jets_trackCounting_loose;
180    Int_t _n_tagged_jets_trackCounting_medium;
181    Int_t _n_tagged_jets_trackCounting_tight;
# Line 190 | Line 183 | private:
183    Int_t _n_tagged_jets_jetProb_medium;
184    Int_t _n_tagged_jets_jetProb_tight;
185  
186 +  //
187 +  //
188 +  //_____ electron quality _______________________________________
189 +  Double_t _electron_id_robust;
190 +  Double_t _electron_id_loose;
191 +  Double_t _electron_id_tight;
192 +  Double_t _electron_tdrid_medium;
193 +  Double_t _electron_tdrid_loose;
194 +  Double_t _electron_tdrid_tight;
195 +  Int_t    _GsfElectron_classification;
196 +  Double_t _GsfElectron_hadronicOverEm;
197 +  Double_t _GsfElectron_caloEnergyError;
198 +  Double_t _GsfElectron_trackMomentumError;
199 +  Double_t _GsfElectron_shFracInnerHits; //! measure the fraction of common hits between the GSF and CTF tracks
200 +  Int_t    _GsfElectron_numberOfClusters;
201 +  Double_t _GsfElectron_caloEnergy;  // the super cluster energy corrected by EnergyScaleFactor
202 +  Double_t _GsfElectron_eSuperClusterOverP;  // the supercluster energy / track momentum at impact point
203 +  Double_t _GsfElectron_eSeedClusterOverPout;  // the seed cluster energy / track momentum at calo from outermost state
204 +  Double_t _GsfElectron_deltaEtaSuperClusterTrackAtVtx;  // the supercluster eta - track eta from helix extrapolation from impact point
205 +  Double_t _GsfElectron_deltaEtaSeedClusterTrackAtCalo;  // the seed cluster eta - track eta at calo from outermost state
206 +  Double_t _GsfElectron_deltaPhiSuperClusterTrackAtVtx;  // the supercluster phi - track phi from helix extrapolation from impact point
207 +  Double_t _GsfElectron_deltaPhiSeedClusterTrackAtCalo;  // the seed cluster phi - track phi at calo from outermost state
208 +  // ____ branches
209 +  TBranch * b_electron_id_robust;
210 +  TBranch * b_electron_id_loose;
211 +  TBranch * b_electron_id_tight;
212 +  TBranch * b_electron_tdrid_medium;
213 +  TBranch * b_electron_tdrid_loose;
214 +  TBranch * b_electron_tdrid_tight;
215 +  TBranch * b_GsfElectron_classification;
216 +  TBranch * b_GsfElectron_hadronicOverEm;
217 +  TBranch * b_GsfElectron_caloEnergyError;
218 +  TBranch * b_GsfElectron_trackMomentumError;
219 +  TBranch * b_GsfElectron_shFracInnerHits; //! measure the fraction of common hits between the GSF and CTF tracks
220 +  TBranch * b_GsfElectron_numberOfClusters;
221 +  TBranch * b_GsfElectron_caloEnergy;  // the super cluster energy corrected by EnergyScaleFactor
222 +  TBranch * b_GsfElectron_eSuperClusterOverP;  // the supercluster energy / track momentum at impact point
223 +  TBranch * b_GsfElectron_eSeedClusterOverPout;  // the seed cluster energy / track momentum at calo from outermost state
224 +  TBranch * b_GsfElectron_deltaEtaSuperClusterTrackAtVtx;  // the supercluster eta - track eta from helix extrapolation from impact point
225 +  TBranch * b_GsfElectron_deltaEtaSeedClusterTrackAtCalo;  // the seed cluster eta - track eta at calo from outermost state
226 +  TBranch * b_GsfElectron_deltaPhiSuperClusterTrackAtVtx;  // the supercluster phi - track phi from helix extrapolation from impact point
227 +  TBranch * b_GsfElectron_deltaPhiSeedClusterTrackAtCalo;  // the seed cluster phi - track phi at calo from outermost state
228 +  //
229 +  //
230 +  //_____ muon quality _______________________________________
231 +  bool _muon_isGood_All;                      // dummy options - always true
232 +  bool _muon_isGood_AllGlobalMuons;           // checks isGlobalMuon flag
233 +  bool _muon_isGood_AllStandAloneMuons;       // checks isStandAloneMuon flag
234 +  bool _muon_isGood_AllTrackerMuons;          // checks isTrackerMuon flag
235 +  bool _muon_isGood_TrackerMuonArbitrated;    // resolve ambiguity of sharing segments
236 +  bool _muon_isGood_AllArbitrated;            // all muons with the tracker muon arbitrated
237 +  bool _muon_isGood_GlobalMuonPromptTight;    // global muons with tighter fit requirements
238 +  bool _muon_isGood_TMLastStationLoose;       // penetration depth loose selector
239 +  bool _muon_isGood_TMLastStationTight;       // penetration depth tight selector
240 +  bool _muon_isGood_TM2DCompatibilityLoose;   // likelihood based loose selector
241 +  bool _muon_isGood_TM2DCompatibilityTight;   // likelihood based tight selector
242 +  bool _muon_isGood_TMOneStationLoose;        // require one well matched segment
243 +  bool _muon_isGood_TMOneStationTight;        // require one well matched segment
244 +  bool _muon_isGood_TMLastStationOptimizedLowPtLoose; // combination of TMLastStation and TMOneStation
245 +  bool _muon_isGood_TMLastStationOptimizedLowPtTight;  // combination of TMLastStation and TMOneStation
246 +  //____ branches
247 +  TBranch * b_muon_isGood_All;                      // dummy options - always true
248 +  TBranch * b_muon_isGood_AllGlobalMuons;           // checks isGlobalMuon flag
249 +  TBranch * b_muon_isGood_AllStandAloneMuons;       // checks isStandAloneMuon flag
250 +  TBranch * b_muon_isGood_AllTrackerMuons;          // checks isTrackerMuon flag
251 +  TBranch * b_muon_isGood_TrackerMuonArbitrated;    // resolve ambiguity of sharing segments
252 +  TBranch * b_muon_isGood_AllArbitrated;            // all muons with the tracker muon arbitrated
253 +  TBranch * b_muon_isGood_GlobalMuonPromptTight;    // global muons with tighter fit requirements
254 +  TBranch * b_muon_isGood_TMLastStationLoose;       // penetration depth loose selector
255 +  TBranch * b_muon_isGood_TMLastStationTight;       // penetration depth tight selector
256 +  TBranch * b_muon_isGood_TM2DCompatibilityLoose;   // likelihood based loose selector
257 +  TBranch * b_muon_isGood_TM2DCompatibilityTight;   // likelihood based tight selector
258 +  TBranch * b_muon_isGood_TMOneStationLoose;        // require one well matched segment
259 +  TBranch * b_muon_isGood_TMOneStationTight;        // require one well matched segment
260 +  TBranch * b_muon_isGood_TMLastStationOptimizedLowPtLoose; // combination of TMLastStation and TMOneStation
261 +  TBranch * b_muon_isGood_TMLastStationOptimizedLowPtTight;  // combination of TMLastStation and TMOneStation
262 +  //____ output tree variables
263    TBranch * b_event;
264    TBranch * b_process_id;
265    TBranch * b_n_jets;
# Line 237 | Line 307 | private:
307    TBranch * b_jet4_eta;
308    TBranch * b_jet4_phi;
309    TBranch * b_jet4_energy;
240  TBranch * b_lepton_id;
241  TBranch * b_electron_id_robust;
242  TBranch * b_electron_id_loose;
243  TBranch * b_electron_id_tight;
244  TBranch * b_electron_tdrid_medium;
245  TBranch * b_electron_tdrid_loose;
246  TBranch * b_electron_tdrid_tight;
310    TBranch * b_n_tagged_jets_trackCounting_loose;
311    TBranch * b_n_tagged_jets_trackCounting_medium;
312    TBranch * b_n_tagged_jets_trackCounting_tight;
313    TBranch * b_n_tagged_jets_jetProb_loose;
314    TBranch * b_n_tagged_jets_jetProb_medium;
315    TBranch * b_n_tagged_jets_jetProb_tight;      
316 <
316 >  // ____
317    TBranch * b_aplanarity       ;
318    TBranch * b_centrality       ;
319    TBranch * b_sphericity       ;
# Line 272 | Line 335 | private:
335    TBranch * b_jet1Jet2_Pt      ;
336    TBranch * b_jet1Jet2W_M      ;
337    TBranch * b_jet1Jet2W_Pt     ;
275                      
338    TBranch * b_hz               ;
339 <  TBranch * b_HT2              ;
340 <  TBranch * b_HT2prime         ;
341 <  TBranch * b_W_MT             ;
339 >  TBranch * b_HT2;
340 >  TBranch * b_HT2prime;
341 >  TBranch * b_W_MT;
342    TBranch * b_W_M              ;
343    TBranch * b_W_Pt             ;
344    TBranch * b_DphiJMET         ;
283                      
345    // Ht              
346    TBranch * b_getHt            ;
347    TBranch * b_getHtp           ;
# Line 304 | Line 365 | private:
365    TBranch * b_getEta2Sum       ;
366    TBranch * b_getMwRec         ;
367    TBranch * b_getH             ;
307                      
368    // event topo      
369    TBranch * b_getSph           ;
370    TBranch * b_getApl           ;
371    TBranch * b_getAplMu         ;
312                      
372    // Kt              
373    TBranch * b_getKtminp        ;
374    TBranch * b_getKtminpReduced ;
375    TBranch * b_getDrMinJetJet   ;
317                      
376    // mT              
377    TBranch * b_getDphiMuMet     ;
378    TBranch * b_getMt            ;
379  
380 <  virtual void beginJob(const edm::EventSetup&) ;
323 <  virtual void analyze(const edm::Event&, const edm::EventSetup&);
324 <  virtual void endJob() ;
380 >  
381   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines