CMS 3D CMS Logo

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

void beginLuminosityBlock (edm::LuminosityBlock const &iLumi, const edm::EventSetup &iSetup) final
 
void beginRun (edm::Run const &iRun, const edm::EventSetup &iSetup) final
 
void endLuminosityBlock (edm::LuminosityBlock const &iLumi, const edm::EventSetup &iSetup) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) final
 
void endRun (edm::Run const &iRun, const edm::EventSetup &iSetup) final
 
void endRunProduce (edm::Run &iRun, const edm::EventSetup &iSetup) final
 
 HLTPrescaleRecorder (const edm::ParameterSet &)
 
void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) final
 
 ~HLTPrescaleRecorder () override
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

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::HLTPrescaleTableCondhltESHandle_
 
edm::Handle< trigger::HLTPrescaleTablehltHandle_
 Handle and ESHandle for existing HLT object. More...
 
edm::InputTag hltInputTag_
 InputTag of HLTPrescaleTable product (src=1,2,3) More...
 
edm::EDGetTokenT< trigger::HLTPrescaleTablehltInputToken_
 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
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
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 35 of file HLTPrescaleRecorder.cc.

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

35  :
36  src_(ps.getParameter<int>("src")),
37  run_(ps.getParameter<bool>("run")),
38  lumi_(ps.getParameter<bool>("lumi")),
39  event_(ps.getParameter<bool>("event")),
40  condDB_(ps.getParameter<bool>("condDB")),
41  psetName_(ps.getParameter<string>("psetName")),
42  hltInputTag_(ps.getParameter<InputTag>("hltInputTag")),
44  hltDBTag_(ps.getParameter<string>("hltDBTag")),
45  ps_(nullptr),
46  db_(nullptr),
47  hltHandle_(),
48  hltESHandle_(),
49  hlt_()
50 {
51  if (src_==1) {
52  // Run
53  hltInputToken_=consumes<trigger::HLTPrescaleTable,edm::InRun>(hltInputTag_);
54  } else if (src_==2) {
55  // Lumi
56  hltInputToken_=consumes<trigger::HLTPrescaleTable,edm::InLumi>(hltInputTag_);
57  } else if (src_==3) {
58  // Event
59  hltInputToken_=consumes<trigger::HLTPrescaleTable>(hltInputTag_);
60  }
61 
62  LogInfo("HLTPrescaleRecorder")
63  << "src:run-lumi-event-condDB+psetName+tags: "
64  << src_ << ":" << run_ << "-" << lumi_ << "-" << event_ << "-"
65  << condDB_ << "+" << psetName_ << "+"
66  << hltInputTag_.encode() << "+" << hltDBTag_;
67 
70  } else if (src_==0) {
71  LogError("HLTPrescaleRecorder")<<"PrescaleService requested as source but unavailable!";
72  }
73 
76  } else if (condDB_) {
77  LogError("HLTPrescaleRecorder")<<"PoolDBOutputService requested as destination but unavailable!";
78  }
79 
80  if (run_) produces<HLTPrescaleTable,edm::Transition::EndRun>("Run");
81  if (lumi_) produces<HLTPrescaleTable,edm::Transition::EndLuminosityBlock>("Lumi");
82  if (event_) produces<HLTPrescaleTable,edm::Transition::Event>("Event");
83 
84 }
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:166
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 ( )
overridedefault

Referenced by HLTPrescaleRecorder().

Member Function Documentation

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

From PrescaleService default index updated at lumi block boundaries

From Lumi Block

Definition at line 166 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_.

166  {
167 
168  if (src_==0) {
171  if (ps_!=nullptr) {
173  } else {
175  LogError("HLTPrescaleRecorder")<<"PrescaleService not found!";
176  }
177  } else if (src_==2) {
179  if (iLumi.getByToken(hltInputToken_,hltHandle_)) {
180  hlt_=*hltHandle_;
181  } else {
183  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in LumiBlock!";
184  }
185  }
186 
187  return;
188 }
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 
)
final

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 113 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::getProcessParameterSetContainingModule(), hlt_, hltDBTag_, hltESHandle_, hltHandle_, hltInputToken_, trigger::HLTPrescaleTableCond::hltPrescaleTable(), mps_fire::i, tablePrinter::labels, funct::m, edm::one::EDProducerBase::moduleDescription(), gen::n, ps_, psetName_, src_, and AlCaHLTBitMon_QueryRunRegistry::string.

