CMS 3D CMS Logo

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   edm::service::PrescaleService* prescaleService_;
00056   
00057 };
00058 
00059 #endif

Generated on Tue Jun 9 17:37:52 2009 for CMSSW by  doxygen 1.5.4