ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
TrigConf::MuonThresholdSet Class Reference

#include <MuonThresholdSet.h>

Inheritance diagram for TrigConf::MuonThresholdSet:
Collaboration diagram for TrigConf::MuonThresholdSet:

Public Member Functions

 MuonThresholdSet ()
 
virtual ~MuonThresholdSet () override=default
 
bool rpcAvailable () const
 
bool rpcAvailableOnline () const
 
void setRpcAvailable (const bool &b)
 
void setRpcAvailableOnline (const bool &b)
 
bool tgcAvailable () const
 
void setTgcAvailable (const bool &b)
 
bool tgcAvailableOnline () const
 
void setTgcAvailableOnline (const bool &b)
 
int rpcSetId () const
 
void setRpcSetId (const int &i)
 
const std::string & rpcSetName () const
 
void setRpcSetName (const std::string &s)
 
int tgcSetId () const
 
void setTgcSetId (const int &i)
 
const std::string & tgcSetName () const
 
void setTgcSetName (const std::string &s)
 
int rpcPt1Id () const
 
void setRpcPt1Id (const int &i)
 
int rpcPt2Id () const
 
void setRpcPt2Id (const int &i)
 
int rpcPt3Id () const
 
void setRpcPt3Id (const int &i)
 
int rpcPt4Id () const
 
void setRpcPt4Id (const int &i)
 
int rpcPt5Id () const
 
void setRpcPt5Id (const int &i)
 
int rpcPt6Id () const
 
void setRpcPt6Id (const int &i)
 
virtual void print (const std::string &indent="", unsigned int detail=1) const override
 
unsigned int lvl1MasterTableId () const
 
void setLvl1MasterTableId (unsigned int id)
 
int superMasterTableId () const
 
unsigned int smk () const
 
unsigned int id () const
 
const std::string & name () const
 
const std::string & comment () const
 
unsigned int version () const
 
void setSuperMasterTableId (int id)
 
void setSMK (int id)
 
void setId (unsigned int id)
 
void setName (const std::string &name)
 
void setVersion (unsigned int version)
 
void setComment (const std::string &c)
 
void printNameIdV (const std::string &indent="") const
 
virtual std::string __str__ () const
 

Protected Member Functions

std::ostream & indent (std::ostream &o, int lvl, int size) const
 

Private Attributes

bool m_rpc_avail
 
bool m_rpc_avail_online
 
bool m_tgc_avail
 
bool m_tgc_avail_online
 
std::string m_rpc_set_name
 
int m_rpc_set_ext_id
 
int m_rpc_pt1_ext_id
 
int m_rpc_pt2_ext_id
 
int m_rpc_pt3_ext_id
 
int m_rpc_pt4_ext_id
 
int m_rpc_pt5_ext_id
 
int m_rpc_pt6_ext_id
 
std::string m_tgc_set_name
 
int m_tgc_set_ext_id
 
unsigned int m_Lvl1MasterId
 
unsigned int m_smk
 
unsigned int m_id
 
std::string m_name
 
unsigned int m_version
 
std::string m_comment
 

Detailed Description

Definition at line 13 of file MuonThresholdSet.h.

Constructor & Destructor Documentation

◆ MuonThresholdSet()

TrigConf::MuonThresholdSet::MuonThresholdSet ( )

Definition at line 10 of file MuonThresholdSet.cxx.

10  :
12  m_rpc_avail (false),
13  m_rpc_avail_online (false),
14  m_tgc_avail (false),
15  m_tgc_avail_online (false),
16  m_rpc_set_name ("unknown"),
17  m_rpc_set_ext_id (-1),
18  m_rpc_pt1_ext_id (-1),
19  m_rpc_pt2_ext_id (-1),
20  m_rpc_pt3_ext_id (-1),
21  m_rpc_pt4_ext_id (-1),
22  m_rpc_pt5_ext_id (-1),
23  m_rpc_pt6_ext_id (-1),
24  m_tgc_set_name ("unknown"),
25  m_tgc_set_ext_id (-1)
26 {
27 }

◆ ~MuonThresholdSet()

