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 private:
76  void beginJob() override;
77  void analyze(const edm::Event&, const edm::EventSetup&) override;
78  void endJob() override;
79 
80  // ----------member data ---------------------------
81 
84 
95  //
105  // std::string HLTPath_[25];
111 
112  TTree* probe_tree;
113  TFile* histofile;
114  //
115 
116  //probe SC variables
122 
123  //probe electron variables
130  double probe_ele_tip[4];
133 
134  //efficiency cuts
139  //
141  double probe_iso_user[4];
142  //
145 
148  //
151  //
156  double probe_ele_hoe[4];
157  double probe_ele_shh[4];
158  double probe_ele_sihih[4];
159  double probe_ele_dhi[4];
160  double probe_ele_dfi[4];
161  double probe_ele_eop[4];
162  double probe_ele_pin[4];
163  double probe_ele_pout[4];
164  double probe_ele_e5x5[4];
165  double probe_ele_e2x5[4];
166  double probe_ele_e1x5[4];
167 
168  //
171  //
179 
180  //event variables
182 
183  int event_HLTPath[25];
184 
185  double BarrelMaxEta;
186  double EndcapMinEta;
187  double EndcapMaxEta;
188 
189  double ProbeSCMinEt;
191 
195 
198 
200  // double event_MET_eta;
204  // double event_pfMET_eta;
206  //double event_genMET, event_genMET_sig;
207  // double event_genMET_eta;
208  //double event_genMET_phi;
209  //
212  //
213  //
214  //
217  //
219  double ctf_track_vx[20], ctf_track_vy[20], ctf_track_vz[20];
221  //
222  double muon_pt[4], muon_eta[4], muon_phi[4];
223  double muon_vx[4], muon_vy[4], muon_vz[4];
224  double muon_tip[4], muon_tip_bs[4];
225 };
226 
227 #endif
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_