CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/DQM/SiStripMonitorCluster/interface/SiStripMonitorHLT.h

Go to the documentation of this file.
00001 #ifndef SiStripMonitorCluster_SiStripMonitorHLT_h
00002 #define SiStripMonitorCluster_SiStripMonitorHLT_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     SiStripMonitorCluster
00006 // Class  :     SiStripMonitorHLT
00007 
00008 
00009 
00010 // system include files
00011 #include <memory>
00012 
00013 // user include files
00014 #include "FWCore/Framework/interface/Frameworkfwd.h"
00015 #include "FWCore/Framework/interface/EDAnalyzer.h"
00016 
00017 #include "FWCore/Framework/interface/Event.h"
00018 #include "FWCore/Framework/interface/MakerMacros.h"
00019 
00020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00021 
00022 #include "DQMServices/Core/interface/MonitorElement.h"
00023 
00024 class DQMStore;
00025 
00026 class SiStripMonitorHLT : public edm::EDAnalyzer {
00027    public:
00028       explicit SiStripMonitorHLT(const edm::ParameterSet&);
00029       ~SiStripMonitorHLT(){};
00030 
00031       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00032        virtual void beginJob() ;
00033        virtual void endJob() ;
00034 
00035    private:
00036        DQMStore* dqmStore_;
00037        edm::ParameterSet conf_;
00038        MonitorElement * HLTDecision;
00039        // all events
00040        MonitorElement * SumOfClusterCharges_all;
00041        MonitorElement * NumberOfClustersAboveThreshold_all;
00042        MonitorElement * ChargeOfEachClusterTIB_all;
00043        MonitorElement * ChargeOfEachClusterTOB_all;
00044        MonitorElement * ChargeOfEachClusterTEC_all;
00045        // events that passes the HLT
00046        MonitorElement * SumOfClusterCharges_hlt;
00047        MonitorElement * NumberOfClustersAboveThreshold_hlt;
00048        MonitorElement * ChargeOfEachClusterTIB_hlt;
00049        MonitorElement * ChargeOfEachClusterTOB_hlt;
00050        MonitorElement * ChargeOfEachClusterTEC_hlt;
00051        //
00052        std::string HLTDirectory;
00053 };
00054 
00055 #endif