virtual TrigConf::MuonThresholdSet::~MuonThresholdSet ( )
overridevirtualdefault

Member Function Documentation

◆ __str__()

string TrigConfData::__str__ ( ) const
virtualinherited

Reimplemented in TrigConf::HLTChain, TrigConf::HLTPrescaleSet, TrigConf::TriggerItem, and TrigConf::HLTSequence.

Definition at line 50 of file TrigConfData.cxx.

50  {
51  stringstream s;
52  s << *this;
53  return s.str();
54 }

◆ comment()

const std::string& TrigConf::TrigConfData::comment ( ) const
inlineinherited

Definition at line 23 of file TrigConfData.h.

23 {return m_comment;}

◆ id()

unsigned int TrigConf::TrigConfData::id ( ) const
inlineinherited

Definition at line 21 of file TrigConfData.h.

21 {return m_id;}

◆ indent()

std::ostream & TrigConfData::indent ( std::ostream &  o,
int  lvl,
int  size 
) const
protectedinherited

Definition at line 23 of file TrigConfData.cxx.

23  {
24  int width = lvl*size;
25  if(width==0) return o;
26  o << setw(lvl*size) << " ";
27  return o;
28 }

◆ lvl1MasterTableId()

unsigned int TrigConf::L1DataBaseclass::lvl1MasterTableId ( ) const
inlineinherited

Definition at line 30 of file L1DataBaseclass.h.

30 { return m_Lvl1MasterId; }

◆ name()

const std::string& TrigConf::TrigConfData::name ( ) const
inlineinherited

Definition at line 22 of file TrigConfData.h.

22 {return m_name;}

◆ print()

void TrigConf::MuonThresholdSet::print ( const std::string &  indent = "",
unsigned int  detail = 1 
) const
overridevirtual

Implements TrigConf::TrigConfData.

Definition at line 30 of file MuonThresholdSet.cxx.

30  {
31  cout << indent << "=============================================" << endl;
32  cout << indent << "MuonThresholdSet Object for sm key = " << superMasterTableId() << endl;
33  cout << indent << "=============================================" << endl;
35  cout << indent << "RPC available (online) " << rpcAvailable()
36  << "(" << rpcAvailableOnline() << ")" << endl;
37  cout << indent << "TGC available (online) " << tgcAvailable()
38  << "(" << tgcAvailableOnline() << ")" << endl;
39  cout << indent << "RPC set name '" << rpcSetName() << "'" << endl;
40  cout << indent << "RPC set id " << rpcSetId() << endl;
41  cout << indent << "RPC pt1 id " << rpcPt1Id() << endl;
42  cout << indent << "RPC pt2 id " << rpcPt2Id() << endl;
43  cout << indent << "RPC pt3 id " << rpcPt3Id() << endl;
44  cout << indent << "RPC pt4 id " << rpcPt4Id() << endl;
45  cout << indent << "RPC pt5 id " << rpcPt5Id() << endl;
46  cout << indent << "RPC pt6 id " << rpcPt6Id() << endl;
47  cout << indent << "TGC set id " << tgcSetId() << endl;
48  cout << indent << "TGC set name '" << tgcSetName() << "'" << endl;
49 }

◆ printNameIdV()

void TrigConfData::printNameIdV ( const std::string &  indent = "") const
inherited

Definition at line 31 of file TrigConfData.cxx.

31  {
32  cout << indent << name();
33  if(id()>0 || version()>0)
34  cout << " (id=" << id() << "/v=" << version() << ")";
35  cout << endl;
36  if(comment()!="")
37  cout << indent << "Comment: " << comment() << endl;
38 }

◆ rpcAvailable()

bool TrigConf::MuonThresholdSet::rpcAvailable ( ) const
inline

Definition at line 18 of file MuonThresholdSet.h.

18 {return m_rpc_avail;}

◆ rpcAvailableOnline()

bool TrigConf::MuonThresholdSet::rpcAvailableOnline ( ) const
inline

Definition at line 19 of file MuonThresholdSet.h.

19 {return m_rpc_avail_online;}

◆ rpcPt1Id()

int TrigConf::MuonThresholdSet::rpcPt1Id ( ) const
inline

