CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
HLTPrescaleRecorder Class Reference

#include <HLTPrescaleRecorder.h>

Inheritance diagram for HLTPrescaleRecorder:
edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

virtual void beginLuminosityBlock (edm::LuminosityBlock const &iLumi, const edm::EventSetup &iSetup) overridefinal
 
virtual void beginRun (edm::Run const &iRun, const edm::EventSetup &iSetup) overridefinal
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &iLumi, const edm::EventSetup &iSetup) overridefinal
 
virtual void endLuminosityBlockProduce (edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) overridefinal
 
virtual void endRun (edm::Run const &iRun, const edm::EventSetup &iSetup) overridefinal
 
virtual void endRunProduce (edm::Run &iRun, const edm::EventSetup &iSetup) overridefinal
 
 HLTPrescaleRecorder (const edm::ParameterSet &)
 
virtual void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) overridefinal
 
virtual ~HLTPrescaleRecorder ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >
 EDProducer ()=default
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Attributes

bool condDB_
 
cond::service::PoolDBOutputServicedb_
 Pool DB service. More...
 
bool event_
 
trigger::HLTPrescaleTable hlt_
 payload HLT object More...
 
std::string hltDBTag_
 Tag of DB entry (HLT Key Name) (src=4) More...
 
edm::ESHandle
< trigger::HLTPrescaleTableCond
hltESHandle_
 
edm::Handle
< trigger::HLTPrescaleTable
hltHandle_
 Handle and ESHandle for existing HLT object. More...
 
edm::InputTag hltInputTag_
 InputTag of HLTPrescaleTable product (src=1,2,3) More...
 
edm::EDGetTokenT
< trigger::HLTPrescaleTable
hltInputToken_
 InputToken of HLTPrescaleTable product (src=1,2,3) More...
 
bool lumi_
 
edm::service::PrescaleServiceps_
 Prescale service. More...
 
std::string psetName_
 
bool run_
 (Multiple) Destinations More...
 
int src_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

This class is an EDProducer making the HLTPrescaleTable object

Author
Martin Grunewald

See header file for documentation

Author
Martin Grunewald

Definition at line 43 of file HLTPrescaleRecorder.h.

Constructor & Destructor Documentation

HLTPrescaleRecorder::HLTPrescaleRecorder ( const edm::ParameterSet ps)
explicit

Definition at line 36 of file HLTPrescaleRecorder.cc.

References condDB_, db_, edm::InputTag::encode(), event_, hltDBTag_, hltInputTag_, hltInputToken_, lumi_, cppFunctionSkipper::operator, ps_, psetName_, run_, and src_.

36  :
37  src_(ps.getParameter<int>("src")),
38  run_(ps.getParameter<bool>("run")),
39  lumi_(ps.getParameter<bool>("lumi")),
40  event_(ps.getParameter<bool>("event")),
41  condDB_(ps.getParameter<bool>("condDB")),
42  psetName_(ps.getParameter<string>("psetName")),
43  hltInputTag_(ps.getParameter<InputTag>("hltInputTag")),
45  hltDBTag_(ps.getParameter<string>("hltDBTag")),
46  ps_(0),
47  db_(0),
48  hltHandle_(),
49  hltESHandle_(),
50  hlt_()
51 {
52  if (src_==1) {
53  // Run
54  hltInputToken_=consumes<trigger::HLTPrescaleTable,edm::InRun>(hltInputTag_);
55  } else if (src_==2) {
56  // Lumi
57  hltInputToken_=consumes<trigger::HLTPrescaleTable,edm::InLumi>(hltInputTag_);
58  } else if (src_==3) {
59  // Event
60  hltInputToken_=consumes<trigger::HLTPrescaleTable>(hltInputTag_);
61  }
62 
63  LogInfo("HLTPrescaleRecorder")
64  << "src:run-lumi-event-condDB+psetName+tags: "
65  << src_ << ":" << run_ << "-" << lumi_ << "-" << event_ << "-"
66  << condDB_ << "+" << psetName_ << "+"
67  << hltInputTag_.encode() << "+" << hltDBTag_;
68 
71  } else if (src_==0) {
72  LogError("HLTPrescaleRecorder")<<"PrescaleService requested as source but unavailable!";
73  }
74 
77  } else if (condDB_) {
78  LogError("HLTPrescaleRecorder")<<"PoolDBOutputService requested as destination but unavailable!";
79  }
80 
81  if (run_) produces<HLTPrescaleTable,edm::InRun>("Run");
82  if (lumi_) produces<HLTPrescaleTable,edm::InLumi>("Lumi");
83  if (event_) produces<HLTPrescaleTable,edm::InEvent>("Event");
84 
85 }
T getParameter(std::string const &) const
edm::service::PrescaleService * ps_
Prescale service.
edm::EDGetTokenT< trigger::HLTPrescaleTable > hltInputToken_
InputToken of HLTPrescaleTable product (src=1,2,3)
std::string hltDBTag_
Tag of DB entry (HLT Key Name) (src=4)
edm::ESHandle< trigger::HLTPrescaleTableCond > hltESHandle_
std::string encode() const
Definition: InputTag.cc:164
cond::service::PoolDBOutputService * db_
Pool DB service.
trigger::HLTPrescaleTable hlt_
payload HLT object
edm::Handle< trigger::HLTPrescaleTable > hltHandle_
Handle and ESHandle for existing HLT object.
bool run_
(Multiple) Destinations
edm::InputTag hltInputTag_
InputTag of HLTPrescaleTable product (src=1,2,3)
HLTPrescaleRecorder::~HLTPrescaleRecorder ( )
virtual

