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 
37 
38 class TH1F;
39 class TFile;
40 class PSimHit;
41 class hDigis;
42 
43 namespace edm {
44  class ParameterSet;
45  class Event;
46  class EventSetup;
47 } // namespace edm
48 
49 class MuonDTDigis : public DQMEDAnalyzer {
50 public:
51  // Constructor
52  explicit MuonDTDigis(const edm::ParameterSet &pset);
53 
54  // Destructor
55  ~MuonDTDigis() override;
56 
57 protected:
58  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
59  // Analysis
60  void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override;
61 
62  hDigis *WheelHistos(int wheel);
63 
64 private:
65  typedef std::map<DTWireId, std::vector<const PSimHit *>> DTWireIdMap;
66 
69 
70  // Switch for debug output
71  bool verbose_;
72 
73  // Monitor elements
85 
94 
95  std::vector<MonitorElement *> meDigiTimeBox_SL_;
97 
98  // TH1F *DigiTimeBox;
99  // TFile *file_more_plots;
100 
101  std::unique_ptr<hDigis> hDigis_global;
102  std::unique_ptr<hDigis> hDigis_W0;
103  std::unique_ptr<hDigis> hDigis_W1;
104  std::unique_ptr<hDigis> hDigis_W2;
105  std::unique_ptr<hHits> hAllHits;
106 };
107 
108 #endif
MonitorElement * meDoubleDigi_
Definition: MuonDTDigis.h:82
MonitorElement * meWire_DoubleDigi_
Definition: MuonDTDigis.h:84
std::vector< MonitorElement * > meDigiTimeBox_SL_
Definition: MuonDTDigis.h:95
MonitorElement * meDigiHisto_
Definition: MuonDTDigis.h:96
MonitorElement * meMB2_digi_occup_
Definition: MuonDTDigis.h:89
edm::EDGetTokenT< DTDigiCollection > DigiToken_
Definition: MuonDTDigis.h:68
MonitorElement * meMB3_sim_occup_
Definition: MuonDTDigis.h:90
std::map< DTWireId, std::vector< const PSimHit * > > DTWireIdMap
Definition: MuonDTDigis.h:65
MonitorElement * meDigiEfficiencyMu_
Definition: MuonDTDigis.h:81
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
std::unique_ptr< hDigis > hDigis_global
Definition: MuonDTDigis.h:101
MonitorElement * meDigiTimeBox_wheel2m_
Definition: MuonDTDigis.h:75
MonitorElement * meDigiTimeBox_wheel1m_
Definition: MuonDTDigis.h:76
MonitorElement * meDigiTimeBox_wheel0_
Definition: MuonDTDigis.h:77
edm::EDGetTokenT< edm::PSimHitContainer > SimHitToken_
Definition: MuonDTDigis.h:67
MonitorElement * meMB4_sim_occup_
Definition: MuonDTDigis.h:92
MonitorElement * meMB1_sim_occup_
Definition: MuonDTDigis.h:86
MonitorElement * meMB2_sim_occup_
Definition: MuonDTDigis.h:88
std::unique_ptr< hDigis > hDigis_W1
Definition: MuonDTDigis.h:103
MonitorElement * meMB3_digi_occup_
Definition: MuonDTDigis.h:91
std::unique_ptr< hDigis > hDigis_W0
Definition: MuonDTDigis.h:102
MonitorElement * meDigiTimeBox_
Definition: MuonDTDigis.h:74
MonitorElement * meDigiTimeBox_wheel1p_
Definition: MuonDTDigis.h:78
MonitorElement * meMB4_digi_occup_
Definition: MuonDTDigis.h:93
std::unique_ptr< hHits > hAllHits
Definition: MuonDTDigis.h:105
std::unique_ptr< hDigis > hDigis_W2
Definition: MuonDTDigis.h:104
MonitorElement * meSimvsDigi_
Definition: MuonDTDigis.h:83
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
MonitorElement * meDigiEfficiency_
Definition: MuonDTDigis.h:80
HLT enums.
bool verbose_
Definition: MuonDTDigis.h:71
MonitorElement * meDigiTimeBox_wheel2p_
Definition: MuonDTDigis.h:79
MonitorElement * meMB1_digi_occup_
Definition: MuonDTDigis.h:87
Definition: event.py:1
Definition: Run.h:45