Definition at line 40 of file MuonThresholdSet.h.

40 {return m_rpc_pt1_ext_id;}

◆ rpcPt2Id()

int TrigConf::MuonThresholdSet::rpcPt2Id ( ) const
inline

Definition at line 42 of file MuonThresholdSet.h.

42 {return m_rpc_pt2_ext_id;}

◆ rpcPt3Id()

int TrigConf::MuonThresholdSet::rpcPt3Id ( ) const
inline

Definition at line 44 of file MuonThresholdSet.h.

44 {return m_rpc_pt3_ext_id;}

◆ rpcPt4Id()

int TrigConf::MuonThresholdSet::rpcPt4Id ( ) const
inline

Definition at line 46 of file MuonThresholdSet.h.

46 {return m_rpc_pt4_ext_id;}

◆ rpcPt5Id()

int TrigConf::MuonThresholdSet::rpcPt5Id ( ) const
inline

Definition at line 48 of file MuonThresholdSet.h.

48 {return m_rpc_pt5_ext_id;}

◆ rpcPt6Id()

int TrigConf::MuonThresholdSet::rpcPt6Id ( ) const
inline

Definition at line 50 of file MuonThresholdSet.h.

50 {return m_rpc_pt6_ext_id;}

◆ rpcSetId()

int TrigConf::MuonThresholdSet::rpcSetId ( ) const
inline

Definition at line 28 of file MuonThresholdSet.h.

28 {return m_rpc_set_ext_id;}

◆ rpcSetName()

const std::string& TrigConf::MuonThresholdSet::rpcSetName ( ) const
inline

Definition at line 31 of file MuonThresholdSet.h.

31 {return m_rpc_set_name;}

◆ setComment()

void TrigConf::TrigConfData::setComment ( const std::string &  c)
inlineinherited

Definition at line 32 of file TrigConfData.h.

32 { m_comment = c;}

◆ setId()

void TrigConf::TrigConfData::setId ( unsigned int  id)
inlineinherited

Definition at line 29 of file TrigConfData.h.

29 { m_id=id; }

◆ setLvl1MasterTableId()

void TrigConf::L1DataBaseclass::setLvl1MasterTableId ( unsigned int  id)
inlineinherited

Definition at line 31 of file L1DataBaseclass.h.

31 { m_Lvl1MasterId = id; }

◆ setName()

void TrigConf::TrigConfData::setName ( const std::string &  name)
inlineinherited

Definition at line 30 of file TrigConfData.h.

30 { m_name = name;}

◆ setRpcAvailable()

void TrigConf::MuonThresholdSet::setRpcAvailable ( const bool &  b)
inline

Definition at line 20 of file MuonThresholdSet.h.

20 {m_rpc_avail = b;}

◆ setRpcAvailableOnline()

void TrigConf::MuonThresholdSet::setRpcAvailableOnline ( const bool &  b)
inline

Definition at line 21 of file MuonThresholdSet.h.

◆ setRpcPt1Id()

void TrigConf::MuonThresholdSet::setRpcPt1Id ( const int &  i)
inline

Definition at line 41 of file MuonThresholdSet.h.

◆ setRpcPt2Id()

void TrigConf::MuonThresholdSet::setRpcPt2Id ( const int &  i)
inline

Definition at line 43 of file MuonThresholdSet.h.

◆ setRpcPt3Id()

void TrigConf::MuonThresholdSet::setRpcPt3Id ( const int &  i)
inline

Definition at line 45 of file MuonThresholdSet.h.

◆ setRpcPt4Id()

void TrigConf::MuonThresholdSet::setRpcPt4Id ( const int &  i)
inline

Definition at line 47 of file MuonThresholdSet.h.

◆ setRpcPt5Id()

void TrigConf::MuonThresholdSet::setRpcPt5Id ( const int &  i)
inline

Definition at line 49 of file MuonThresholdSet.h.

◆ setRpcPt6Id()

void TrigConf::MuonThresholdSet::setRpcPt6Id ( const int &  i)
inline

Definition at line 51 of file MuonThresholdSet.h.

◆ setRpcSetId()