Definition at line 87 of file HLTPrescaleRecorder.cc.

88 {
89 }

Member Function Documentation

void HLTPrescaleRecorder::beginLuminosityBlock ( edm::LuminosityBlock const &  iLumi,
const edm::EventSetup iSetup 
)
finaloverridevirtual

From PrescaleService default index updated at lumi block boundaries

From Lumi Block

Definition at line 169 of file HLTPrescaleRecorder.cc.

References edm::LuminosityBlock::getByToken(), edm::service::PrescaleService::getLvl1IndexDefault(), edm::service::PrescaleService::getLvl1Labels(), edm::service::PrescaleService::getPrescaleTable(), hlt_, hltHandle_, hltInputToken_, ps_, and src_.

169  {
170 
171  if (src_==0) {
174  if (ps_!=0) {
176  } else {
178  LogError("HLTPrescaleRecorder")<<"PrescaleService not found!";
179  }
180  } else if (src_==2) {
182  if (iLumi.getByToken(hltInputToken_,hltHandle_)) {
183  hlt_=*hltHandle_;
184  } else {
186  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in LumiBlock!";
187  }
188  }
189 
190  return;
191 }
edm::service::PrescaleService * ps_
Prescale service.
unsigned int getLvl1IndexDefault() const
edm::EDGetTokenT< trigger::HLTPrescaleTable > hltInputToken_
InputToken of HLTPrescaleTable product (src=1,2,3)
The single EDProduct containing the HLT Prescale Table.
const PrescaleTable_t & getPrescaleTable() const
trigger::HLTPrescaleTable hlt_
payload HLT object
const VString_t & getLvl1Labels() const
edm::Handle< trigger::HLTPrescaleTable > hltHandle_
Handle and ESHandle for existing HLT object.
void HLTPrescaleRecorder::beginRun ( edm::Run const &  iRun,
const edm::EventSetup iSetup 
)
finaloverridevirtual

From PrescaleTable tracked PSet

From PrescaleService default index updated at lumi block boundaries

From Run Block

From CondDB (needs ESProducer module as well)

Definition at line 116 of file HLTPrescaleRecorder.cc.

References edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), edm::Run::getByToken(), edm::service::PrescaleService::getLvl1IndexDefault(), edm::service::PrescaleService::getLvl1Labels(), edm::ParameterSet::getParameter(), edm::service::PrescaleService::getPrescaleTable(), edm::getProcessParameterSet(), hlt_, hltDBTag_, hltESHandle_, hltHandle_, hltInputToken_, i, HLT_25ns14e33_v1_cff::labels, contentValuesFiles::m, gen::n, ps_, psetName_, src_, AlCaHLTBitMon_QueryRunRegistry::string, and table.

