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)
 
std::vector
< edm::ProductResolverIndex >
const & 
indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 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 & 
itemsToGetFromEvent () 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
 
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::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 35 of file HLTPrescaleRecorder.cc.

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

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_(0),
46  db_(0),
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::InRun>("Run");
81  if (lumi_) produces<HLTPrescaleTable,edm::InLumi>("Lumi");
82  if (event_) produces<HLTPrescaleTable,edm::InEvent>("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:165
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 86 of file HLTPrescaleRecorder.cc.

87 {
88 }

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 168 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_.

168  {
169 
170  if (src_==0) {
173  if (ps_!=0) {
175  } else {
177  LogError("HLTPrescaleRecorder")<<"PrescaleService not found!";
178  }
179  } else if (src_==2) {
181  if (iLumi.getByToken(hltInputToken_,hltHandle_)) {
182  hlt_=*hltHandle_;
183  } else {
185  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in LumiBlock!";
186  }
187  }
188 
189  return;
190 }
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 115 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_, i, HLT_FULL_cff::labels, visualization-live-secondInstance_cfg::m, edm::one::EDProducerBase::moduleDescription(), gen::n, ps_, psetName_, src_, AlCaHLTBitMon_QueryRunRegistry::string, and TableParser::table.

115  {
116 
118 
119  if (src_==-1) {
122  ParameterSet iPS(pPSet.getParameter<ParameterSet>(psetName_));
123 
124  string defaultLabel(iPS.getParameter<std::string>("lvl1DefaultLabel"));
125  vector<string> labels(iPS.getParameter<std::vector<std::string> >("lvl1Labels"));
126  vector<ParameterSet> vpTable(iPS.getParameter<std::vector<ParameterSet> >("prescaleTable"));
127 
128  unsigned int set(0);
129  const unsigned int n(labels.size());
130  for (unsigned int i=0; i!=n; ++i) {
131  if (labels[i]==defaultLabel) set=i;
132  }
133 
134  map<string,vector<unsigned int> > table;
135  const unsigned int m (vpTable.size());
136  for (unsigned int i=0; i!=m; ++i) {
137  table[vpTable[i].getParameter<std::string>("pathName")] =
138  vpTable[i].getParameter<std::vector<unsigned int> >("prescales");
139  }
140  hlt_=HLTPrescaleTable(set,labels,table);
141 
142  } else if (src_==0) {
145  if (ps_!=0) {
147  } else {
149  LogError("HLTPrescaleRecorder")<<"PrescaleService not found!";
150  }
151  } else if (src_==1) {
153  if (iRun.getByToken(hltInputToken_,hltHandle_)) {
154  hlt_=*hltHandle_;
155  } else {
156  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in Run!";
157  }
158  } else if (src_==4) {
160  const HLTPrescaleTableRcd& hltRecord(iSetup.get<HLTPrescaleTableRcd>());
161  hltRecord.get(hltDBTag_,hltESHandle_);
162  hlt_=hltESHandle_->hltPrescaleTable();
163  }
164 
165  return;
166 }
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
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:56
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 212 of file HLTPrescaleRecorder.cc.

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

Writing to Lumi Block

Definition at line 215 of file HLTPrescaleRecorder.cc.

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

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

Dump to logfile

Writing to CondDB (needs PoolDBOutputService)

Definition at line 225 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_FULL_cff::labels, gen::n, trigger::HLTPrescaleTable::size(), trigger::HLTPrescaleTable::table(), TableParser::table, and edm::Timestamp::value().

225  {
226 
228  ostringstream oss;
229  const unsigned int n(hlt_.size());
230  oss << "PrescaleTable: # of labels = " << n << endl;
231  const vector<string>& labels(hlt_.labels());
232  for (unsigned int i=0; i!=n; ++i) {
233  oss << " " << i << "/'" << labels.at(i) << "'";
234  }
235  oss << endl;
236  const map<string,vector<unsigned int> >& table(hlt_.table());
237  oss << "PrescaleTable: # of paths = " << table.size() << endl;
238  const map<string,vector<unsigned int> >::const_iterator tb(table.begin());
239  const map<string,vector<unsigned int> >::const_iterator te(table.end());
240  for (map<string,vector<unsigned int> >::const_iterator ti=tb; ti!=te; ++ti) {
241  for (unsigned int i=0; i!=n; ++i) {
242  oss << " " << ti->second.at(i);
243  }
244  oss << " " << ti->first << endl;
245  }
246  LogVerbatim("HLTPrescaleRecorder") << oss.str();
247 
248  if (condDB_) {
250  if (db_!=0) {
252  const string rcdName("HLTPrescaleTableRcd");
253  if ( db_->isNewTagRequest(rcdName) ) {
255  db_->beginOfTime(),db_->endOfTime(),rcdName);
256  } else {
257  ::timeval tv;
258  gettimeofday(&tv,0);
259  edm::Timestamp tstamp((unsigned long long)tv.tv_sec);
261 // db_->currentTime()
262  tstamp.value()
263  ,rcdName);
264  }
265  } else {
266  LogError("HLTPrescaleRecorder") << "PoolDBOutputService not available!";
267  }
268  }
269 
270  return;
271 }
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)
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 273 of file HLTPrescaleRecorder.cc.

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

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

Definition at line 94 of file HLTPrescaleRecorder.cc.

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

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

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

192  {
193 
194  if (src_==3) {
196  if (iEvent.getByToken(hltInputToken_,hltHandle_)) {
197  hlt_=*hltHandle_;
198  } else {
200  LogError("HLTPrescaleRecorder")<<"HLTPrescaleTable not found in Event!";
201  }
202  }
203 
204  if (event_) {
206  unique_ptr<HLTPrescaleTable> product (new HLTPrescaleTable(hlt_));
207  iEvent.put(std::move(product),"Event");
208  }
209 
210  return;
211 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
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.
def move
Definition: eostools.py:510
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().