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 hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () 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 () noexcept(false) 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
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::ProducerBase
ProducesCollector producesCollector ()
 
- 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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().

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  if (src_ == 1) {
51  // Run
52  hltInputToken_ = consumes<trigger::HLTPrescaleTable, edm::InRun>(hltInputTag_);
53  } else if (src_ == 2) {
54  // Lumi
55  hltInputToken_ = consumes<trigger::HLTPrescaleTable, edm::InLumi>(hltInputTag_);
56  } else if (src_ == 3) {
57  // Event
58  hltInputToken_ = consumes<trigger::HLTPrescaleTable>(hltInputTag_);
59  }
60 
61  LogInfo("HLTPrescaleRecorder") << "src:run-lumi-event-condDB+psetName+tags: " << src_ << ":" << run_ << "-" << lumi_
62  << "-" << event_ << "-" << condDB_ << "+" << psetName_ << "+" << hltInputTag_.encode()
63  << "+" << hltDBTag_;
64 
65  if (edm::Service<edm::service::PrescaleService>().isAvailable()) {
67  } else if (src_ == 0) {
68  LogError("HLTPrescaleRecorder") << "PrescaleService requested as source but unavailable!";
69  }
70 
73  } else if (condDB_) {
74  LogError("HLTPrescaleRecorder") << "PoolDBOutputService requested as destination but unavailable!";
75  }
76 
77  if (run_)
78  produces<HLTPrescaleTable, edm::Transition::EndRun>("Run");
79  if (lumi_)
80  produces<HLTPrescaleTable, edm::Transition::EndLuminosityBlock>("Lumi");
81  if (event_)
82  produces<HLTPrescaleTable, edm::Transition::Event>("Event");
83 }
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:159
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 165 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_.

165  {
166  if (src_ == 0) {
169  if (ps_ != nullptr) {
171  } else {
173  LogError("HLTPrescaleRecorder") << "PrescaleService not found!";
174  }
175  } else if (src_ == 2) {
177  if (iLumi.getByToken(hltInputToken_, hltHandle_)) {
178  hlt_ = *hltHandle_;
179  } else {
181  LogError("HLTPrescaleRecorder") << "HLTPrescaleTable not found in LumiBlock!";
182  }
183  }
184 
185  return;
186 }
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 112 of file HLTPrescaleRecorder.cc.

References edm::EventSetup::get(), edm::eventsetup::EventSetupRecordImplementation< T >::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, SummaryClient_cfi::labels, visualization-live-secondInstance_cfg::m, edm::one::EDProducerBase::moduleDescription(), dqmiodumpmetadata::n, ps_, psetName_, src_, AlCaHLTBitMon_QueryRunRegistry::string, and TableParser::table.

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

Definition at line 207 of file HLTPrescaleRecorder.cc.

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

Writing to Lumi Block

Definition at line 209 of file HLTPrescaleRecorder.cc.

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

209  {
210  if (lumi_) {
212  unique_ptr<HLTPrescaleTable> product(new HLTPrescaleTable(hlt_));
213  iLumi.put(std::move(product), "Lumi");
214  }
215  return;
216 }
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:511
void HLTPrescaleRecorder::endRun ( edm::Run const &  iRun,
const edm::EventSetup iSetup 
)
final

Dump to logfile

Writing to CondDB (needs PoolDBOutputService)

Definition at line 218 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(), SummaryClient_cfi::labels, trigger::HLTPrescaleTable::labels(), genParticles_cff::map, dqmiodumpmetadata::n, trigger::HLTPrescaleTable::size(), trigger::HLTPrescaleTable::table(), TableParser::table, and edm::Timestamp::value().

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

Writing to Run Block

Definition at line 264 of file HLTPrescaleRecorder.cc.

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

264  {
265  if (run_) {
267  unique_ptr<HLTPrescaleTable> product(new HLTPrescaleTable(hlt_));
268  iRun.put(std::move(product), "Run");
269  }
270 }
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:108
bool run_
(Multiple) Destinations
def move(src, dest)
Definition: eostools.py:511
void HLTPrescaleRecorder::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 91 of file HLTPrescaleRecorder.cc.

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

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

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

188  {
189  if (src_ == 3) {
191  if (iEvent.getByToken(hltInputToken_, hltHandle_)) {
192  hlt_ = *hltHandle_;
193  } else {
195  LogError("HLTPrescaleRecorder") << "HLTPrescaleTable not found in Event!";
196  }
197  }
198 
199  if (event_) {
201  unique_ptr<HLTPrescaleTable> product(new HLTPrescaleTable(hlt_));
202  iEvent.put(std::move(product), "Event");
203  }
204 
205  return;
206 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:131
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:525
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:511

Member Data Documentation

bool HLTPrescaleRecorder::condDB_
private

Definition at line 68 of file HLTPrescaleRecorder.h.

Referenced by endRun(), and HLTPrescaleRecorder().

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

Pool DB service.

Definition at line 83 of file HLTPrescaleRecorder.h.

Referenced by endRun(), and HLTPrescaleRecorder().

bool HLTPrescaleRecorder::event_
private

Definition at line 67 of file HLTPrescaleRecorder.h.

Referenced by HLTPrescaleRecorder(), and produce().

trigger::HLTPrescaleTable HLTPrescaleRecorder::hlt_
private

payload HLT object

Definition at line 90 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 78 of file HLTPrescaleRecorder.h.

Referenced by beginRun(), and HLTPrescaleRecorder().

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

Definition at line 87 of file HLTPrescaleRecorder.h.

Referenced by beginRun().

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

Handle and ESHandle for existing HLT object.

Definition at line 86 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 74 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 76 of file HLTPrescaleRecorder.h.

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

bool HLTPrescaleRecorder::lumi_
private

Definition at line 66 of file HLTPrescaleRecorder.h.

Referenced by endLuminosityBlockProduce(), and HLTPrescaleRecorder().

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

Prescale service.

Definition at line 81 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 72 of file HLTPrescaleRecorder.h.

Referenced by beginRun(), and HLTPrescaleRecorder().

bool HLTPrescaleRecorder::run_
private

(Multiple) Destinations

Definition at line 65 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 62 of file HLTPrescaleRecorder.h.

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