116  {
117 
119 
120  if (src_==-1) {
123  ParameterSet iPS(pPSet.getParameter<ParameterSet>(psetName_));
124 
125  string defaultLabel(iPS.getParameter<std::string>("lvl1DefaultLabel"));
126  vector<string> labels(iPS.getParameter<std::vector<std::string> >("lvl1Labels"));
127  vector<ParameterSet> vpTable(iPS.getParameter<std::vector<ParameterSet> >("prescaleTable"));
128 
129  unsigned int set(0);
130  const unsigned int n(labels.size());
131  for (unsigned int i=0; i!=n; ++i) {
132  if (labels[i]==defaultLabel) set=i;
133  }
134 
135  map<string,vector<unsigned int> > table;
136  const unsigned int m (vpTable.size());
137  for (unsigned int i=0; i!=m; ++i) {
138  table[vpTable[i].getParameter<std::string>("pathName")] =
139  vpTable[i].getParameter<std::vector<unsigned int> >("prescales");
140  }
141  hlt_=HLTPrescaleTable(set,labels,table);
142 
143  } else if (src_==0) {
146  if (ps_!=0) {
148  } else {
150  LogError("HLTPrescaleRecorder")<<"PrescaleService not found!";
151  }
152  } else if (src_==1) {
154  if (iRun.getByToken(hltInputToken_,hltHandle_)) {
155  hlt_=*hltHandle_;
156  } else {
157  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in Run!";
158  }
159  } else if (src_==4) {
161  const HLTPrescaleTableRcd& hltRecord(iSetup.get<HLTPrescaleTableRcd>());
162  hltRecord.get(hltDBTag_,hltESHandle_);
163  hlt_=hltESHandle_->hltPrescaleTable();
164  }
165 
166  return;
167 }
int i
Definition: DBlmapReader.cc:9
edm::service::PrescaleService * ps_
Prescale service.
unsigned int getLvl1IndexDefault() const
edm::EDGetTokenT< trigger::HLTPrescaleTable > hltInputToken_
InputToken of HLTPrescaleTable product (src=1,2,3)
The single EDProduct containing the HLT Prescale Table.
std::string hltDBTag_
Tag of DB entry (HLT Key Name) (src=4)
const PrescaleTable_t & getPrescaleTable() const
edm::ESHandle< trigger::HLTPrescaleTableCond > hltESHandle_
trigger::HLTPrescaleTable hlt_
payload HLT object
#define table(NAME)
Definition: DbCore.h:49
const VString_t & getLvl1Labels() const
ParameterSet const & getProcessParameterSet()
Definition: Registry.cc:85
const T & get() const
Definition: EventSetup.h:55
edm::Handle< trigger::HLTPrescaleTable > hltHandle_
Handle and ESHandle for existing HLT object.
void HLTPrescaleRecorder::endLuminosityBlock ( edm::LuminosityBlock const &  iLumi,
const edm::EventSetup iSetup 
)
finaloverridevirtual

Definition at line 213 of file HLTPrescaleRecorder.cc.

213  {
214 }
void HLTPrescaleRecorder::endLuminosityBlockProduce ( edm::LuminosityBlock iLumi,
const edm::EventSetup iSetup 
)
finaloverridevirtual

Writing to Lumi Block

Definition at line 216 of file HLTPrescaleRecorder.cc.

References hlt_, lumi_, and edm::LuminosityBlock::put().

216  {
217 
218  if (lumi_) {
220  auto_ptr<HLTPrescaleTable> product (new HLTPrescaleTable(hlt_));
221  iLumi.put(product,"Lumi");
222  }
223  return;
224 }
The single EDProduct containing the HLT Prescale Table.
trigger::HLTPrescaleTable hlt_
payload HLT object
void put(std::auto_ptr< PROD > product)
Put a new product.
void HLTPrescaleRecorder::endRun ( edm::Run const &  iRun,
const edm::EventSetup iSetup 
)
finaloverridevirtual

Dump to logfile

Writing to CondDB (needs PoolDBOutputService)

Definition at line 226 of file HLTPrescaleRecorder.cc.

References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), condDB_, cond::service::PoolDBOutputService::createNewIOV(), db_, cond::service::PoolDBOutputService::endOfTime(), hlt_, i, cond::service::PoolDBOutputService::isNewTagRequest(), trigger::HLTPrescaleTable::labels(), HLT_25ns14e33_v1_cff::labels, python.multivaluedict::map(), gen::n, trigger::HLTPrescaleTable::size(), table, trigger::HLTPrescaleTable::table(), and edm::Timestamp::value().

