CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DQM/HLTEvF/interface/HLTMonPhotonClient.h

Go to the documentation of this file.
00001 #ifndef HLTMonPhotonClient_H
00002 #define HLTMonPhotonClient_H
00003 
00004 // system include files
00005 #include <memory>
00006 #include <unistd.h>
00007 
00008 
00009 // user include files
00010 #include "FWCore/Framework/interface/Frameworkfwd.h"
00011 #include "FWCore/Framework/interface/EDAnalyzer.h"
00012 
00013 #include "FWCore/Framework/interface/Event.h"
00014 #include "FWCore/Framework/interface/MakerMacros.h"
00015 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
00016 
00017 #include "DQMServices/Core/interface/DQMStore.h"
00018 #include "DQMServices/Core/interface/MonitorElement.h"
00019 #include "FWCore/ServiceRegistry/interface/Service.h"
00020 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00021 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00022 #include <iostream>
00023 #include <fstream>
00024 #include <vector>
00025 
00026 //
00027 // class decleration
00028 //
00029 
00030 class HLTMonPhotonClient : public edm::EDAnalyzer {
00031    public:
00032       explicit HLTMonPhotonClient(const edm::ParameterSet&);
00033       ~HLTMonPhotonClient();
00034 
00035 
00036    private:
00037       virtual void beginJob() ;
00038       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00039       virtual void endJob() ;
00040 
00041       // ----------member data --------------------------- 
00042 
00043       DQMStore * dbe;
00044 
00045       edm::InputTag sourcetag_;
00046 
00047       MonitorElement* pixelhistosEt[4];
00048       MonitorElement* pixelhistosEta[4];
00049       MonitorElement* pixelhistosPhi[4];
00050       MonitorElement* pixelhistosEtOut[4];
00051       MonitorElement* pixelhistosEtaOut[4];
00052       MonitorElement* pixelhistosPhiOut[4];
00053       MonitorElement* eventCounter;
00054       MonitorElement* relFilterEff;
00055       MonitorElement* cumFilterEff;
00056 
00057       std::string dirname_;
00058       std::string sourcedirname_;
00059       bool monitorDaemon_;
00060       ofstream logFile_;
00061       std::string outputFile_;
00062       std::vector<edm::InputTag> theHLTCollectionLabels;
00063       
00064 };
00065 #endif