TrigConf::HLTTriggerElement Class Reference

HLT trigger element configuration information. More...

#include <HLTTriggerElement.h>

Inheritance diagram for TrigConf::HLTTriggerElement:
TrigConf::TrigConfData

List of all members.

Public Member Functions

 HLTTriggerElement ()
 default constructor
 HLTTriggerElement (const std::string &name)
 constructor with configuration data
 HLTTriggerElement (unsigned int i, const std::string &name)
 constructor with configuration data
 HLTTriggerElement (const std::pair< unsigned int, std::string > &p)
 constructor with configuration data
virtual ~HLTTriggerElement ()
 destructor
unsigned int hashId () const
unsigned int id () const
void setHashId (unsigned int hashid)
virtual void print (const std::string &indent="", unsigned int detail=1) const
 print method
virtual void writeXML (std::ofstream &xmlfile)
void setL2 (bool on=true) const
void setEF (bool on=true) const
void reset () const
bool inL2 () const
bool inEF () const
bool isSet () const

Static Public Member Functions

static bool getLabel (unsigned int id, std::string &label)
 find name from ID in the map m_IdToLabel
static bool getId (const char *label, unsigned int &id)
 find ID from name in the map m_IdToLabel

Friends

std::ostream & operator<< (std::ostream &, const TrigConf::HLTTriggerElement &)

Detailed Description

HLT trigger element configuration information.

A trigger element is an artificial trigger object (a refined electron, a Z-boson candidate etc.) More detail on the HTL Steering TWIKI.


Constructor & Destructor Documentation

TrigConf::HLTTriggerElement::HLTTriggerElement ( const std::string &  name  ) 

constructor with configuration data

Parameters:
i ID of the trigger element
n name of the trigger element
TrigConf::HLTTriggerElement::HLTTriggerElement ( unsigned int  i,
const std::string &  name 
)

constructor with configuration data

Parameters:
i ID of the trigger element
n name of the trigger element
TrigConf::HLTTriggerElement::HLTTriggerElement ( const std::pair< unsigned int, std::string > &  p  ) 

constructor with configuration data

Parameters:
p pair (ID,name) of the trigger element

Member Function Documentation

bool HLTTriggerElement::getId ( const char *  label,
unsigned int &  id 
) [static]

find ID from name in the map m_IdToLabel

Parameters:
label the trigger element name that has been found
id reference to the trigger element ID that has been found
Returns:
true if name has been found
static bool TrigConf::HLTTriggerElement::getLabel ( unsigned int  id,
std::string &  label 
) [static]

find name from ID in the map m_IdToLabel

Parameters:
id trigger element ID
label reference to be set with the trigger element name that has been found
Returns:
true if ID has been found

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1