CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/HLTrigger/HLTcore/interface/HLTPrescaler.h

Go to the documentation of this file.
00001 #ifndef HLTPrescaler_H
00002 #define HLTPrescaler_H
00003 
00017 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
00018 #include "FWCore/PrescaleService/interface/PrescaleService.h"
00019 
00020 
00021 class HLTPrescaler : public HLTFilter
00022 {
00023 public:
00024   //
00025   // construction/destruction
00026   //
00027   explicit HLTPrescaler(edm::ParameterSet const& iConfig);
00028   virtual ~HLTPrescaler();
00029 
00030 
00031   //
00032   // member functions
00033   //
00034   virtual bool beginLuminosityBlock(edm::LuminosityBlock &lb,
00035                                     edm::EventSetup const& iSetup);
00036   virtual bool filter(edm::Event& iEvent,edm::EventSetup const& iSetup);
00037   virtual void endJob();
00038   
00039   
00040 private:
00041   //
00042   //member data
00043   //
00044 
00046   unsigned int prescaleFactor_;
00047 
00049   unsigned int eventCount_;
00050 
00052   unsigned int acceptCount_;
00053 
00055   unsigned int offsetCount_;
00056   unsigned int offsetPhase_;
00057 
00059   edm::service::PrescaleService* prescaleService_;
00060   
00062   bool newLumi_;
00063 
00065   edm::InputTag gtDigi_;
00066 
00068   static const
00069   unsigned int prescaleSeed_;
00070 
00071 };
00072 
00073 #endif