113  {
114 
116 
117  if (src_==-1) {
120  ParameterSet iPS(pPSet.getParameter<ParameterSet>(psetName_));
121 
122  string defaultLabel(iPS.getParameter<std::string>("lvl1DefaultLabel"));
123  vector<string> labels(iPS.getParameter<std::vector<std::string> >("lvl1Labels"));
124  vector<ParameterSet> vpTable(iPS.getParameter<std::vector<ParameterSet> >("prescaleTable"));
125 
126  unsigned int set(0);
127  const unsigned int n(labels.size());
128  for (unsigned int i=0; i!=n; ++i) {
129  if (labels[i]==defaultLabel) set=i;
130  }
131 
132  map<string,vector<unsigned int> > table;
133  const unsigned int m (vpTable.size());
134  for (unsigned int i=0; i!=m; ++i) {
135  table[vpTable[i].getParameter<std::string>("pathName")] =
136  vpTable[i].getParameter<std::vector<unsigned int> >("prescales");
137  }
138  hlt_=HLTPrescaleTable(set,labels,table);
139 
140  } else if (src_==0) {
143  if (ps_!=nullptr) {
145  } else {
147  LogError("HLTPrescaleRecorder")<<"PrescaleService not found!";
148  }
149  } else if (src_==1) {
151  if (iRun.getByToken(hltInputToken_,hltHandle_)) {
152  hlt_=*hltHandle_;
153  } else {
154  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in Run!";
155  }
156  } else if (src_==4) {
158  const HLTPrescaleTableRcd& hltRecord(iSetup.get<HLTPrescaleTableRcd>());
159  hltRecord.get(hltDBTag_,hltESHandle_);
161  }
162 
163  return;
164 }
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
ModuleDescription const & moduleDescription() const
edm::ESHandle< trigger::HLTPrescaleTableCond > hltESHandle_
ParameterSet const & getProcessParameterSetContainingModule(ModuleDescription const &moduleDescription)
trigger::HLTPrescaleTable hlt_
payload HLT object
const VString_t & getLvl1Labels() const
const T & get() const
Definition: EventSetup.h:59
edm::Handle< trigger::HLTPrescaleTable > hltHandle_
Handle and ESHandle for existing HLT object.
const trigger::HLTPrescaleTable & hltPrescaleTable() const
trivial const accessor
void HLTPrescaleRecorder::endLuminosityBlock ( edm::LuminosityBlock const &  iLumi,
const edm::EventSetup iSetup 
)
final

Definition at line 210 of file HLTPrescaleRecorder.cc.

210  {
211 }
void HLTPrescaleRecorder::endLuminosityBlockProduce ( edm::LuminosityBlock iLumi,
const edm::EventSetup iSetup 
)
final

Writing to Lumi Block

Definition at line 213 of file HLTPrescaleRecorder.cc.

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

213  {
214 
215  if (lumi_) {
217  unique_ptr<HLTPrescaleTable> product (new HLTPrescaleTable(hlt_));
218  iLumi.put(std::move(product),"Lumi");
219  }
220  return;
221 }
The single EDProduct containing the HLT Prescale Table.
void put(std::unique_ptr< PROD > product)
Put a new product.
trigger::HLTPrescaleTable hlt_
payload HLT object
def move(src, dest)
Definition: eostools.py:510
void HLTPrescaleRecorder::endRun ( edm::Run const &  iRun,
const edm::EventSetup iSetup 
)
final

Dump to logfile

Writing to CondDB (needs PoolDBOutputService)

Definition at line 223 of file HLTPrescaleRecorder.cc.

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

