CMS 3D CMS Logo

GenPurposeSkimmerData.h
Go to the documentation of this file.
1 #ifndef GenPurposeSkimmerData_H
2 #define GenPurposeSkimmerData_H
3 
4 // system include files
5 #include <memory>
6 
7 // user include files
10 
15 
16 // other files
17 // root + maths
18 #include "TFile.h"
19 #include "TBranch.h"
20 #include "TTree.h"
21 #include "TVector.h"
22 #include "TString.h"
23 #include "TMath.h"
24 //
31 //
39 
40 //
54 
57 //
62 
66 //
67 // class decleration
68 //
69 
71  public:
73  ~GenPurposeSkimmerData() override;
74 
75 
76  private:
77  void beginJob() override ;
78  void analyze(const edm::Event&, const edm::EventSetup&) override;
79  void endJob() override ;
80 
81  // ----------member data ---------------------------
82 
83 
86 
97  //
107  // std::string HLTPath_[25];
113 
114  TTree * probe_tree;
115  TFile * histofile;
116  //
117 
118 
119  //probe SC variables
125 
126  //probe electron variables
133  double probe_ele_tip[4];
136 
137  //efficiency cuts
142  //
144  double probe_iso_user[4];
145  //
148 
151  //
154  //
159  double probe_ele_hoe[4];
160  double probe_ele_shh[4];
161  double probe_ele_sihih[4];
162  double probe_ele_dhi[4];
163  double probe_ele_dfi[4];
164  double probe_ele_eop[4];
165  double probe_ele_pin[4];
166  double probe_ele_pout[4];
167  double probe_ele_e5x5[4];
168  double probe_ele_e2x5[4];
169  double probe_ele_e1x5[4];
170 
171  //
174  //
182 
183  //event variables
185 
186  int event_HLTPath[25];
187 
188  double BarrelMaxEta;
189  double EndcapMinEta;
190  double EndcapMaxEta;
191 
192  double ProbeSCMinEt;
194 
198 
201 
203  // double event_MET_eta;
207  // double event_pfMET_eta;
209  //double event_genMET, event_genMET_sig;
210  // double event_genMET_eta;
211  //double event_genMET_phi;
212  //
215  //
216  //
217  //
220  //
222  double ctf_track_vx[20], ctf_track_vy[20], ctf_track_vz[20];
224  //
225  double muon_pt[4], muon_eta[4], muon_phi[4];
226  double muon_vx[4], muon_vy[4], muon_vz[4];
227  double muon_tip[4], muon_tip_bs[4];
228 };
229 
230 
231 #endif
232 
edm::EDGetTokenT< pat::MuonCollection > pMuonsToken_
edm::EDGetTokenT< trigger::TriggerEvent > HLTCollectionE31Token_
edm::EDGetTokenT< reco::CaloMETCollection > MetCollectionToken_
edm::EDGetTokenT< edm::TriggerResults > HLTTriggerResultsE29Token_
edm::EDGetTokenT< reco::METCollection > tcMetCollectionToken_
edm::EDGetTokenT< pat::ElectronCollection > ElectronCollectionToken_
edm::EDGetTokenT< reco::SuperClusterCollection > corHybridscToken_
GenPurposeSkimmerData(const edm::ParameterSet &)
edm::EDGetTokenT< reco::TrackCollection > ctfTracksToken_
edm::EDGetTokenT< reco::SuperClusterCollection > multi5x5scToken_
edm::EDGetTokenT< reco::GenParticleCollection > MCCollectionToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::BeamSpot > offlineBeamSpotToken_
edm::EDGetTokenT< edm::TriggerResults > HLTTriggerResultsE31Token_
edm::EDGetTokenT< reco::PFMETCollection > pfMetCollectionToken_
edm::EDGetTokenT< trigger::TriggerEvent > HLTCollectionE29Token_
edm::InputTag HLTFilterType_[25]
edm::EDGetTokenT< reco::GenMETCollection > genMetCollectionToken_
edm::EDGetTokenT< pat::METCollection > t1MetCollectionToken_
edm::EDGetTokenT< pat::METCollection > mcMetCollectionToken_