CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTDCSSummary.cc
Go to the documentation of this file.
1 
2 /*
3  * See header file for a description of this class.
4  *
5  * $Date: 2010/01/05 10:15:46 $
6  * $Revision: 1.2 $
7  * \author G. Cerminara - INFN Torino
8  */
9 
10 
13 
17 
20 
21 
22 using namespace std;
23 using namespace edm;
24 
25 
26 
28 
29 
30 
31 
33 
34 
35 
37  // get the DQMStore
38  theDbe = Service<DQMStore>().operator->();
39 
40  // book the ME
41  theDbe->setCurrentFolder("DT/EventInfo/DCSContents");
42  // global fraction
43  totalDCSFraction = theDbe->bookFloat("DTDCSSummary");
44  totalDCSFraction->Fill(-1);
45  // Wheel "fractions" -> will be 0 or 1
46  for(int wheel = -2; wheel != 3; ++wheel) {
47  stringstream streams;
48  streams << "DT_Wheel" << wheel;
49  dcsFractions[wheel] = theDbe->bookFloat(streams.str());
50  dcsFractions[wheel]->Fill(-1);
51  }
52 
53 }
54 
55 
56 
58 }
59 
60 
61 
62 
64 
65 
66 
68 
69 
70 
72 
73 
74 
virtual void beginJob()
Definition: DTDCSSummary.cc:36
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
Definition: DTDCSSummary.cc:57
tuple lumi
Definition: fjr2json.py:35
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
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
Definition: DTDCSSummary.cc:63
virtual void analyze(const edm::Event &event, const edm::EventSetup &setup)
Definition: DTDCSSummary.cc:71
virtual void endJob()
Definition: DTDCSSummary.cc:67
virtual ~DTDCSSummary()
Destructor.
Definition: DTDCSSummary.cc:32
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
DTDCSSummary(const edm::ParameterSet &pset)
Constructor.
Definition: DTDCSSummary.cc:27