226  {
227 
229  ostringstream oss;
230  const unsigned int n(hlt_.size());
231  oss << "PrescaleTable: # of labels = " << n << endl;
232  const vector<string>& labels(hlt_.labels());
233  for (unsigned int i=0; i!=n; ++i) {
234  oss << " " << i << "/'" << labels.at(i) << "'";
235  }
236  oss << endl;
237  const map<string,vector<unsigned int> >& table(hlt_.table());
238  oss << "PrescaleTable: # of paths = " << table.size() << endl;
239  const map<string,vector<unsigned int> >::const_iterator tb(table.begin());
240  const map<string,vector<unsigned int> >::const_iterator te(table.end());
241  for (map<string,vector<unsigned int> >::const_iterator ti=tb; ti!=te; ++ti) {
242  for (unsigned int i=0; i!=n; ++i) {
243  oss << " " << ti->second.at(i);
244  }
245  oss << " " << ti->first << endl;
246  }
247  LogVerbatim("HLTPrescaleRecorder") << oss.str();
248 
249  if (condDB_) {
251  if (db_!=0) {
253  const string rcdName("HLTPrescaleTableRcd");
254  if ( db_->isNewTagRequest(rcdName) ) {
256  db_->beginOfTime(),db_->endOfTime(),rcdName);
257  } else {
258  ::timeval tv;
259  gettimeofday(&tv,0);
260  edm::Timestamp tstamp((unsigned long long)tv.tv_sec);
262 // db_->currentTime()
263  tstamp.value()
264  ,rcdName);
265  }
266  } else {
267  LogError("HLTPrescaleRecorder") << "PoolDBOutputService not available!";
268  }
269  }
270 
271  return;
272 }
int i
Definition: DBlmapReader.cc:9
const std::map< std::string, std::vector< unsigned int > > & table() const
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
bool isNewTagRequest(const std::string &recordName)
const std::vector< std::string > & labels() const
cond::service::PoolDBOutputService * db_
Pool DB service.
trigger::HLTPrescaleTable hlt_
payload HLT object
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
#define table(NAME)
Definition: DbCore.h:49
unsigned int size() const
consistency condition: all vectors must have the same length
void HLTPrescaleRecorder::endRunProduce ( edm::Run iRun,
const edm::EventSetup iSetup 
)
finaloverridevirtual

Writing to Run Block

Definition at line 274 of file HLTPrescaleRecorder.cc.

References hlt_, edm::Run::put(), and run_.

274  {
275  if (run_) {
277  auto_ptr<HLTPrescaleTable> product (new HLTPrescaleTable(hlt_));
278  iRun.put(product,"Run");
279  }
280 }
The single EDProduct containing the HLT Prescale Table.
trigger::HLTPrescaleTable hlt_
payload HLT object
bool run_
(Multiple) Destinations
void put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Run.h:107
void HLTPrescaleRecorder::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 95 of file HLTPrescaleRecorder.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_25ns14e33_v1_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