223  {
224 
226  ostringstream oss;
227  const unsigned int n(hlt_.size());
228  oss << "PrescaleTable: # of labels = " << n << endl;
229  const vector<string>& labels(hlt_.labels());
230  for (unsigned int i=0; i!=n; ++i) {
231  oss << " " << i << "/'" << labels.at(i) << "'";
232  }
233  oss << endl;
234  const map<string,vector<unsigned int> >& table(hlt_.table());
235  oss << "PrescaleTable: # of paths = " << table.size() << endl;
236  const map<string,vector<unsigned int> >::const_iterator tb(table.begin());
237  const map<string,vector<unsigned int> >::const_iterator te(table.end());
238  for (map<string,vector<unsigned int> >::const_iterator ti=tb; ti!=te; ++ti) {
239  for (unsigned int i=0; i!=n; ++i) {
240  oss << " " << ti->second.at(i);
241  }
242  oss << " " << ti->first << endl;
243  }
244  LogVerbatim("HLTPrescaleRecorder") << oss.str();
245 
246  if (condDB_) {
248  if (db_!=nullptr) {
249  auto product (new HLTPrescaleTableCond(hlt_));
250  const string rcdName("HLTPrescaleTableRcd");
251  if ( db_->isNewTagRequest(rcdName) ) {
253  db_->beginOfTime(),db_->endOfTime(),rcdName);
254  } else {
255  ::timeval tv;
256  gettimeofday(&tv,nullptr);
257  edm::Timestamp tstamp((unsigned long long)tv.tv_sec);
259 // db_->currentTime()
260  tstamp.value()
261  ,rcdName);
262  }
263  } else {
264  LogError("HLTPrescaleRecorder") << "PoolDBOutputService not available!";
265  }
266  }
267 
268  return;
269 }
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)
unsigned int size() const
consistency condition: all vectors must have the same length
void HLTPrescaleRecorder::endRunProduce ( edm::Run iRun,
const edm::EventSetup iSetup 
)
final

Writing to Run Block

Definition at line 271 of file HLTPrescaleRecorder.cc.

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

271  {
272  if (run_) {
274  unique_ptr<HLTPrescaleTable> product (new HLTPrescaleTable(hlt_));
275  iRun.put(std::move(product),"Run");
276  }
277 }
The single EDProduct containing the HLT Prescale Table.
trigger::HLTPrescaleTable hlt_
payload HLT object
void put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Run.h:114
bool run_
(Multiple) Destinations
def move(src, dest)
Definition: eostools.py:510
void HLTPrescaleRecorder::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 92 of file HLTPrescaleRecorder.cc.

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

92  {
94  // # (single) source:
95  // # -1:PrescaleServicePSet, 0:PrescaleService,
96  // # 1:Run, 2:Lumi, 3:Event, 4:CondDB
97  desc.add<int>("src",0);
98  // # (multiple) destinations
99  desc.add<bool>("run",true);
100  desc.add<bool>("lumi",true);
101  desc.add<bool>("event",true);
102  desc.add<bool>("condDB",true);
103  // # src=-1
104  desc.add<std::string>("psetName","");
105  // # src= 1,2,3
106  desc.add<edm::InputTag>("hltInputTag",edm::InputTag("","",""));
107  // # src= 4
108  desc.add<std::string>("hltDBTag","");
109  //
110  descriptions.add("hltPrescaleRecorder", desc);
111 }
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 
)
final

From Event Block

Writing to Event

Definition at line 190 of file HLTPrescaleRecorder.cc.

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

190  {
191 
192  if (src_==3) {
194  if (iEvent.getByToken(hltInputToken_,hltHandle_)) {
195  hlt_=*hltHandle_;
196  } else {
198  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in Event!";
199  }
200  }
201 
202  if (event_) {
204  unique_ptr<HLTPrescaleTable> product (new HLTPrescaleTable(hlt_));
205  iEvent.put(std::move(product),"Event");
206  }
207 
208  return;
209 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:136
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:519
edm::EDGetTokenT< trigger::HLTPrescaleTable > hltInputToken_
InputToken of HLTPrescaleTable product (src=1,2,3)
The single EDProduct containing the HLT Prescale Table.
trigger::HLTPrescaleTable hlt_
payload HLT object
edm::Handle< trigger::HLTPrescaleTable > hltHandle_
Handle and ESHandle for existing HLT object.
def move(src, dest)
Definition: eostools.py:510

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().