CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DQM/TrigXMonitor/interface/HLTSeedL1LogicScalers.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:    HLTSeedL1LogicScalers
00004 // Class:      HLTSeedL1LogicScalers
00005 // 
00013 //
00014 // Original Author:   Vladimir  Rekovic
00015 //         Created:  Tue Feb  9 15:15:20 CET 2010
00016 // $Id: HLTSeedL1LogicScalers.h,v 1.4 2010/03/11 08:36:48 rekovic Exp $
00017 //
00018 //
00019 
00020 #ifndef HLTSEEDSCALERS_H
00021 #define HLTSEEDSCALERS_H
00022 
00023 // system include files
00024 #include <memory>
00025 
00026 // user include files
00027 #include "FWCore/Framework/interface/Frameworkfwd.h"
00028 #include "FWCore/Framework/interface/EDAnalyzer.h"
00029 
00030 #include "FWCore/Framework/interface/Event.h"
00031 #include "FWCore/Framework/interface/MakerMacros.h"
00032 
00033 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00034 
00035 #include "DQMServices/Core/interface/DQMStore.h"
00036 #include "FWCore/ServiceRegistry/interface/Service.h"
00037 
00038 #include "DataFormats/Common/interface/TriggerResults.h"
00039 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
00040 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
00041 #include "L1Trigger/GlobalTriggerAnalyzer/interface/L1GtUtils.h"
00042 
00043 
00044 #include "DQMServices/Core/interface/MonitorElement.h"
00045 
00046 //
00047 // class declaration
00048 //
00049 
00050 class HLTSeedL1LogicScalers : public edm::EDAnalyzer {
00051    public:
00052       explicit HLTSeedL1LogicScalers(const edm::ParameterSet&);
00053       ~HLTSeedL1LogicScalers();
00054 
00055 
00056    private:
00057       virtual void beginJob() ;
00058       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00059       virtual void endJob() ;
00060       virtual void beginRun(const edm::Run& run, const edm::EventSetup& c) ;
00061       bool analyzeL1GtUtils(const edm::Event&, const edm::EventSetup&, const std::string &);
00062       bool analyzeL1GtRecord(const edm::Event&, const edm::EventSetup&, std::string);
00063 
00064 
00065 
00066       // ----------member data ---------------------------
00067 
00068       bool fL1BeforeMask;
00069       std::string fDQMFolder;
00070       std::string fProcessname;
00071 
00072       DQMStore * fDbe;
00073 
00074       L1GtUtils m_l1GtUtils;
00075 
00076       HLTConfigProvider fHLTConfig;
00077       /*
00078       edm::Handle<edm::TriggerResults> fTriggerResults;
00079 
00080       edm::InputTag fTriggerResultsLabel;
00081       edm::InputTag fL1GtLabel;
00082       */
00083       edm::InputTag fL1GtDaqReadoutRecordInputTag;
00084       edm::InputTag fL1GtRecordInputTag;
00085 
00086 
00087       std::vector<std::string> fMonitorPaths;
00088       std::vector<MonitorElement*> fMonitorPathsME;
00089       std::vector<std::pair<MonitorElement*, std::vector<std::string> > > fMapMEL1Algos;
00090 
00091 };
00092 
00093 #endif // HLTSEEDSCALERS_H