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

#include <CaloJetInput.h>

Inheritance diagram for TrigConf::CaloJetInput:
Collaboration diagram for TrigConf::CaloJetInput:

Public Member Functions

 CaloJetInput (const std::string &name, unsigned int version, const std::string &type, int ptcut, int phimin, int phimax, int etamin, int etamax)
 CaloJetInput ()
virtual ~CaloJetInput () override=default
const std::string & type () const
int ptcut () const
int phimin () const
int phimax () const
int etamin () const
int etamax () const
void setType (const std::string &type)
void setPtcut (int ptcut)
void setPhiMin (int phimin)
void setPhiMax (int phimax)
void setEtaMin (int etamin)
void setEtaMax (int etamax)
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

std::string m_Type
int m_Ptcut
int m_PhiMin
int m_PhiMax
int m_EtaMin
int m_EtaMax
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 14 of file CaloJetInput.h.

Constructor & Destructor Documentation

◆ CaloJetInput() [1/2]

TrigConf::CaloJetInput::CaloJetInput ( const std::string & name,
unsigned int version,
const std::string & type,
int ptcut,
int phimin,
int phimax,
int etamin,
int etamax )

Definition at line 11 of file CaloJetInput.cxx.

18 :
20 m_Type( type ),
21 m_Ptcut( ptcut ),
26{
29}
const std::string & type() const
void setName(const std::string &name)
const std::string & name() const
void setVersion(unsigned int version)
unsigned int version() const

◆ CaloJetInput() [2/2]

TrigConf::CaloJetInput::CaloJetInput ( )

Definition at line 31 of file CaloJetInput.cxx.

31 :
33 m_Ptcut(0),
34 m_PhiMin(0),
35 m_PhiMax(0),
36 m_EtaMin(0),
37 m_EtaMax(0)
38{}

◆ ~CaloJetInput()

virtual TrigConf::CaloJetInput::~CaloJetInput ( )
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::CaloJetInput::etamax ( ) const
inline

Definition at line 36 of file CaloJetInput.h.

36{ return m_EtaMax; }

◆ etamin()

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

Definition at line 35 of file CaloJetInput.h.

35{ 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::CaloJetInput::phimax ( ) const
inline

Definition at line 34 of file CaloJetInput.h.

34{ return m_PhiMax; }

◆ phimin()

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

Definition at line 33 of file CaloJetInput.h.

33{ return m_PhiMin; }

◆ print()

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

Implements TrigConf::TrigConfData.

Definition at line 42 of file CaloJetInput.cxx.

42 {
43
44 cout << indent << "-----------------------" << endl;
45 cout << indent << "id: " << id() << " Name: " << name() << " Version: " << version() << endl;
46 cout << indent << "Type: "<< m_Type << " ptcut: " << m_Ptcut << " phi_min: " << m_PhiMin
47 << " phi_max: " << m_PhiMax << " eta_min: " << m_EtaMin
48 << " eta_max: " << m_EtaMax << endl;
49}
unsigned int id() const
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}
const std::string & comment() const

◆ ptcut()

int TrigConf::CaloJetInput::ptcut ( ) const
inline

Definition at line 32 of file CaloJetInput.h.

32{ return m_Ptcut; }

◆ setComment()

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

Definition at line 32 of file TrigConfData.h.

◆ setEtaMax()

void TrigConf::CaloJetInput::setEtaMax ( int etamax)
inline

Definition at line 44 of file CaloJetInput.h.

44{ m_EtaMax = etamax; }

◆ setEtaMin()

void TrigConf::CaloJetInput::setEtaMin ( int etamin)
inline

Definition at line 43 of file CaloJetInput.h.

43{ m_EtaMin = etamin; }

◆ 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::CaloJetInput::setPhiMax ( int phimax)
inline

Definition at line 42 of file CaloJetInput.h.

42{ m_PhiMax = phimax; }

◆ setPhiMin()

void TrigConf::CaloJetInput::setPhiMin ( int phimin)
inline

Definition at line 41 of file CaloJetInput.h.

41{ m_PhiMin = phimin; }

◆ setPtcut()

void TrigConf::CaloJetInput::setPtcut ( int ptcut)
inline

Definition at line 40 of file CaloJetInput.h.

40{ m_Ptcut = ptcut; }

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

◆ setType()

void TrigConf::CaloJetInput::setType ( const std::string & type)
inline

Definition at line 39 of file CaloJetInput.h.

39{ m_Type = type; }

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

◆ type()

const std::string & TrigConf::CaloJetInput::type ( ) const
inline

Definition at line 31 of file CaloJetInput.h.

31{ return m_Type; }

◆ 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::CaloJetInput::m_EtaMax
private

Definition at line 55 of file CaloJetInput.h.

◆ m_EtaMin

int TrigConf::CaloJetInput::m_EtaMin
private

Definition at line 54 of file CaloJetInput.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_PhiMax

int TrigConf::CaloJetInput::m_PhiMax
private

Definition at line 53 of file CaloJetInput.h.

◆ m_PhiMin

int TrigConf::CaloJetInput::m_PhiMin
private

Definition at line 52 of file CaloJetInput.h.

◆ m_Ptcut

int TrigConf::CaloJetInput::m_Ptcut
private

Definition at line 51 of file CaloJetInput.h.

◆ m_smk

unsigned int TrigConf::TrigConfData::m_smk
privateinherited

Definition at line 44 of file TrigConfData.h.

◆ m_Type

std::string TrigConf::CaloJetInput::m_Type
private

Definition at line 50 of file CaloJetInput.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: