CMS 3D CMS Logo

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 
30 #include "SimMuon/DTDigitizer/test/Histograms.h"
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 
69  // Switch for debug output
70  bool verbose_;
71 
72  // Monitor elements
84 
93 
94  std::vector<MonitorElement *> meDigiTimeBox_SL_;
96 
97  // TH1F *DigiTimeBox;
98  // TFile *file_more_plots;
99 
100  std::unique_ptr<hDigis> hDigis_global;
101  std::unique_ptr<hDigis> hDigis_W0;
102  std::unique_ptr<hDigis> hDigis_W1;
103  std::unique_ptr<hDigis> hDigis_W2;
104  std::unique_ptr<hHits> hAllHits;
105 };
106 
107 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
MessageLogger.h
ESHandle.h
MuonDTDigis::DTWireIdMap
std::map< DTWireId, std::vector< const PSimHit * > > DTWireIdMap
Definition: MuonDTDigis.h:64
edm::Run
Definition: Run.h:45
DTLayerId.h
edm::EDGetTokenT< edm::PSimHitContainer >
edm
HLT enums.
Definition: AlignableModifier.h:19
MuonDTDigis::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: MuonDTDigis.cc:162
MuonDTDigis::meDigiEfficiencyMu_
MonitorElement * meDigiEfficiencyMu_
Definition: MuonDTDigis.h:80
PSimHitContainer.h
MuonDTDigis::meDigiTimeBox_wheel2m_
MonitorElement * meDigiTimeBox_wheel2m_
Definition: MuonDTDigis.h:74
MuonDTDigis::meMB1_sim_occup_
MonitorElement * meMB1_sim_occup_
Definition: MuonDTDigis.h:85
MuonDTDigis::meMB2_sim_occup_
MonitorElement * meMB2_sim_occup_
Definition: MuonDTDigis.h:87
DQMStore.h
MuonDTDigis::hDigis_W1
std::unique_ptr< hDigis > hDigis_W1
Definition: MuonDTDigis.h:102
MuonDTDigis::meDigiHisto_
MonitorElement * meDigiHisto_
Definition: MuonDTDigis.h:95
MuonDTDigis::meDigiTimeBox_wheel1p_
MonitorElement * meDigiTimeBox_wheel1p_
Definition: MuonDTDigis.h:77
MuonDTDigis::hDigis_W0
std::unique_ptr< hDigis > hDigis_W0
Definition: MuonDTDigis.h:101
PSimHit.h
MuonDTDigis::hDigis_W2
std::unique_ptr< hDigis > hDigis_W2
Definition: MuonDTDigis.h:103
MuonDTDigis::meSimvsDigi_
MonitorElement * meSimvsDigi_
Definition: MuonDTDigis.h:82
Service.h
MuonDTDigis::~MuonDTDigis
~MuonDTDigis() override
Definition: MuonDTDigis.cc:37
Event
MuonDTDigis::meMB2_digi_occup_
MonitorElement * meMB2_digi_occup_
Definition: MuonDTDigis.h:88
MuonDTDigis::DigiToken_
edm::EDGetTokenT< DTDigiCollection > DigiToken_
Definition: MuonDTDigis.h:67
DTLayer.h
DQMEDAnalyzer.h
DTGeometry.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
MuonDTDigis::meMB3_sim_occup_
MonitorElement * meMB3_sim_occup_
Definition: MuonDTDigis.h:89
MuonDTDigis::meDigiTimeBox_wheel1m_
MonitorElement * meDigiTimeBox_wheel1m_
Definition: MuonDTDigis.h:75
MuonDTDigis::meDigiTimeBox_wheel0_
MonitorElement * meDigiTimeBox_wheel0_
Definition: MuonDTDigis.h:76
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
ParameterSet
Definition: Functions.h:16
MuonDTDigis::hDigis_global
std::unique_ptr< hDigis > hDigis_global
Definition: MuonDTDigis.h:100
MuonDTDigis::meMB4_sim_occup_
MonitorElement * meMB4_sim_occup_
Definition: MuonDTDigis.h:91
MuonDTDigis::meDigiTimeBox_wheel2p_
MonitorElement * meDigiTimeBox_wheel2p_
Definition: MuonDTDigis.h:78
MuonDTDigis::verbose_
bool verbose_
Definition: MuonDTDigis.h:70
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
MuonDTDigis::meMB3_digi_occup_
MonitorElement * meMB3_digi_occup_
Definition: MuonDTDigis.h:90
MuonDTDigis::meDigiTimeBox_
MonitorElement * meDigiTimeBox_
Definition: MuonDTDigis.h:73
MuonDTDigis::SimHitToken_
edm::EDGetTokenT< edm::PSimHitContainer > SimHitToken_
Definition: MuonDTDigis.h:66
edm::EventSetup
Definition: EventSetup.h:57
MuonDTDigis::meMB4_digi_occup_
MonitorElement * meMB4_digi_occup_
Definition: MuonDTDigis.h:92
MuonDTDigis::hAllHits
std::unique_ptr< hHits > hAllHits
Definition: MuonDTDigis.h:104
MuonDTDigis::MuonDTDigis
MuonDTDigis(const edm::ParameterSet &pset)
Definition: MuonDTDigis.cc:19
DTWireId.h
MuonDTDigis::meMB1_digi_occup_
MonitorElement * meMB1_digi_occup_
Definition: MuonDTDigis.h:86
LocalPoint.h
MuonDTDigis
Definition: MuonDTDigis.h:48
EventSetup.h
MuonDTDigis::meDigiTimeBox_SL_
std::vector< MonitorElement * > meDigiTimeBox_SL_
Definition: MuonDTDigis.h:94
dqm::implementation::IBooker
Definition: DQMStore.h:43
MuonDTDigis::WheelHistos
hDigis * WheelHistos(int wheel)
Definition: MuonDTDigis.cc:326
MuonDTDigis::meDoubleDigi_
MonitorElement * meDoubleDigi_
Definition: MuonDTDigis.h:81
MuonDTDigis::meWire_DoubleDigi_
MonitorElement * meWire_DoubleDigi_
Definition: MuonDTDigis.h:83
DTDigi.h
DTDigiCollection.h
EventSetup
ParameterSet.h
PSimHit
Definition: PSimHit.h:15
MuonGeometryRecord.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
MuonDTDigis::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: MuonDTDigis.cc:42
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MuonDTDigis::meDigiEfficiency_
MonitorElement * meDigiEfficiency_
Definition: MuonDTDigis.h:79