ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConf::TIP Class Reference

#include <TIP.h>

Inheritance diagram for TrigConf::TIP:
Collaboration diagram for TrigConf::TIP:

Public Member Functions

 TIP ()
virtual ~TIP () override=default
const std::string & thresholdName () const
void setThresholdName (const std::string &name)
uint16_t slot () const
void setSlot (const uint16_t &id)
uint16_t connector () const
void setConnector (const uint16_t &id)
uint16_t tipNumber () const
void setTipNumber (const uint16_t &tipnumber)
uint16_t thresholdBit () const
void setThresholdBit (const uint16_t &num)
uint16_t cableBit () const
void setCableBit (const uint16_t &num)
int tmToTtId () const
void setTmToTtId (const int &tmtottid)
int triggerThresholdId () const
void setTriggerThresholdId (const int &id)
int16_t thresholdMapping () const
void setThresholdMapping (const int16_t &m)
bool thresholdActive () const
void setThresholdActive (const bool &a)
bool isDirect () const
void setIsDirect (const bool &a)
int clock () const
void setClock (const int &clock)
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

Protected Attributes

std::string m_ThresholdName
uint16_t m_Slot
uint16_t m_Connector
uint16_t m_TipNumber
uint16_t m_ThresholdBit
uint16_t m_CableBit
int m_TmToTtId
int m_TriggerThresholdId
bool m_ThresholdActive
int16_t m_ThresholdMapping
bool m_IsDirect
int m_Clock

Private Attributes

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 TIP.h.

Constructor & Destructor Documentation

◆ TIP()

TrigConf::TIP::TIP ( )

Definition at line 13 of file TIP.cxx.

13 :
15 m_ThresholdName(""),
16 m_Slot(0),
17 m_Connector(0),
18 m_TipNumber(0),
20 m_CableBit(0),
21 m_TmToTtId(0),
25 m_IsDirect(false),
26 m_Clock(0)
27{}
std::string m_ThresholdName
Definition TIP.h:59
uint16_t m_Connector
Definition TIP.h:61
uint16_t m_TipNumber
Definition TIP.h:62
int m_TriggerThresholdId
Definition TIP.h:66
bool m_ThresholdActive
Definition TIP.h:67
uint16_t m_ThresholdBit
Definition TIP.h:63
uint16_t m_Slot
Definition TIP.h:60
int m_Clock
Definition TIP.h:70
uint16_t m_CableBit
Definition TIP.h:64
int m_TmToTtId
Definition TIP.h:65
bool m_IsDirect
Definition TIP.h:69
int16_t m_ThresholdMapping
Definition TIP.h:68

◆ ~TIP()

virtual TrigConf::TIP::~TIP ( )
overridevirtualdefault

Member Function Documentation

◆ __str__()

string TrigConfData::__str__ ( ) const
virtualinherited

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

Definition at line 50 of file TrigConfData.cxx.

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

◆ cableBit()

uint16_t TrigConf::TIP::cableBit ( ) const
inline

Definition at line 35 of file TIP.h.

35{return m_CableBit;}

◆ clock()

int TrigConf::TIP::clock ( ) const
inline

Definition at line 53 of file TIP.h.

53{return m_Clock;}

◆ comment()

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

Definition at line 23 of file TrigConfData.h.

23{return m_comment;}

◆ connector()

uint16_t TrigConf::TIP::connector ( ) const
inline

Definition at line 26 of file TIP.h.

26{return m_Connector;}

◆ 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}
const double width

◆ isDirect()

bool TrigConf::TIP::isDirect ( ) const
inline

Definition at line 50 of file TIP.h.

50{return m_IsDirect;}

◆ 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::TIP::print ( const std::string & indent = "",
unsigned int detail = 1 ) const
overridevirtual

Implements TrigConf::TrigConfData.

Definition at line 30 of file TIP.cxx.

30 {
31 cout << indent << "TIP " << setw(3) << m_TipNumber;
32 cout << (m_IsDirect ? " (direct) " : " (PIT) ");
33 cout << ": phase " << m_Clock;
34 cout << " slot " << setw(2) << m_Slot;
35 cout << " cable bit " << setw(2) << m_CableBit;
36 cout << " connector " << m_Connector;
37 cout << " threshold bit " << m_ThresholdBit;
38 cout << " threshold " << m_ThresholdName;
39 cout << endl;
40}
std::ostream & indent(std::ostream &o, int lvl, int size) const

◆ 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}
unsigned int id() const
const std::string & name() const
const std::string & comment() const
unsigned int version() const

◆ setCableBit()

void TrigConf::TIP::setCableBit ( const uint16_t & num)
inline

Definition at line 36 of file TIP.h.

◆ setClock()

void TrigConf::TIP::setClock ( const int & clock)
inline

Definition at line 54 of file TIP.h.

54{m_Clock = clock;}
int clock() const
Definition TIP.h:53

◆ setComment()

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

Definition at line 32 of file TrigConfData.h.

◆ setConnector()

void TrigConf::TIP::setConnector ( const uint16_t & id)
inline

Definition at line 27 of file TIP.h.

27{m_Connector = id;}

◆ setId()

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

