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

#include <CaloSinCos.h>

Inheritance diagram for TrigConf::CaloSinCos:
Collaboration diagram for TrigConf::CaloSinCos:

Public Member Functions

 CaloSinCos (const std::string &n, const int v, int val1, int val2, int val3, int val4, int val5, int val6, int val7, int val8, int phimin, int phimax, int etamin, int etamax)
 CaloSinCos ()
virtual ~CaloSinCos () override=default
int val1 () const
int val2 () const
int val3 () const
int val4 () const
int val5 () const
int val6 () const
int val7 () const
int val8 () const
int etamin () const
int etamax () const
int phimin () const
int phimax () const
void setVal1 (int val)
void setVal2 (int val)
void setVal3 (int val)
void setVal4 (int val)
void setVal5 (int val)
void setVal6 (int val)
void setVal7 (int val)
void setVal8 (int val)
void setEtaMin (int val)
void setEtaMax (int val)
void setPhiMin (int val)
void setPhiMax (int val)
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

int m_Val [8] {}
int m_Val1 {}
int m_Val2 {}
int m_Val3 {}
int m_Val4 {}
int m_Val5 {}
int m_Val6 {}
int m_Val7 {}
int m_Val8 {}
int m_PhiMin {}
int m_PhiMax {}
int m_EtaMin {}
int m_EtaMax {}

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

Constructor & Destructor Documentation

◆ CaloSinCos() [1/2]

TrigConf::CaloSinCos::CaloSinCos ( const std::string & n,
const int v,
int val1,
int val2,
int val3,
int val4,
int val5,
int val6,
int val7,
int val8,
int phimin,
int phimax,
int etamin,
int etamax )

Definition at line 11 of file CaloSinCos.cxx.

16 m_Val(),
17 m_Val1( val1 ),
18 m_Val2( val2 ),
19 m_Val3( val3 ),
20 m_Val4( val4 ),
21 m_Val5( val5 ),
22 m_Val6( val6 ),
23 m_Val7( val7 ),
24 m_Val8( val8 ),
29{
30 setName(n);
31 setVersion(v);
32}
int phimax() const
Definition CaloSinCos.h:37
int etamax() const
Definition CaloSinCos.h:35
int etamin() const
Definition CaloSinCos.h:34
int phimin() const
Definition CaloSinCos.h:36
void setName(const std::string &name)
void setVersion(unsigned int version)

◆ CaloSinCos() [2/2]

TrigConf::CaloSinCos::CaloSinCos ( )

Definition at line 34 of file CaloSinCos.cxx.

35{}

◆ ~CaloSinCos()

virtual TrigConf::CaloSinCos::~CaloSinCos ( )
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}

◆ comment()

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

Definition at line 23 of file TrigConfData.h.

23{return m_comment;}

◆ etamax()

int TrigConf::CaloSinCos::etamax ( ) const
inline

Definition at line 35 of file CaloSinCos.h.

35{ return m_EtaMax; }

◆ etamin()

int TrigConf::CaloSinCos::etamin ( ) const
inline

Definition at line 34 of file CaloSinCos.h.

34{ return m_EtaMin; }

◆ 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

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

◆ phimax()

int TrigConf::CaloSinCos::phimax ( ) const
inline

Definition at line 37 of file CaloSinCos.h.

37{ return m_PhiMax; }

◆ phimin()

int TrigConf::CaloSinCos::phimin ( ) const
inline

Definition at line 36 of file CaloSinCos.h.

36{ return m_PhiMin; }

◆ print()

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

Implements TrigConf::TrigConfData.

Definition at line 38 of file CaloSinCos.cxx.

38 {
39 cout << indent << " \t-----------------------" << endl;
40 cout << indent << " \t CaloSinCos" << endl;
42 cout << indent << " \t phi_min: " << m_PhiMin
43 << " \t phi_max: " << m_PhiMax << " eta_min: " << m_EtaMin
44 << " \t eta_max: " << m_EtaMax << endl;
45 cout << indent << " \t values: \t" << m_Val1 << " " << m_Val2 << " " << m_Val3 << " " << m_Val4
46 << " " << m_Val5 << " " << m_Val6 << " " << m_Val7 << " " << m_Val8 << endl;
47}
std::ostream & indent(std::ostream &o, int lvl, int size) const
void printNameIdV(const std::string &indent="") 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

◆ setComment()

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

Definition at line 32 of file TrigConfData.h.

◆ setEtaMax()

void TrigConf::CaloSinCos::setEtaMax ( int val)
inline

Definition at line 49 of file CaloSinCos.h.

◆ setEtaMin()

void TrigConf::CaloSinCos::setEtaMin ( int val)
inline

Definition at line 48 of file CaloSinCos.h.

48{ m_EtaMin = val; }

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

◆ setPhiMax()

void TrigConf::CaloSinCos::setPhiMax ( int val)
inline

Definition at line 51 of file CaloSinCos.h.

51{ m_PhiMax = val; }

◆ setPhiMin()

void TrigConf::CaloSinCos::setPhiMin ( int val)
inline

Definition at line 50 of file CaloSinCos.h.

