CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTDAQInfo.h
Go to the documentation of this file.
1 #ifndef DTMonitorClient_DTDAQInfo_H
2 #define DTMonitorClient_DTDAQInfo_H
3 
15 
16 #include <map>
17 
18 class DQMStore;
19 class MonitorElement;
20 class DTReadOutMapping;
21 
22 class DTDAQInfo : public edm::EDAnalyzer {
23 public:
25  DTDAQInfo(const edm::ParameterSet& pset);
26 
28  virtual ~DTDAQInfo();
29 
30  // Operations
31 
32 protected:
33 
34 private:
35  virtual void beginJob();
36  virtual void beginRun(const edm::Run& run, const edm::EventSetup& setup);
37  virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumi, const edm::EventSetup& setup);
38  virtual void analyze(const edm::Event& event, const edm::EventSetup& setup);
39  virtual void endLuminosityBlock(const edm::LuminosityBlock& lumi, const edm::EventSetup& setup);
40  virtual void endJob() ;
41 
43 
46  std::map<int, MonitorElement*> daqFractions;
48 
49 };
50 
51 
52 #endif
53 
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
Definition: DTDAQInfo.cc:138
std::map< int, MonitorElement * > daqFractions
Definition: DTDAQInfo.h:46
tuple lumi
Definition: fjr2json.py:35
virtual void beginJob()
Definition: DTDAQInfo.cc:47
virtual void beginRun(const edm::Run &run, const edm::EventSetup &setup)
Definition: DTDAQInfo.cc:150
edm::ESHandle< DTReadOutMapping > mapping
Definition: DTDAQInfo.h:47
MonitorElement * daqMap
Definition: DTDAQInfo.h:45
virtual void analyze(const edm::Event &event, const edm::EventSetup &setup)
Definition: DTDAQInfo.cc:146
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
MonitorElement * totalDAQFraction
Definition: DTDAQInfo.h:44
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
Definition: DTDAQInfo.cc:78
virtual ~DTDAQInfo()
Destructor.
Definition: DTDAQInfo.cc:43
DTDAQInfo(const edm::ParameterSet &pset)
Constructor.
Definition: DTDAQInfo.cc:38
virtual void endJob()
Definition: DTDAQInfo.cc:142
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
DQMStore * theDbe
Definition: DTDAQInfo.h:42
Definition: Run.h:36