CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ESRecoSummary.h
Go to the documentation of this file.
1 #ifndef ESRecoSummary_h
2 #define ESRecoSummary_h
3 
4 // system include files
5 #include <memory>
6 
7 // user include files
10 
14 
18 
19 // DQM includes
22 
23 // ROOT include
24 #include "TFile.h"
25 #include "TH1.h"
26 #include "TH2.h"
27 #include "TProfile.h"
28 #include "TProfile2D.h"
29 
30 
31 // Less than operator for sorting EcalRecHits according to energy.
32 class ecalRecHitLess : public std::binary_function<EcalRecHit, EcalRecHit, bool>
33 {
34 public:
36  {
37  return (x.energy() > y.energy());
38  }
39 };
40 
41 
43 
44  public:
45  explicit ESRecoSummary(const edm::ParameterSet&);
47 
48 
49  private:
50  virtual void beginJob() ;
51  virtual void analyze(const edm::Event&, const edm::EventSetup&);
52  virtual void endJob() ;
53 
54  // DQM Store -------------------
56 
58 
59  // PRESHOWER ----------------------------------------------
62 
66 
67  protected:
68 
69 
70  // ----------member data ---------------------------
75 
76 
77 };
78 
79 
80 #endif
DQMStore * dqmStore_
Definition: ESRecoSummary.h:55
MonitorElement * h_esClusters_energy_plane1
Definition: ESRecoSummary.h:63
MonitorElement * h_recHits_ES_time
Definition: ESRecoSummary.h:61
edm::EDGetTokenT< ESRecHitCollection > esRecHitCollection_
Definition: ESRecoSummary.h:72
MonitorElement * h_esClusters_energy_ratio
Definition: ESRecoSummary.h:65
ESRecoSummary(const edm::ParameterSet &)
edm::EDGetTokenT< reco::PreshowerClusterCollection > esClusterCollectionY_
Definition: ESRecoSummary.h:74
std::string prefixME_
Definition: ESRecoSummary.h:57
MonitorElement * h_recHits_ES_energyMax
Definition: ESRecoSummary.h:60
float energy() const
Definition: CaloRecHit.h:17
edm::EDGetTokenT< reco::PreshowerClusterCollection > esClusterCollectionX_
Definition: ESRecoSummary.h:73
MonitorElement * h_esClusters_energy_plane2
Definition: ESRecoSummary.h:64
edm::EDGetTokenT< reco::SuperClusterCollection > superClusterCollection_EE_
Definition: ESRecoSummary.h:71
Definition: DDAxes.h:10
virtual void analyze(const edm::Event &, const edm::EventSetup &)
bool operator()(EcalRecHit x, EcalRecHit y)
Definition: ESRecoSummary.h:35
virtual void endJob()
virtual void beginJob()