void TrigConf::MuonThresholdSet::setRpcSetId ( const int &  i)
inline

Definition at line 29 of file MuonThresholdSet.h.

◆ setRpcSetName()

void TrigConf::MuonThresholdSet::setRpcSetName ( const std::string &  s)
inline

Definition at line 32 of file MuonThresholdSet.h.

32 {m_rpc_set_name = s;}

◆ setSMK()

void TrigConf::TrigConfData::setSMK ( int  id)
inlineinherited

Definition at line 28 of file TrigConfData.h.

28 {m_smk=id;}

◆ setSuperMasterTableId()

void TrigConf::TrigConfData::setSuperMasterTableId ( int  id)
inlineinherited

Definition at line 27 of file TrigConfData.h.

27 {m_smk=id;}

◆ setTgcAvailable()

void TrigConf::MuonThresholdSet::setTgcAvailable ( const bool &  b)
inline

Definition at line 24 of file MuonThresholdSet.h.

24 {m_tgc_avail = b;}

◆ setTgcAvailableOnline()

void TrigConf::MuonThresholdSet::setTgcAvailableOnline ( const bool &  b)
inline

Definition at line 26 of file MuonThresholdSet.h.

◆ setTgcSetId()

void TrigConf::MuonThresholdSet::setTgcSetId ( const int &  i)
inline

Definition at line 35 of file MuonThresholdSet.h.

◆ setTgcSetName()

void TrigConf::MuonThresholdSet::setTgcSetName ( const std::string &  s)
inline

Definition at line 38 of file MuonThresholdSet.h.

38 {m_tgc_set_name = s;}

◆ setVersion()

void TrigConf::TrigConfData::setVersion ( unsigned int  version)
inlineinherited

Definition at line 31 of file TrigConfData.h.

31 { m_version = version;}

◆ smk()

unsigned int TrigConf::TrigConfData::smk ( ) const
inlineinherited

Definition at line 20 of file TrigConfData.h.

20 {return m_smk;}

◆ superMasterTableId()

int TrigConf::TrigConfData::superMasterTableId ( ) const
inlineinherited

Definition at line 19 of file TrigConfData.h.

19 {return (int)m_smk;}

◆ tgcAvailable()

bool TrigConf::MuonThresholdSet::tgcAvailable ( ) const
inline

Definition at line 23 of file MuonThresholdSet.h.

23 {return m_tgc_avail;}

◆ tgcAvailableOnline()

bool TrigConf::MuonThresholdSet::tgcAvailableOnline ( ) const
inline

Definition at line 25 of file MuonThresholdSet.h.

25 {return m_tgc_avail_online;}

◆ tgcSetId()

int TrigConf::MuonThresholdSet::tgcSetId ( ) const
inline

Definition at line 34 of file MuonThresholdSet.h.

34 {return m_tgc_set_ext_id;}

◆ tgcSetName()

const std::string& TrigConf::MuonThresholdSet::tgcSetName ( ) const
inline

Definition at line 37 of file MuonThresholdSet.h.

37 {return m_tgc_set_name;}

◆ version()

unsigned int TrigConf::TrigConfData::version ( ) const
inlineinherited

Definition at line 24 of file TrigConfData.h.

24 {return m_version;}

Member Data Documentation

◆ m_comment

std::string TrigConf::TrigConfData::m_comment
privateinherited

Definition at line 48 of file TrigConfData.h.

◆ m_id

unsigned int TrigConf::TrigConfData::m_id
privateinherited

Definition at line 45 of file TrigConfData.h.

◆ m_Lvl1MasterId

unsigned int TrigConf::L1DataBaseclass::m_Lvl1MasterId
privateinherited

Definition at line 35 of file L1DataBaseclass.h.

◆ m_name

std::string TrigConf::TrigConfData::m_name
privateinherited

Definition at line 46 of file TrigConfData.h.

◆ m_rpc_avail

bool TrigConf::MuonThresholdSet::m_rpc_avail
private

Definition at line 57 of file MuonThresholdSet.h.

◆ m_rpc_avail_online

bool TrigConf::MuonThresholdSet::m_rpc_avail_online
private

Definition at line 58 of file MuonThresholdSet.h.

