CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenPurposeSkimmer.h
Go to the documentation of this file.
1 #ifndef GenPurposeSkimmer_H
2 #define GenPurposeSkimmer_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 //
40 
41 //
52 
55 //
60 
64 //
65 // class decleration
66 //
67 
69  public:
70  explicit GenPurposeSkimmer(const edm::ParameterSet&);
72 
73 
74  private:
75  virtual void beginJob(const edm::EventSetup&) ;
76  virtual void analyze(const edm::Event&, const edm::EventSetup&);
77  virtual void endJob() ;
78 
79  // ----------member data ---------------------------
80 
81 
82  std::string outputFile_;
84 
93  //
99  std::string HLTPath_[25];
100 
101  TTree * probe_tree;
102  TFile * histofile;
103  //
104 
105 
106  //probe SC variables
112 
113  //probe electron variables
120  double probe_ele_tip[4];
123 
124  //efficiency cuts
129  //
131  double probe_iso_user[4];
132  //
135 
138  //
141  //
146  double probe_ele_hoe[4];
147  double probe_ele_shh[4];
148  double probe_ele_sihih[4];
149  double probe_ele_dhi[4];
150  double probe_ele_dfi[4];
151  double probe_ele_eop[4];
152  double probe_ele_pin[4];
153  double probe_ele_pout[4];
154  double probe_ele_e5x5[4];
155  double probe_ele_e2x5[4];
156  double probe_ele_e1x5[4];
157 
158  //
161  //
169 
170  //event variables
172 
173  int event_HLTPath[25];
174 
175  double BarrelMaxEta;
176  double EndcapMinEta;
177  double EndcapMaxEta;
178 
179  double ProbeSCMinEt;
181 
185 
188 
190  // double event_MET_eta;
194  // double event_pfMET_eta;
197  // double event_genMET_eta;
199  //
202 
203 };
204 
205 
206 #endif
207 
double probe_mc_matched_deta[4]
double probe_isolation_value[4]
virtual void beginJob()
Definition: EDAnalyzer.h:58
double probe_hcal_isolation_value[4]
edm::InputTag MetCollectionTag_
edm::InputTag tcMetCollectionTag_
double probe_ele_et_for_tree[4]
std::string outputFile_
edm::InputTag t1MetCollectionTagTwiki_
edm::InputTag HLTFilterType_[25]
edm::InputTag genMetCollectionTag_
edm::InputTag MCCollection_
virtual void endJob()
GenPurposeSkimmer(const edm::ParameterSet &)
double probe_mc_matched_dphi[4]
edm::InputTag HLTTriggerResultsE31_
double probe_ele_phi_for_tree[4]
double probe_hlt_matched_dr[4]
double probe_sc_eta_for_tree[4]
int probe_classification_index_for_tree[4]
double probe_ele_Zvertex_for_tree[4]
edm::InputTag HLTCollectionE31_
double probe_ecal_isolation_value[4]
double probe_hcal_iso_user[4]
double probe_sc_et_for_tree[4]
double probe_ele_eta_for_tree[4]
edm::InputTag ElectronCollection_
std::string HLTPath_[25]
edm::InputTag HLTCollectionE29_
edm::InputTag HLTTriggerResultsE29_
double probe_ecal_iso_user[4]
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::InputTag pfMetCollectionTag_
double probe_sc_phi_for_tree[4]
double probe_ele_Xvertex_for_tree[4]
int numberOfHLTFilterObjects[25]
int probe_pass_trigger_cut[4][25]
double probe_mc_matched_denergy[4]
double probe_ele_Yvertex_for_tree[4]
int probe_ele_pass_fiducial_cut[4]
edm::InputTag t1MetCollectionTag_