CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTPrescaler.h
Go to the documentation of this file.
1 #ifndef HLTPrescaler_H
2 #define HLTPrescaler_H
3 
22 
23 
25 {
26 public:
27  //
28  // construction/destruction
29  //
30  explicit HLTPrescaler(edm::ParameterSet const& iConfig);
31  virtual ~HLTPrescaler();
32 
33 
34  //
35  // member functions
36  //
38  edm::EventSetup const& iSetup);
39  virtual bool filter(edm::Event& iEvent,edm::EventSetup const& iSetup);
40  virtual void endJob();
41 
42 
43 private:
44  //
45  //member data
46  //
47 
49  unsigned int prescaleSet_;
50 
52  unsigned int prescaleFactor_;
53 
55  unsigned int eventCount_;
56 
58  unsigned int acceptCount_;
59 
61  unsigned int offsetCount_;
62  unsigned int offsetPhase_;
63 
66 
68  bool newLumi_;
69 
72 
74  static const
75  unsigned int prescaleSeed_;
76 
77 };
78 
79 #endif
virtual ~HLTPrescaler()
Definition: HLTPrescaler.cc:47
edm::InputTag gtDigi_
GT payload, to extract the prescale column index.
Definition: HLTPrescaler.h:71
edm::service::PrescaleService * prescaleService_
prescale service
Definition: HLTPrescaler.h:65
virtual void endJob()
static const unsigned int prescaleSeed_
"seed" used to initialize the prescale counter
Definition: HLTPrescaler.h:75
unsigned int acceptCount_
accept counter
Definition: HLTPrescaler.h:58
int iEvent
Definition: GenABIO.cc:243
virtual bool beginLuminosityBlock(edm::LuminosityBlock &lb, edm::EventSetup const &iSetup)
Definition: HLTPrescaler.cc:58
unsigned int eventCount_
event counter
Definition: HLTPrescaler.h:55
bool newLumi_
check for (re)initialization of the prescale
Definition: HLTPrescaler.h:68
unsigned int prescaleSet_
l1 prescale set index
Definition: HLTPrescaler.h:49
unsigned int offsetPhase_
Definition: HLTPrescaler.h:62
HLTPrescaler(edm::ParameterSet const &iConfig)
Definition: HLTPrescaler.cc:29
unsigned int offsetCount_
initial offset
Definition: HLTPrescaler.h:61
virtual bool filter(edm::Event &iEvent, edm::EventSetup const &iSetup)
Definition: HLTPrescaler.cc:68
unsigned int prescaleFactor_
accept one in prescaleFactor_; 0 means never to accept an event
Definition: HLTPrescaler.h:52