test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
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 {
45  class ParameterSet;
46  class Event;
47  class EventSetup;
48 }
49 
50 class MuonDTDigis : public DQMEDAnalyzer{
51 
52  public:
53  // Constructor
54  explicit MuonDTDigis(const edm::ParameterSet& pset);
55 
56  // Destructor
57  virtual ~MuonDTDigis();
58 
59  protected:
60  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
61  // Analysis
62  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
63 
64  hDigis* WheelHistos(int wheel);
65 
66  private:
67  typedef std::map<DTWireId, std::vector<const PSimHit*> > DTWireIdMap;
68 
71 
72  // Switch for debug output
73  bool verbose_;
74 
75  // Monitor elements
87 
96 
97  std::vector<MonitorElement*> meDigiTimeBox_SL_;
99 
100  TH1F *hMuonDigis;
101  // TH1F *DigiTimeBox;
102  // TFile *file_more_plots;
103 
104  hDigis *hDigis_global;
105  hDigis *hDigis_W0;
106  hDigis *hDigis_W1;
107  hDigis *hDigis_W2;
108  hHits *hAllHits;
109 
110 };
111 
112 #endif
MonitorElement * meDoubleDigi_
Definition: MuonDTDigis.h:84
MonitorElement * meWire_DoubleDigi_
Definition: MuonDTDigis.h:86
std::vector< MonitorElement * > meDigiTimeBox_SL_
Definition: MuonDTDigis.h:97
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Definition: MuonDTDigis.cc:162
MonitorElement * meDigiHisto_
Definition: MuonDTDigis.h:98
hHits * hAllHits
Definition: MuonDTDigis.h:108
std::map< DTWireId, std::vector< const PSimHit * > > DTWireIdMap
Definition: MuonDTDigis.h:67
MonitorElement * meMB2_digi_occup_
Definition: MuonDTDigis.h:91
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: MuonDTDigis.cc:43
edm::EDGetTokenT< DTDigiCollection > DigiToken_
Definition: MuonDTDigis.h:70
MonitorElement * meMB3_sim_occup_
Definition: MuonDTDigis.h:92
MonitorElement * meDigiEfficiencyMu_
Definition: MuonDTDigis.h:83
MonitorElement * meDigiTimeBox_wheel2m_
Definition: MuonDTDigis.h:77
Definition: Event.h:16
MonitorElement * meDigiTimeBox_wheel1m_
Definition: MuonDTDigis.h:78
MonitorElement * meDigiTimeBox_wheel0_
Definition: MuonDTDigis.h:79
edm::EDGetTokenT< edm::PSimHitContainer > SimHitToken_
Definition: MuonDTDigis.h:69
MonitorElement * meMB4_sim_occup_
Definition: MuonDTDigis.h:94
MonitorElement * meMB1_sim_occup_
Definition: MuonDTDigis.h:88
TH1F * hMuonDigis
Definition: MuonDTDigis.h:100
MonitorElement * meMB2_sim_occup_
Definition: MuonDTDigis.h:90
MonitorElement * meMB3_digi_occup_
Definition: MuonDTDigis.h:93
MonitorElement * meDigiTimeBox_
Definition: MuonDTDigis.h:76
MonitorElement * meDigiTimeBox_wheel1p_
Definition: MuonDTDigis.h:80
virtual ~MuonDTDigis()
Definition: MuonDTDigis.cc:38
MonitorElement * meMB4_digi_occup_
Definition: MuonDTDigis.h:95
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
hDigis * WheelHistos(int wheel)
Definition: MuonDTDigis.cc:318
MonitorElement * meSimvsDigi_
Definition: MuonDTDigis.h:85
hDigis * hDigis_W2
Definition: MuonDTDigis.h:107
MonitorElement * meDigiEfficiency_
Definition: MuonDTDigis.h:82
hDigis * hDigis_global
Definition: MuonDTDigis.h:104
bool verbose_
Definition: MuonDTDigis.h:73
MonitorElement * meDigiTimeBox_wheel2p_
Definition: MuonDTDigis.h:81
MonitorElement * meMB1_digi_occup_
Definition: MuonDTDigis.h:89
Definition: Run.h:43
hDigis * hDigis_W1
Definition: MuonDTDigis.h:106
hDigis * hDigis_W0
Definition: MuonDTDigis.h:105
MuonDTDigis(const edm::ParameterSet &pset)
Definition: MuonDTDigis.cc:19