Definition at line 29 of file TrigConfData.h.

29{ m_id=id; }

◆ setIsDirect()

void TrigConf::TIP::setIsDirect ( const bool & a)
inline

Definition at line 51 of file TIP.h.

51{m_IsDirect = a;}
static Double_t a

◆ 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;}

◆ setSlot()

void TrigConf::TIP::setSlot ( const uint16_t & id)
inline

Definition at line 24 of file TIP.h.

24{m_Slot = id;}

◆ 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;}

◆ setThresholdActive()

void TrigConf::TIP::setThresholdActive ( const bool & a)
inline

Definition at line 48 of file TIP.h.

◆ setThresholdBit()

void TrigConf::TIP::setThresholdBit ( const uint16_t & num)
inline

Definition at line 33 of file TIP.h.

◆ setThresholdMapping()

void TrigConf::TIP::setThresholdMapping ( const int16_t & m)
inline

Definition at line 45 of file TIP.h.

◆ setThresholdName()

void TrigConf::TIP::setThresholdName ( const std::string & name)
inline

Definition at line 21 of file TIP.h.

◆ setTipNumber()

void TrigConf::TIP::setTipNumber ( const uint16_t & tipnumber)
inline

Definition at line 30 of file TIP.h.

30{m_TipNumber = tipnumber;}

◆ setTmToTtId()

void TrigConf::TIP::setTmToTtId ( const int & tmtottid)
inline

Definition at line 39 of file TIP.h.

39{m_TmToTtId = tmtottid;}

◆ setTriggerThresholdId()

void TrigConf::TIP::setTriggerThresholdId ( const int & id)
inline

Definition at line 42 of file TIP.h.

◆ setVersion()

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

Definition at line 31 of file TrigConfData.h.

◆ slot()

uint16_t TrigConf::TIP::slot ( ) const
inline

Definition at line 23 of file TIP.h.

23{return m_Slot;}

◆ 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;}

◆ thresholdActive()

bool TrigConf::TIP::thresholdActive ( ) const
inline

Definition at line 47 of file TIP.h.

47{return m_ThresholdActive;}

◆ thresholdBit()

uint16_t TrigConf::TIP::thresholdBit ( ) const
inline

Definition at line 32 of file TIP.h.

32{return m_ThresholdBit;}

◆ thresholdMapping()

int16_t TrigConf::TIP::thresholdMapping ( ) const
inline

Definition at line 44 of file TIP.h.

44{return m_ThresholdMapping;}

◆ thresholdName()

const std::string & TrigConf::TIP::thresholdName ( ) const
inline

Definition at line 20 of file TIP.h.

20{return m_ThresholdName;}

◆ tipNumber()

uint16_t TrigConf::TIP::tipNumber ( ) const
inline

Definition at line 29 of file TIP.h.

29{return m_TipNumber;}

◆ tmToTtId()

int TrigConf::TIP::tmToTtId ( ) const
inline

Definition at line 38 of file TIP.h.

38{return m_TmToTtId;}

◆ triggerThresholdId()

int TrigConf::TIP::triggerThresholdId ( ) const
inline

Definition at line 41 of file TIP.h.

◆ version()

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

Definition at line 24 of file TrigConfData.h.

24{return m_version;}

Member Data Documentation

◆ m_CableBit

uint16_t TrigConf::TIP::m_CableBit
protected

Definition at line 64 of file TIP.h.

◆ m_Clock

int TrigConf::TIP::m_Clock
protected

Definition at line 70 of file TIP.h.

◆ m_comment

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

Definition at line 48 of file TrigConfData.h.

◆ m_Connector

uint16_t TrigConf::TIP::m_Connector
protected

Definition at line 61 of file TIP.h.

◆ m_id

unsigned int TrigConf::TrigConfData::m_id
privateinherited

Definition at line 45 of file TrigConfData.h.

◆ m_IsDirect

bool TrigConf::TIP::m_IsDirect
protected

Definition at line 69 of file TIP.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_Slot

uint16_t TrigConf::TIP::m_Slot
protected

Definition at line 60 of file TIP.h.

◆ m_smk

unsigned int TrigConf::TrigConfData::m_smk
privateinherited

Definition at line 44 of file TrigConfData.h.

◆ m_ThresholdActive

bool TrigConf::TIP::m_ThresholdActive
protected

Definition at line 67 of file TIP.h.

◆ m_ThresholdBit

uint16_t TrigConf::TIP::m_ThresholdBit
protected

Definition at line 63 of file TIP.h.

◆ m_ThresholdMapping

int16_t TrigConf::TIP::m_ThresholdMapping
protected

Definition at line 68 of file TIP.h.

◆ m_ThresholdName

std::string TrigConf::TIP::m_ThresholdName
protected

Definition at line 59 of file TIP.h.

◆ m_TipNumber

uint16_t TrigConf::TIP::m_TipNumber
protected

Definition at line 62 of file TIP.h.

◆ m_TmToTtId

int TrigConf::TIP::m_TmToTtId
protected

Definition at line 65 of file TIP.h.

◆ m_TriggerThresholdId

int TrigConf::TIP::m_TriggerThresholdId
protected

Definition at line 66 of file TIP.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: