CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBRecoSummary.h
Go to the documentation of this file.
1 #ifndef EBRecoSummary_h
2 #define EBRecoSummary_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 EBRecoSummary(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  // ----------additional functions-------------------
55  void convxtalid(int & , int &);
56  int diff_neta_s(int,int);
57  int diff_nphi_s(int,int);
58 
59 
60  // DQM Store -------------------
62 
64 
65  // Monitor Elements (ex THXD)
66 
67  // ReducedRecHits ----------------------------------------------
68  // ... barrel
70 
71  // RecHits -----------------------------------------------------
72  // ... barrel
78 
79  // Basic Clusters ----------------------------------------------
81 
82  // Super Clusters ----------------------------------------------
83  // ... barrel
86 
89 
90  protected:
91 
92  // ----------member data ---------------------------
97 
98  double ethrEB_;
99 
100  double scEtThrEB_;
101 
102 };
103 
104 
105 #endif
MonitorElement * h_recHits_EB_time
Definition: EBRecoSummary.h:75
MonitorElement * h_recHits_EB_energyMax
Definition: EBRecoSummary.h:73
std::string prefixME_
Definition: EBRecoSummary.h:63
MonitorElement * h_recHits_EB_Chi2
Definition: EBRecoSummary.h:74
MonitorElement * h_superClusters_EB_nBC
Definition: EBRecoSummary.h:84
MonitorElement * h_superClusters_EB_E1oE4
Definition: EBRecoSummary.h:85
DQMStore * dqmStore_
Definition: EBRecoSummary.h:61
MonitorElement * h_recHits_EB_E1oE4
Definition: EBRecoSummary.h:76
edm::InputTag superClusterCollection_EB_
Definition: EBRecoSummary.h:96
MonitorElement * h_recHits_EB_recoFlag
Definition: EBRecoSummary.h:77
MonitorElement * h_superClusters_eta
Definition: EBRecoSummary.h:87
int diff_neta_s(int, int)
virtual void beginJob()
float energy() const
Definition: CaloRecHit.h:19
EBRecoSummary(const edm::ParameterSet &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual void endJob()
edm::InputTag recHitCollection_EB_
Definition: EBRecoSummary.h:93
void convxtalid(int &, int &)
edm::InputTag redRecHitCollection_EB_
Definition: EBRecoSummary.h:94
MonitorElement * h_superClusters_EB_phi
Definition: EBRecoSummary.h:88
Definition: DDAxes.h:10
MonitorElement * h_redRecHits_EB_recoFlag
Definition: EBRecoSummary.h:69
edm::InputTag basicClusterCollection_EB_
Definition: EBRecoSummary.h:95
bool operator()(EcalRecHit x, EcalRecHit y)
Definition: EBRecoSummary.h:35
MonitorElement * h_basicClusters_recHits_EB_recoFlag
Definition: EBRecoSummary.h:80
int diff_nphi_s(int, int)