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 
13 
17 
19 
22 
27 
32 
33 #include "SimMuon/DTDigitizer/test/Histograms.h"
34 
35 #include<vector>
37 
38 class TH1F;
39 class TFile;
40 
41 class PSimHit;
42 
43 class hDigis;
44 
45 namespace edm {
46 class ParameterSet; class Event; class EventSetup;}
47 
49 
50  public:
51  // Constructor
52  explicit MuonDTDigis(const edm::ParameterSet& pset);
53 
54  // Destructor
55  virtual ~MuonDTDigis();
56 
57  protected:
58  // Analysis
59  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
60 
61  hDigis* WheelHistos(int wheel);
62 
63  // BeginJob
64  //void beginJob();
65 
66  // EndJob
67  //void endJob(void);
68 
69 
70  private:
71  typedef std::map<DTWireId, std::vector<const PSimHit*> > DTWireIdMap;
72 
76 
77  // Switch for debug output
78  bool verbose_;
79 
80  // DaqMonitor element
82 
83  // Monitor elements
95 
104 
105  std::vector<MonitorElement*> meDigiTimeBox_SL_;
107 
108  TH1F *hMuonDigis;
109  // TH1F *DigiTimeBox;
110  // TFile *file_more_plots;
111 
112  hDigis *hDigis_global;
113  hDigis *hDigis_W0;
114  hDigis *hDigis_W1;
115  hDigis *hDigis_W2;
116  hHits *hAllHits;
117 
118 };
119 
120 #endif
MonitorElement * meDoubleDigi_
Definition: MuonDTDigis.h:92
MonitorElement * meWire_DoubleDigi_
Definition: MuonDTDigis.h:94
std::vector< MonitorElement * > meDigiTimeBox_SL_
Definition: MuonDTDigis.h:105
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Definition: MuonDTDigis.cc:251
MonitorElement * meDigiHisto_
Definition: MuonDTDigis.h:106
hHits * hAllHits
Definition: MuonDTDigis.h:116
std::map< DTWireId, std::vector< const PSimHit * > > DTWireIdMap
Definition: MuonDTDigis.h:71
MonitorElement * meMB2_digi_occup_
Definition: MuonDTDigis.h:99
edm::EDGetTokenT< DTDigiCollection > DigiToken_
Definition: MuonDTDigis.h:74
MonitorElement * meMB3_sim_occup_
Definition: MuonDTDigis.h:100
MonitorElement * meDigiEfficiencyMu_
Definition: MuonDTDigis.h:91
MonitorElement * meDigiTimeBox_wheel2m_
Definition: MuonDTDigis.h:85
MonitorElement * meDigiTimeBox_wheel1m_
Definition: MuonDTDigis.h:86
MonitorElement * meDigiTimeBox_wheel0_
Definition: MuonDTDigis.h:87
std::string outputFile_
Definition: MuonDTDigis.h:75
edm::EDGetTokenT< edm::PSimHitContainer > SimHitToken_
Definition: MuonDTDigis.h:73
MonitorElement * meMB4_sim_occup_
Definition: MuonDTDigis.h:102
MonitorElement * meMB1_sim_occup_
Definition: MuonDTDigis.h:96
TH1F * hMuonDigis
Definition: MuonDTDigis.h:108
MonitorElement * meMB2_sim_occup_
Definition: MuonDTDigis.h:98
MonitorElement * meMB3_digi_occup_
Definition: MuonDTDigis.h:101
MonitorElement * meDigiTimeBox_
Definition: MuonDTDigis.h:84
MonitorElement * meDigiTimeBox_wheel1p_
Definition: MuonDTDigis.h:88
virtual ~MuonDTDigis()
Definition: MuonDTDigis.cc:223
MonitorElement * meMB4_digi_occup_
Definition: MuonDTDigis.h:103
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:410
MonitorElement * meSimvsDigi_
Definition: MuonDTDigis.h:93
hDigis * hDigis_W2
Definition: MuonDTDigis.h:115
MonitorElement * meDigiEfficiency_
Definition: MuonDTDigis.h:90
DQMStore * dbe_
Definition: MuonDTDigis.h:81
hDigis * hDigis_global
Definition: MuonDTDigis.h:112
bool verbose_
Definition: MuonDTDigis.h:78
MonitorElement * meDigiTimeBox_wheel2p_
Definition: MuonDTDigis.h:89
MonitorElement * meMB1_digi_occup_
Definition: MuonDTDigis.h:97
hDigis * hDigis_W1
Definition: MuonDTDigis.h:114
hDigis * hDigis_W0
Definition: MuonDTDigis.h:113
MuonDTDigis(const edm::ParameterSet &pset)
Definition: MuonDTDigis.cc:19