test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StudyHLT.h
Go to the documentation of this file.
1 
2 // system include files
3 #include <memory>
4 
5 // Root objects
6 #include "TROOT.h"
7 #include "TSystem.h"
8 #include "TFile.h"
9 #include "TProfile.h"
10 #include "TDirectory.h"
11 #include "TH1.h"
12 #include "TH2.h"
13 
14 // user include files
17 
25 
26 class StudyHLT : public edm::EDAnalyzer {
27 
28 public:
29  explicit StudyHLT(const edm::ParameterSet&);
30  ~StudyHLT();
31 
32 private:
33  virtual void beginJob() ;
34  virtual void analyze(const edm::Event&, const edm::EventSetup&);
35  virtual void endJob() ;
36 
37  virtual void beginRun(edm::Run const&, edm::EventSetup const&);
38  virtual void endRun(edm::Run const&, edm::EventSetup const&);
39  virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
40  virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
41  void fillTrack(int, double, double, double, double);
42  void fillIsolation(int, double, double, double);
43 
44  // ----------member data ---------------------------
47  int verbosity;
49  std::vector<std::string> trigNames, HLTNames;
54  TH2I *h_nHLTvsRN;
55  std::vector<TH1I*> h_HLTAccepts;
56  TH1D *h_p[8], *h_pt[8], *h_eta[8], *h_phi[8];
57  TH1I *h_ntrk[2];
58  TH1D *h_maxNearP[2], *h_ene1[2], *h_ene2[2], *h_ediff[2];
59  int nRun;
60 };
TH1I * h_nHLT
Definition: StudyHLT.h:53
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: StudyHLT.cc:299
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: StudyHLT.cc:320
edm::Service< TFileService > fs
Definition: StudyHLT.h:46
TH1I * h_ntrk[2]
Definition: StudyHLT.h:57
virtual void beginJob()
Definition: StudyHLT.cc:238
double maxTrackEta
Definition: StudyHLT.h:51
std::vector< TH1I * > h_HLTAccepts
Definition: StudyHLT.h:55
std::vector< std::string > trigNames
Definition: StudyHLT.h:49
TH1D * h_p[8]
Definition: StudyHLT.h:56
double tMaxH_
Definition: StudyHLT.h:51
TH1I * h_HLTAccept
Definition: StudyHLT.h:53
double minTrackP
Definition: StudyHLT.h:51
TH1D * h_eta[8]
Definition: StudyHLT.h:56
virtual void endJob()
Definition: StudyHLT.cc:296
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: StudyHLT.cc:64
std::string theTrackQuality
Definition: StudyHLT.h:50
spr::trackSelectionParameters selectionParameters
Definition: StudyHLT.h:48
TH1D * h_ene2[2]
Definition: StudyHLT.h:58
void fillIsolation(int, double, double, double)
Definition: StudyHLT.cc:329
bool firstEvent
Definition: StudyHLT.h:52
void fillTrack(int, double, double, double, double)
Definition: StudyHLT.cc:322
TH1D * h_pt[8]
Definition: StudyHLT.h:56
~StudyHLT()
Definition: StudyHLT.cc:61
int nRun
Definition: StudyHLT.h:59
TH1D * h_ene1[2]
Definition: StudyHLT.h:58
virtual void endRun(edm::Run const &, edm::EventSetup const &)
Definition: StudyHLT.cc:312
HLTConfigProvider hltConfig_
Definition: StudyHLT.h:45
TH1D * h_ediff[2]
Definition: StudyHLT.h:58
TH1D * h_maxNearP[2]
Definition: StudyHLT.h:58
TH2I * h_nHLTvsRN
Definition: StudyHLT.h:54
bool changed
Definition: StudyHLT.h:52
TH1D * h_phi[8]
Definition: StudyHLT.h:56
int verbosity
Definition: StudyHLT.h:47
std::vector< std::string > HLTNames
Definition: StudyHLT.h:49
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: StudyHLT.cc:318
StudyHLT(const edm::ParameterSet &)
Definition: StudyHLT.cc:38
double tMinE_
Definition: StudyHLT.h:51
Definition: Run.h:41
double tMinH_
Definition: StudyHLT.h:51
double tMaxE_
Definition: StudyHLT.h:51