◆ m_rpc_pt1_ext_id

int TrigConf::MuonThresholdSet::m_rpc_pt1_ext_id
private

Definition at line 64 of file MuonThresholdSet.h.

◆ m_rpc_pt2_ext_id

int TrigConf::MuonThresholdSet::m_rpc_pt2_ext_id
private

Definition at line 65 of file MuonThresholdSet.h.

◆ m_rpc_pt3_ext_id

int TrigConf::MuonThresholdSet::m_rpc_pt3_ext_id
private

Definition at line 66 of file MuonThresholdSet.h.

◆ m_rpc_pt4_ext_id

int TrigConf::MuonThresholdSet::m_rpc_pt4_ext_id
private

Definition at line 67 of file MuonThresholdSet.h.

◆ m_rpc_pt5_ext_id

int TrigConf::MuonThresholdSet::m_rpc_pt5_ext_id
private

Definition at line 68 of file MuonThresholdSet.h.

◆ m_rpc_pt6_ext_id

int TrigConf::MuonThresholdSet::m_rpc_pt6_ext_id
private

Definition at line 69 of file MuonThresholdSet.h.

◆ m_rpc_set_ext_id

int TrigConf::MuonThresholdSet::m_rpc_set_ext_id
private

Definition at line 63 of file MuonThresholdSet.h.

◆ m_rpc_set_name

std::string TrigConf::MuonThresholdSet::m_rpc_set_name
private

Definition at line 62 of file MuonThresholdSet.h.

◆ m_smk

unsigned int TrigConf::TrigConfData::m_smk
privateinherited

Definition at line 44 of file TrigConfData.h.

◆ m_tgc_avail

bool TrigConf::MuonThresholdSet::m_tgc_avail
private

Definition at line 59 of file MuonThresholdSet.h.

◆ m_tgc_avail_online

bool TrigConf::MuonThresholdSet::m_tgc_avail_online
private

Definition at line 60 of file MuonThresholdSet.h.

◆ m_tgc_set_ext_id

int TrigConf::MuonThresholdSet::m_tgc_set_ext_id
private

Definition at line 72 of file MuonThresholdSet.h.

◆ m_tgc_set_name

std::string TrigConf::MuonThresholdSet::m_tgc_set_name
private

Definition at line 71 of file MuonThresholdSet.h.

◆ m_version

unsigned int TrigConf::TrigConfData::m_version
privateinherited

Definition at line 47 of file TrigConfData.h.


