CMS 3D CMS Logo

PackedTriggerPrescales.cc
Go to the documentation of this file.
3 
5  : prescaleValues_(), triggerResults_(edm::RefProd<edm::TriggerResults>(handle).refCore()), triggerNames_(nullptr) {
6  prescaleValues_.resize(handle->size(), 0);
7 }
8 
10  if (unsigned(index) >= triggerResults().size())
11  throw cms::Exception("InvalidReference", "Index out of bounds");
12  prescaleValues_[index] = prescale;
13 }
size
Write out results.
std::vector< double > prescaleValues_
static std::string const triggerResults
Definition: EdmProvDump.cc:47
edm::RefProd< Container > RefProd
HLT enums.
void addPrescaledTrigger(int index, double prescale)