CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonDTDigis.h
Go to the documentation of this file.
1 #ifndef Validation_MuonDTDigis_h
2 #define Validation_MuonDTDigis_h
3 
12 
16 
19 
24 
29 
31 
32 #include <vector>
33 
36 
37 class TH1F;
38 class TFile;
39 class PSimHit;
40 class hDigis;
41 
42 namespace edm {
43  class ParameterSet;
44  class Event;
45  class EventSetup;
46 } // namespace edm
47 
48 class MuonDTDigis : public DQMEDAnalyzer {
49 public:
50  // Constructor
51  explicit MuonDTDigis(const edm::ParameterSet &pset);
52 
53  // Destructor
54  ~MuonDTDigis() override;
55 
56 protected:
57  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
58  // Analysis
59  void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override;
60 
61  hDigis *WheelHistos(int wheel);
62 
63 private:
64  typedef std::map<DTWireId, std::vector<const PSimHit *>> DTWireIdMap;
65 
68  //Get DT Geometry
71 
72  // Switch for debug output
73  bool verbose_;
74 
75  // Monitor elements
87 
96 
97  std::vector<MonitorElement *> meDigiTimeBox_SL_;
99 
100  // TH1F *DigiTimeBox;
101  // TFile *file_more_plots;
102 
103  std::unique_ptr<hDigis> hDigis_global;
104  std::unique_ptr<hDigis> hDigis_W0;
105  std::unique_ptr<hDigis> hDigis_W1;
106  std::unique_ptr<hDigis> hDigis_W2;
107  std::unique_ptr<hHits> hAllHits;
108 };
109 
110 #endif
MonitorElement * meDoubleDigi_
Definition: MuonDTDigis.h:84
MonitorElement * meWire_DoubleDigi_
Definition: MuonDTDigis.h:86
std::vector< MonitorElement * > meDigiTimeBox_SL_
Definition: MuonDTDigis.h:97
MonitorElement * meDigiHisto_
Definition: MuonDTDigis.h:98
MonitorElement * meMB2_digi_occup_
Definition: MuonDTDigis.h:91
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: MuonDTDigis.cc:42
edm::EDGetTokenT< DTDigiCollection > DigiToken_
Definition: MuonDTDigis.h:67
MonitorElement * meMB3_sim_occup_
Definition: MuonDTDigis.h:92
std::map< DTWireId, std::vector< const PSimHit * > > DTWireIdMap
Definition: MuonDTDigis.h:64
MonitorElement * meDigiEfficiencyMu_
Definition: MuonDTDigis.h:83
const DTGeometry * muonGeom
Definition: MuonDTDigis.h:70
std::unique_ptr< hDigis > hDigis_global
Definition: MuonDTDigis.h:103
MonitorElement * meDigiTimeBox_wheel2m_
Definition: MuonDTDigis.h:77
MonitorElement * meDigiTimeBox_wheel1m_
Definition: MuonDTDigis.h:78
MonitorElement * meDigiTimeBox_wheel0_
Definition: MuonDTDigis.h:79
edm::EDGetTokenT< edm::PSimHitContainer > SimHitToken_
Definition: MuonDTDigis.h:66
MonitorElement * meMB4_sim_occup_
Definition: MuonDTDigis.h:94
MonitorElement * meMB1_sim_occup_
Definition: MuonDTDigis.h:88
MonitorElement * meMB2_sim_occup_
Definition: MuonDTDigis.h:90
std::unique_ptr< hDigis > hDigis_W1
Definition: MuonDTDigis.h:105
MonitorElement * meMB3_digi_occup_
Definition: MuonDTDigis.h:93
std::unique_ptr< hDigis > hDigis_W0
Definition: MuonDTDigis.h:104
MonitorElement * meDigiTimeBox_
Definition: MuonDTDigis.h:76
MonitorElement * meDigiTimeBox_wheel1p_
Definition: MuonDTDigis.h:80
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition: MuonDTDigis.h:69
MonitorElement * meMB4_digi_occup_
Definition: MuonDTDigis.h:95
std::unique_ptr< hHits > hAllHits
Definition: MuonDTDigis.h:107
hDigis * WheelHistos(int wheel)
Definition: MuonDTDigis.cc:325
std::unique_ptr< hDigis > hDigis_W2
Definition: MuonDTDigis.h:106
MonitorElement * meSimvsDigi_
Definition: MuonDTDigis.h:85
~MuonDTDigis() override
Definition: MuonDTDigis.cc:37
MonitorElement * meDigiEfficiency_
Definition: MuonDTDigis.h:82
bool verbose_
Definition: MuonDTDigis.h:73
MonitorElement * meDigiTimeBox_wheel2p_
Definition: MuonDTDigis.h:81
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: MuonDTDigis.cc:162
MonitorElement * meMB1_digi_occup_
Definition: MuonDTDigis.h:89
Definition: Run.h:45
MuonDTDigis(const edm::ParameterSet &pset)
Definition: MuonDTDigis.cc:19