95  {
97  // # (single) source:
98  // # -1:PrescaleServicePSet, 0:PrescaleService,
99  // # 1:Run, 2:Lumi, 3:Event, 4:CondDB
100  desc.add<int>("src",0);
101  // # (multiple) destinations
102  desc.add<bool>("run",true);
103  desc.add<bool>("lumi",true);
104  desc.add<bool>("event",true);
105  desc.add<bool>("condDB",true);
106  // # src=-1
107  desc.add<std::string>("psetName","");
108  // # src= 1,2,3
109  desc.add<edm::InputTag>("hltInputTag",edm::InputTag("","",""));
110  // # src= 4
111  desc.add<std::string>("hltDBTag","");
112  //
113  descriptions.add("hltPrescaleRecorder", desc);
114 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void HLTPrescaleRecorder::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
finaloverridevirtual

From Event Block

Writing to Event

Implements edm::one::EDProducerBase.

Definition at line 193 of file HLTPrescaleRecorder.cc.

References event_, edm::Event::getByToken(), hlt_, hltHandle_, hltInputToken_, edm::Event::put(), and src_.

193  {
194 
195  if (src_==3) {
197  if (iEvent.getByToken(hltInputToken_,hltHandle_)) {
198  hlt_=*hltHandle_;
199  } else {
201  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in Event!";
202  }
203  }
204 
205  if (event_) {
207  auto_ptr<HLTPrescaleTable> product (new HLTPrescaleTable(hlt_));
208  iEvent.put(product,"Event");
209  }
210 
211  return;
212 }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
edm::EDGetTokenT< trigger::HLTPrescaleTable > hltInputToken_
InputToken of HLTPrescaleTable product (src=1,2,3)
The single EDProduct containing the HLT Prescale Table.
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:115
trigger::HLTPrescaleTable hlt_
payload HLT object
edm::Handle< trigger::HLTPrescaleTable > hltHandle_
Handle and ESHandle for existing HLT object.

Member Data Documentation

bool HLTPrescaleRecorder::condDB_
private

Definition at line 70 of file HLTPrescaleRecorder.h.

Referenced by endRun(), and HLTPrescaleRecorder().

cond::service::PoolDBOutputService* HLTPrescaleRecorder::db_
private

Pool DB service.

Definition at line 85 of file HLTPrescaleRecorder.h.

Referenced by endRun(), and HLTPrescaleRecorder().

bool HLTPrescaleRecorder::event_
private

Definition at line 69 of file HLTPrescaleRecorder.h.

Referenced by HLTPrescaleRecorder(), and produce().

trigger::HLTPrescaleTable HLTPrescaleRecorder::hlt_
private

payload HLT object

Definition at line 92 of file HLTPrescaleRecorder.h.

Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlockProduce(), endRun(), endRunProduce(), and produce().

std::string HLTPrescaleRecorder::hltDBTag_
private

Tag of DB entry (HLT Key Name) (src=4)

Definition at line 80 of file HLTPrescaleRecorder.h.

Referenced by beginRun(), and HLTPrescaleRecorder().

edm::ESHandle<trigger::HLTPrescaleTableCond> HLTPrescaleRecorder::hltESHandle_
private

Definition at line 89 of file HLTPrescaleRecorder.h.

Referenced by beginRun().

edm::Handle<trigger::HLTPrescaleTable> HLTPrescaleRecorder::hltHandle_
private

Handle and ESHandle for existing HLT object.

Definition at line 88 of file HLTPrescaleRecorder.h.

Referenced by beginLuminosityBlock(), beginRun(), and produce().

edm::InputTag HLTPrescaleRecorder::hltInputTag_
private

InputTag of HLTPrescaleTable product (src=1,2,3)

Definition at line 76 of file HLTPrescaleRecorder.h.

Referenced by HLTPrescaleRecorder().

edm::EDGetTokenT<trigger::HLTPrescaleTable> HLTPrescaleRecorder::hltInputToken_
private

InputToken of HLTPrescaleTable product (src=1,2,3)

Definition at line 78 of file HLTPrescaleRecorder.h.

Referenced by beginLuminosityBlock(), beginRun(), HLTPrescaleRecorder(), and produce().

bool HLTPrescaleRecorder::lumi_
private

Definition at line 68 of file HLTPrescaleRecorder.h.

Referenced by endLuminosityBlockProduce(), and HLTPrescaleRecorder().

edm::service::PrescaleService* HLTPrescaleRecorder::ps_
private

Prescale service.

Definition at line 83 of file HLTPrescaleRecorder.h.

Referenced by beginLuminosityBlock(), beginRun(), and HLTPrescaleRecorder().

std::string HLTPrescaleRecorder::psetName_
private

Source configs name of PrescaleServicePSet (src=-1)

Definition at line 74 of file HLTPrescaleRecorder.h.

Referenced by beginRun(), and HLTPrescaleRecorder().

bool HLTPrescaleRecorder::run_
private

(Multiple) Destinations

Definition at line 67 of file HLTPrescaleRecorder.h.

Referenced by endRunProduce(), and HLTPrescaleRecorder().

int HLTPrescaleRecorder::src_
private

(Single) source: -1:PrescaleServicePSet 0:PrescaleService, 1:Run, 2:Lumi, 3:Event, 4:CondDB

Definition at line 64 of file HLTPrescaleRecorder.h.

Referenced by beginLuminosityBlock(), beginRun(), HLTPrescaleRecorder(), and produce().