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