1 #ifndef DataFormats_Common_TriggerResults_h
2 #define DataFormats_Common_TriggerResults_h
87 const std::string&
name(
unsigned int i)
const {
return names_.at(i);}
90 unsigned int find (
const std::string&
name)
const {
91 const unsigned int n(
size());
92 for (
unsigned int i = 0;
i !=
n; ++
i)
if (
names_[
i] == name)
return i;
void swap(Hash< I > &other)
const std::string & name(unsigned int i) const
Obsolete.
TriggerResults & operator=(TriggerResults const &rhs)
Copy assignment using swap.
void swap(Association< C > &lhs, Association< C > &rhs)
const std::vector< std::string > & getTriggerNames() const
Obsolete.
unsigned int size() const
Get number of paths stored.
void swap(HLTGlobalStatus &other)
swap function
TriggerResults(const HLTGlobalStatus &hlt, const Strings &names)
Not used anymore.
std::vector< std::string > Strings
Strings names_
Not used anymore.
edm::ParameterSetID psetid_
Parameter set id.
TriggerResults(const HLTGlobalStatus &hlt, const edm::ParameterSetID &psetid)
Standard contructor.
TriggerResults()
Trivial contructor.
void swap(TriggerResults &other)
swap function
unsigned int find(const std::string &name) const
Obsolete.
static const HistoName names[]
const ParameterSetID & parameterSetID() const
Get stored parameter set id.