ATLAS Offline Software
HLTTriggerType.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigConf_HLTTriggerType
6 #define TrigConf_HLTTriggerType
7 
8 #include <iosfwd>
9 #include <string>
10 
11 namespace TrigConf {
12 
13  class HLTTriggerType;
14  std::ostream & operator<<(std::ostream &, const HLTTriggerType &);
15 
23 
24  public:
25 
30  HLTTriggerType(int bit = 0);
31 
32  // accessors
33  int bit() const { return m_bit; }
34  void set_bit(int bit) { m_bit = bit; }
35 
37  void print(const std::string& indent="", unsigned int detail=1) const;
38 
39  private:
40 
41  int m_bit;
42 
43  friend std::ostream & operator<<(std::ostream &, const TrigConf::HLTTriggerType &);
44  };
45 
46 }
47 
48 #endif
TrigConf::HLTTriggerType::print
void print(const std::string &indent="", unsigned int detail=1) const
print method
Definition: HLTTriggerType.cxx:14
TrigConf::operator<<
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)
Definition: L1ThresholdBase.cxx:339
detail
Definition: extract_histogram_tag.cxx:14
TrigConf::HLTTriggerType::m_bit
int m_bit
the trigger type bit
Definition: HLTTriggerType.h:41
TrigConf::HLTTriggerType::operator<<
friend std::ostream & operator<<(std::ostream &, const TrigConf::HLTTriggerType &)
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:18
TrigConf::HLTTriggerType::set_bit
void set_bit(int bit)
setter of the trigger type bit
Definition: HLTTriggerType.h:34
TrigConf::HLTTriggerType
HLT trigger type configuration information.
Definition: HLTTriggerType.h:22
TrigConf::HLTTriggerType::bit
int bit() const
accessor to the trigger type bit
Definition: HLTTriggerType.h:33
TrigConf::HLTTriggerType::HLTTriggerType
HLTTriggerType(int bit=0)
constructor with configuration data
Definition: HLTTriggerType.cxx:9