50{ m_PhiMin = val; }

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

◆ setVal1()

void TrigConf::CaloSinCos::setVal1 ( int val)
inline

Definition at line 40 of file CaloSinCos.h.

40{ m_Val1 = val; }

◆ setVal2()

void TrigConf::CaloSinCos::setVal2 ( int val)
inline

Definition at line 41 of file CaloSinCos.h.

41{ m_Val2 = val; }

◆ setVal3()

void TrigConf::CaloSinCos::setVal3 ( int val)
inline

Definition at line 42 of file CaloSinCos.h.

42{ m_Val3 = val; }

◆ setVal4()

void TrigConf::CaloSinCos::setVal4 ( int val)
inline

Definition at line 43 of file CaloSinCos.h.

43{ m_Val4 = val; }

◆ setVal5()

void TrigConf::CaloSinCos::setVal5 ( int val)
inline

Definition at line 44 of file CaloSinCos.h.

44{ m_Val5 = val; }

◆ setVal6()

void TrigConf::CaloSinCos::setVal6 ( int val)
inline

Definition at line 45 of file CaloSinCos.h.

45{ m_Val6 = val; }

◆ setVal7()

void TrigConf::CaloSinCos::setVal7 ( int val)
inline

Definition at line 46 of file CaloSinCos.h.

46{ m_Val7 = val; }

◆ setVal8()

void TrigConf::CaloSinCos::setVal8 ( int val)
inline

Definition at line 47 of file CaloSinCos.h.

47{ m_Val8 = val; }

◆ setVersion()

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

Definition at line 31 of file TrigConfData.h.

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

◆ val1()

int TrigConf::CaloSinCos::val1 ( ) const
inline

Definition at line 26 of file CaloSinCos.h.

26{ return m_Val1; }

◆ val2()

int TrigConf::CaloSinCos::val2 ( ) const
inline

Definition at line 27 of file CaloSinCos.h.

27{ return m_Val2; }

◆ val3()

int TrigConf::CaloSinCos::val3 ( ) const
inline

Definition at line 28 of file CaloSinCos.h.

28{ return m_Val3; }

◆ val4()

int TrigConf::CaloSinCos::val4 ( ) const
inline

Definition at line 29 of file CaloSinCos.h.

29{ return m_Val4; }

◆ val5()

int TrigConf::CaloSinCos::val5 ( ) const
inline

Definition at line 30 of file CaloSinCos.h.

30{ return m_Val5; }

◆ val6()

int TrigConf::CaloSinCos::val6 ( ) const
inline

Definition at line 31 of file CaloSinCos.h.

31{ return m_Val6; }

◆ val7()

int TrigConf::CaloSinCos::val7 ( ) const
inline

Definition at line 32 of file CaloSinCos.h.

32{ return m_Val7; }

◆ val8()

int TrigConf::CaloSinCos::val8 ( ) const
inline

Definition at line 33 of file CaloSinCos.h.

33{ return m_Val8; }

◆ 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_EtaMax

int TrigConf::CaloSinCos::m_EtaMax {}
protected

Definition at line 68 of file CaloSinCos.h.

68{};

◆ m_EtaMin

int TrigConf::CaloSinCos::m_EtaMin {}
protected

Definition at line 67 of file CaloSinCos.h.

67{};

◆ 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_PhiMax

int TrigConf::CaloSinCos::m_PhiMax {}
protected

Definition at line 66 of file CaloSinCos.h.

66{};

◆ m_PhiMin

int TrigConf::CaloSinCos::m_PhiMin {}
protected

Definition at line 65 of file CaloSinCos.h.

65{};

◆ m_smk

unsigned int TrigConf::TrigConfData::m_smk
privateinherited

Definition at line 44 of file TrigConfData.h.

◆ m_Val

int TrigConf::CaloSinCos::m_Val[8] {}
protected

Definition at line 56 of file CaloSinCos.h.

56{};

◆ m_Val1

int TrigConf::CaloSinCos::m_Val1 {}
protected

Definition at line 57 of file CaloSinCos.h.

57{};

◆ m_Val2

int TrigConf::CaloSinCos::m_Val2 {}
protected

Definition at line 58 of file CaloSinCos.h.

58{};

◆ m_Val3

int TrigConf::CaloSinCos::m_Val3 {}
protected

Definition at line 59 of file CaloSinCos.h.

59{};

◆ m_Val4

int TrigConf::CaloSinCos::m_Val4 {}
protected

Definition at line 60 of file CaloSinCos.h.

60{};

◆ m_Val5

int TrigConf::CaloSinCos::m_Val5 {}
protected

Definition at line 61 of file CaloSinCos.h.

61{};

◆ m_Val6

int TrigConf::CaloSinCos::m_Val6 {}
protected

Definition at line 62 of file CaloSinCos.h.

62{};

◆ m_Val7

int TrigConf::CaloSinCos::m_Val7 {}
protected

Definition at line 63 of file CaloSinCos.h.

63{};

◆ m_Val8

int TrigConf::CaloSinCos::m_Val8 {}
protected

Definition at line 64 of file CaloSinCos.h.

64{};

◆ 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: