CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/DQMOffline/L1Trigger/src/L1TEfficiencyMuons_Offline.cc

Go to the documentation of this file.
00001  /*
00002   * \file L1TEfficiencyMuons_Offline.cc
00003   *
00004   * $Date: 2012/11/22 17:10:19 $
00005   * $Revision: 1.1 $
00006   * \author J. Pela, P. Musella
00007   *
00008   */
00009  
00010  // L1TMonitor includes
00011  #include "DQMOffline/L1Trigger/interface/L1TEfficiencyMuons_Offline.h"
00012   
00013  #include "DQMServices/Core/interface/DQMStore.h"
00014  
00015  #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
00016  #include "DataFormats/Common/interface/ConditionsInEdm.h" // Parameters associated to Run, LS and Event
00017  #include "DataFormats/Luminosity/interface/LumiDetails.h" // Luminosity Information
00018  #include "DataFormats/Luminosity/interface/LumiSummary.h" // Luminosity Information
00019  
00020  #include "CondFormats/L1TObjects/interface/L1GtTriggerMenu.h"
00021  #include "CondFormats/L1TObjects/interface/L1GtTriggerMenuFwd.h"
00022  #include "CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h"
00023  #include "CondFormats/L1TObjects/interface/L1GtTriggerMask.h"            // L1Gt - Masks
00024  #include "CondFormats/DataRecord/interface/L1GtTriggerMaskAlgoTrigRcd.h" // L1Gt - Masks
00025  #include "CondFormats/DataRecord/interface/L1GtTriggerMenuRcd.h"
00026  #include "CondFormats/DataRecord/interface/L1GtPrescaleFactorsAlgoTrigRcd.h"
00027  
00028  #include "DataFormats/Histograms/interface/MEtoEDMFormat.h"
00029  
00030  #include "TList.h"
00031  
00032  using namespace edm;
00033  using namespace std;
00034  
00035  //_____________________________________________________________________
00036  L1TEfficiencyMuons_Offline::L1TEfficiencyMuons_Offline(const ParameterSet & ps){
00037 
00038    // Inicializing Variables
00039    if (m_verbose) {
00040      cout << "[L1TEfficiencyMuons_Offline:] ____________ Storage inicialization ____________ " << endl;
00041      cout << "[L1TEfficiencyMuons_Offline:] Setting up dbe folder: L1T/Efficiency/Muon" << endl;
00042    }
00043    
00044    dbe = Service < DQMStore > ().operator->();
00045    dbe->setVerbose(0);
00046    dbe->setCurrentFolder("L1T/Efficiency/Muons");
00047    
00048    // Inicializing Variables
00049    if (m_verbose) {cout << "[L1TEfficiencyMuons_Offline:] Pointer for DQM Store: " << dbe << endl;}
00050  }
00051  
00052  //_____________________________________________________________________
00053  L1TEfficiencyMuons_Offline::~L1TEfficiencyMuons_Offline(){}
00054  
00055  //_____________________________________________________________________
00056 void L1TEfficiencyMuons_Offline::beginJob(void){
00057    
00058   if (m_verbose) {cout << "[L1TEfficiencyMuons_Offline:] Called beginJob." << endl;}
00059    
00060 }
00061 
00062 //_____________________________________________________________________
00063 void L1TEfficiencyMuons_Offline::endJob(void){
00064 
00065   if (m_verbose) {cout << "[L1TEfficiencyMuons_Offline:] Called endJob." << endl;}
00066 
00067 }
00068  
00069 //_____________________________________________________________________
00070 // BeginRun: as input you get filtered events...
00071 //_____________________________________________________________________
00072 void L1TEfficiencyMuons_Offline::beginRun(const edm::Run& run, const edm::EventSetup& iSetup){
00073 
00074   if (m_verbose) {cout << "[L1TEfficiencyMuons_Offline:] Called endRun." << endl;}
00075 }  
00076 
00077 //_____________________________________________________________________
00078 void L1TEfficiencyMuons_Offline::endRun(const edm::Run& run, const edm::EventSetup& iSetup){
00079   
00080   if (m_verbose) {cout << "[L1TEfficiencyMuons_Offline:] Called endRun." << endl;}
00081 }
00082 
00083 //_____________________________________________________________________
00084 void L1TEfficiencyMuons_Offline::beginLuminosityBlock(LuminosityBlock const& lumiBlock, EventSetup const& c) {
00085   
00086   if(m_verbose){
00087     cout << "[L1TEfficiencyMuons_Offline:] Called beginLuminosityBlock at LS=" 
00088          << lumiBlock.id().luminosityBlock() << endl;
00089   }
00090   
00091 }
00092 
00093 //_____________________________________________________________________
00094 void L1TEfficiencyMuons_Offline::endLuminosityBlock(LuminosityBlock const& lumiBlock, EventSetup const& c) {
00095 
00096   if(m_verbose){
00097     cout << "[L1TEfficiencyMuons_Offline:] Called endLuminosityBlock at LS=" 
00098          << lumiBlock.id().luminosityBlock() << endl;
00099   }
00100   
00101 }
00102 
00103 
00104 //_____________________________________________________________________
00105 void L1TEfficiencyMuons_Offline::analyze(const Event & iEvent, const EventSetup & eventSetup){
00106 
00107 
00108 }
00109 
00110 //define this as a plug-in
00111 DEFINE_FWK_MODULE(L1TEfficiencyMuons_Offline);