CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTMonPhotonSource.h
Go to the documentation of this file.
1 #ifndef HLTMonPhotonSource_H
2 #define HLTMonPhotonSource_H
3 
4 // system include files
5 #include <memory>
6 #include <unistd.h>
7 
8 
9 // user include files
12 
16 
22 #include <iostream>
23 #include <fstream>
24 #include <vector>
25 
26 //
27 // class decleration
28 //
29 
31  public:
32  explicit HLTMonPhotonSource(const edm::ParameterSet&);
34 
35 
36  private:
37  virtual void beginJob() ;
38  virtual void analyze(const edm::Event&, const edm::EventSetup&);
39  virtual void endJob() ;
40  template <class T> void fillHistos(edm::Handle<trigger::TriggerEventWithRefs>& , const edm::Event& ,unsigned int);
41 
42  // ----------member data ---------------------------
43  int nev_;
45  std::vector<MonitorElement *> etahist;
46  std::vector<MonitorElement *> phihist;
47  std::vector<MonitorElement *> ethist;
48  std::vector<MonitorElement *> etahistiso;
49  std::vector<MonitorElement *> phihistiso;
50  std::vector<MonitorElement *> ethistiso;
51  std::vector<MonitorElement *> histiso;
53  std::vector<edm::InputTag> theHLTCollectionLabels;
54  std::vector<int> theHLTOutputTypes;
55  std::vector<bool> plotiso;
56  std::vector<std::vector<edm::InputTag> > isoNames; // there has to be a better solution
57  std::vector<std::pair<double,double> > plotBounds;
58  unsigned int reqNum;
59 
60  double thePtMin ;
61  double thePtMax ;
62  unsigned int theNbins ;
63 
64  float maxEt;
65  float eta;
66  float phi;
67  float sigmaetaeta;
68 
69 
70  std::string dirname_;
72  ofstream logFile_;
74  std::string outputFile_;
75 
76 };
77 #endif
std::vector< MonitorElement * > ethist
virtual void analyze(const edm::Event &, const edm::EventSetup &)
HLTMonPhotonSource(const edm::ParameterSet &)
std::vector< MonitorElement * > etahistiso
std::vector< MonitorElement * > phihist
std::vector< MonitorElement * > phihistiso
std::vector< MonitorElement * > ethistiso
std::vector< int > theHLTOutputTypes
std::vector< std::vector< edm::InputTag > > isoNames
MonitorElement * eventCounter
std::vector< std::pair< double, double > > plotBounds
std::vector< MonitorElement * > etahist
std::vector< edm::InputTag > theHLTCollectionLabels
std::vector< bool > plotiso
void fillHistos(edm::Handle< trigger::TriggerEventWithRefs > &, const edm::Event &, unsigned int)
std::vector< MonitorElement * > histiso