The documentation for this class was generated from the following files:
TrigConf::TrigConfData::m_id
unsigned int m_id
Definition: TrigConfData.h:45
TrigConf::TrigConfData::m_name
std::string m_name
Definition: TrigConfData.h:46
TrigConf::TrigConfData::name
const std::string & name() const
Definition: TrigConfData.h:22
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TrigConf::MuonThresholdSet::m_rpc_avail_online
bool m_rpc_avail_online
Definition: MuonThresholdSet.h:58
TrigConf::MuonThresholdSet::m_rpc_pt3_ext_id
int m_rpc_pt3_ext_id
Definition: MuonThresholdSet.h:66
TrigConf::TrigConfData::comment
const std::string & comment() const
Definition: TrigConfData.h:23
TrigConf::MuonThresholdSet::rpcPt6Id
int rpcPt6Id() const
Definition: MuonThresholdSet.h:50
TrigConf::MuonThresholdSet::rpcPt2Id
int rpcPt2Id() const
Definition: MuonThresholdSet.h:42
TrigConf::MuonThresholdSet::rpcAvailableOnline
bool rpcAvailableOnline() const
Definition: MuonThresholdSet.h:19
TrigConf::MuonThresholdSet::m_rpc_pt1_ext_id
int m_rpc_pt1_ext_id
Definition: MuonThresholdSet.h:64
TrigConf::MuonThresholdSet::m_tgc_set_name
std::string m_tgc_set_name
Definition: MuonThresholdSet.h:71
TrigConf::MuonThresholdSet::rpcPt4Id
int rpcPt4Id() const
Definition: MuonThresholdSet.h:46
TrigConf::MuonThresholdSet::m_rpc_set_ext_id
int m_rpc_set_ext_id
Definition: MuonThresholdSet.h:63
TrigConf::L1DataBaseclass::L1DataBaseclass
L1DataBaseclass()
Definition: L1DataBaseclass.h:24
TrigConf::TrigConfData::m_version
unsigned int m_version
Definition: TrigConfData.h:47
TrigConf::MuonThresholdSet::rpcSetName
const std::string & rpcSetName() const
Definition: MuonThresholdSet.h:31
TrigConf::MuonThresholdSet::m_rpc_pt6_ext_id
int m_rpc_pt6_ext_id
Definition: MuonThresholdSet.h:69
TrigConf::L1DataBaseclass::m_Lvl1MasterId
unsigned int m_Lvl1MasterId
Definition: L1DataBaseclass.h:35
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
TrigConf::MuonThresholdSet::rpcAvailable
bool rpcAvailable() const
Definition: MuonThresholdSet.h:18
lumiFormat.i
int i
Definition: lumiFormat.py:85
TrigConf::MuonThresholdSet::tgcAvailableOnline
bool tgcAvailableOnline() const
Definition: MuonThresholdSet.h:25
TrigConf::MuonThresholdSet::m_rpc_pt5_ext_id
int m_rpc_pt5_ext_id
Definition: MuonThresholdSet.h:68
TrigConf::MuonThresholdSet::m_rpc_pt2_ext_id
int m_rpc_pt2_ext_id
Definition: MuonThresholdSet.h:65
TrigConf::TrigConfData::m_comment
std::string m_comment
Definition: TrigConfData.h:48
TrigConf::TrigConfData::version
unsigned int version() const
Definition: TrigConfData.h:24
TrigConf::MuonThresholdSet::tgcAvailable
bool tgcAvailable() const
Definition: MuonThresholdSet.h:23
TrigConf::TrigConfData::superMasterTableId
int superMasterTableId() const
Definition: TrigConfData.h:19
TrigConf::MuonThresholdSet::m_rpc_set_name
std::string m_rpc_set_name
Definition: MuonThresholdSet.h:62
TrigConf::MuonThresholdSet::m_rpc_avail
bool m_rpc_avail
Definition: MuonThresholdSet.h:57
TrigConf::MuonThresholdSet::rpcPt3Id
int rpcPt3Id() const
Definition: MuonThresholdSet.h:44
TrigConf::MuonThresholdSet::rpcPt5Id
int rpcPt5Id() const
Definition: MuonThresholdSet.h:48
TrigConf::TrigConfData::id
unsigned int id() const
Definition: TrigConfData.h:21
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
TrigConf::TrigConfData::m_smk
unsigned int m_smk
Definition: TrigConfData.h:44
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
TrigConf::MuonThresholdSet::rpcPt1Id
int rpcPt1Id() const
Definition: MuonThresholdSet.h:40
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition: TrigConfData.cxx:23
TrigConf::MuonThresholdSet::m_tgc_set_ext_id
int m_tgc_set_ext_id
Definition: MuonThresholdSet.h:72
TrigConf::MuonThresholdSet::m_tgc_avail
bool m_tgc_avail
Definition: MuonThresholdSet.h:59
python.compressB64.c
def c
Definition: compressB64.py:93
TrigConf::TrigConfData::printNameIdV
void printNameIdV(const std::string &indent="") const
Definition: TrigConfData.cxx:31
TrigConf::MuonThresholdSet::rpcSetId
int rpcSetId() const
Definition: MuonThresholdSet.h:28
TrigConf::MuonThresholdSet::tgcSetId
int tgcSetId() const
Definition: MuonThresholdSet.h:34
TrigConf::MuonThresholdSet::tgcSetName
const std::string & tgcSetName() const
Definition: MuonThresholdSet.h:37
TrigConf::MuonThresholdSet::m_tgc_avail_online
bool m_tgc_avail_online
Definition: MuonThresholdSet.h:60
TrigConf::MuonThresholdSet::m_rpc_pt4_ext_id
int m_rpc_pt4_ext_id
Definition: MuonThresholdSet.h:67