CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TEfficiencyEG_Offline.cc
Go to the documentation of this file.
1 
8 // L1TMonitor includes
10 
12 
14 #include "DataFormats/Common/interface/ConditionsInEdm.h" // Parameters associated to Run, LS and Event
15 #include "DataFormats/Luminosity/interface/LumiDetails.h" // Luminosity Information
16 #include "DataFormats/Luminosity/interface/LumiSummary.h" // Luminosity Information
17 
25 
27 
28 #include "TList.h"
29 
30 using namespace edm;
31 using namespace std;
32 
33 //_____________________________________________________________________
35 
36  // Inicializing Variables
37  if (m_verbose) {
38  cout << "[L1TEfficiencyEG_Offline:] ____________ Storage inicialization ____________ " << endl;
39  cout << "[L1TEfficiencyEG_Offline:] Setting up dbe folder: L1T/Efficiency/" << endl;
40  }
41 
42  dbe = Service < DQMStore > ().operator->();
43  dbe->setVerbose(0);
44  dbe->setCurrentFolder("L1T/Efficiency/EG");
45 
46  // Inicializing Variables
47  if (m_verbose) {cout << "[L1TEfficiencyEG_Offline:] Pointer for DQM Store: " << dbe << endl;}
48 }
49 
50 //_____________________________________________________________________
52 
53 //_____________________________________________________________________
55 
56  if (m_verbose) {cout << "[L1TEfficiencyEG_Offline:] Called beginJob." << endl;}
57 
58 }
59 
60 //_____________________________________________________________________
62 
63  if (m_verbose) {cout << "[L1TEfficiencyEG_Offline:] Called endJob." << endl;}
64 
65 }
66 
67 //_____________________________________________________________________
68 // BeginRun: as input you get filtered events...
69 //_____________________________________________________________________
71 
72  if (m_verbose) {cout << "[L1TEfficiencyEG_Offline:] Called endRun." << endl;}
73 
74 }
75 
76 //_____________________________________________________________________
78 
79  if (m_verbose) {cout << "[L1TEfficiencyEG_Offline:] Called endRun." << endl;}
80 
81 }
82 
83 //_____________________________________________________________________
85 
86  if(m_verbose){
87  cout << "[L1TEfficiencyEG_Offline:] Called beginLuminosityBlock at LS="
88  << lumiBlock.id().luminosityBlock() << endl;
89  }
90 }
91 
92 //_____________________________________________________________________
94 
95  if(m_verbose){
96  cout << "[L1TEfficiencyEG_Offline:] Called endLuminosityBlock at LS="
97  << lumiBlock.id().luminosityBlock() << endl;
98  }
99 }
100 
101 
102 //_____________________________________________________________________
103 void L1TEfficiencyEG_Offline::analyze(const Event & iEvent, const EventSetup & eventSetup){
104 
105 }
106 
107 //define this as a plug-in
LuminosityBlockID id() const
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
void analyze(const edm::Event &e, const edm::EventSetup &c)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup)
int iEvent
Definition: GenABIO.cc:230
void endRun(const edm::Run &run, const edm::EventSetup &iSetup)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
LuminosityBlockNumber_t luminosityBlock() const
L1TEfficiencyEG_Offline(const edm::ParameterSet &ps)
tuple cout
Definition: gather_cfg.py:121
Definition: Run.h:41