ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BStoXAODHelper::ToolHolder< T > Class Template Referenceabstract
Inheritance diagram for BStoXAODHelper::ToolHolder< T >:
Collaboration diagram for BStoXAODHelper::ToolHolder< T >:

Public Member Functions

 ToolHolder (const ToolHandle< T > &tool)
 
virtual ~ToolHolder ()
 
virtual StatusCode initialize (MsgStream &m, StoreGateSvc &s)
 
virtual StatusCode help (const std::string &label, const std::string &newLabel)=0
 
virtual StatusCode help_fillTrigPassBits (const std::string &label, const std::string &newLabel, const TrigPassBits *tpb_aod, xAOD::TrigPassBits *&tpb_xaod)=0
 
virtual CLID AODContainerClid ()=0
 
virtual CLID xAODContainerClid ()=0
 
virtual CLID AODElementClid ()=0
 
virtual CLID xAODElementClid ()=0
 
MsgStream & msg (MSG::Level l)
 
bool msgLvl (const MSG::Level l)
 
template<typename T >
std::string format (const std::string &label)
 

Protected Member Functions

ToolHandle< T > & tool ()
 

Protected Attributes

const ToolHandle< T > & m_tool
 
MsgStream * m_msg {nullptr}
 
StoreGateSvcm_sg {nullptr}
 
const std::string m_AODprefix = "HLT"
 

Detailed Description

template<typename T>
class BStoXAODHelper::ToolHolder< T >

Definition at line 163 of file TrigBStoxAODTool.cxx.

Constructor & Destructor Documentation

◆ ToolHolder()

template<typename T >
BStoXAODHelper::ToolHolder< T >::ToolHolder ( const ToolHandle< T > &  tool)
inline

Definition at line 168 of file TrigBStoxAODTool.cxx.

168 : m_tool(tool){;}

◆ ~ToolHolder()

template<typename T >
virtual BStoXAODHelper::ToolHolder< T >::~ToolHolder ( )
inlinevirtual

Definition at line 169 of file TrigBStoxAODTool.cxx.

169 {;}

Member Function Documentation

◆ AODContainerClid()

virtual CLID BStoXAODHelper::IHelper::AODContainerClid ( )
pure virtualinherited

◆ AODElementClid()

virtual CLID BStoXAODHelper::IHelper::AODElementClid ( )
pure virtualinherited

◆ format()

template<typename T >
std::string BStoXAODHelper::IHelper::format ( const std::string &  label)
inlineinherited

Definition at line 152 of file TrigBStoxAODTool.cxx.

◆ help()

virtual StatusCode BStoXAODHelper::IHelper::help ( const std::string &  label,
const std::string &  newLabel 
)
pure virtualinherited

◆ help_fillTrigPassBits()

virtual StatusCode BStoXAODHelper::IHelper::help_fillTrigPassBits ( const std::string &  label,
const std::string &  newLabel,
const TrigPassBits tpb_aod,
xAOD::TrigPassBits *&  tpb_xaod 
)
pure virtualinherited

◆ initialize()

template<typename T >
virtual StatusCode BStoXAODHelper::ToolHolder< T >::initialize ( MsgStream &  m,
StoreGateSvc s 
)
inlinevirtual

Reimplemented from BStoXAODHelper::IHelper.

Definition at line 170 of file TrigBStoxAODTool.cxx.

170  {
172  CHECK(m_tool.retrieve());
173  return StatusCode::SUCCESS;
174  }

◆ msg()

MsgStream& BStoXAODHelper::IHelper::msg ( MSG::Level  l)
inlineinherited

Definition at line 142 of file TrigBStoxAODTool.cxx.

142 {return *m_msg << l;}

◆ msgLvl()

bool BStoXAODHelper::IHelper::msgLvl ( const MSG::Level  l)
inlineinherited

Definition at line 143 of file TrigBStoxAODTool.cxx.

143  {
144  if(m_msg->level() <= l){
145  *m_msg << l; return true;
146  } else {
147  return false;
148  };
149  }

◆ tool()

template<typename T >
ToolHandle<T>& BStoXAODHelper::ToolHolder< T >::tool ( )
inlineprotected

Definition at line 166 of file TrigBStoxAODTool.cxx.

166 {return m_tool;}

◆ xAODContainerClid()

virtual CLID BStoXAODHelper::IHelper::xAODContainerClid ( )
pure virtualinherited

◆ xAODElementClid()

virtual CLID BStoXAODHelper::IHelper::xAODElementClid ( )
pure virtualinherited

Member Data Documentation

◆ m_AODprefix

const std::string BStoXAODHelper::IHelper::m_AODprefix = "HLT"
protectedinherited

Definition at line 158 of file TrigBStoxAODTool.cxx.

◆ m_msg

MsgStream* BStoXAODHelper::IHelper::m_msg {nullptr}
protectedinherited

Definition at line 156 of file TrigBStoxAODTool.cxx.

◆ m_sg

StoreGateSvc* BStoXAODHelper::IHelper::m_sg {nullptr}
protectedinherited

Definition at line 157 of file TrigBStoxAODTool.cxx.

◆ m_tool

template<typename T >
const ToolHandle<T>& BStoXAODHelper::ToolHolder< T >::m_tool
protected

Definition at line 165 of file TrigBStoxAODTool.cxx.


The documentation for this class was generated from the following file:
BStoXAODHelper::IHelper::initialize
virtual StatusCode initialize(MsgStream &m, StoreGateSvc &s)
Definition: TrigBStoxAODTool.cxx:125
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
PlotCalibFromCool.label
label
Definition: PlotCalibFromCool.py:78
BStoXAODHelper::IHelper::m_AODprefix
const std::string m_AODprefix
Definition: TrigBStoxAODTool.cxx:158
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
HLTNavDetails::formatSGkey
std::string formatSGkey(const std::string &prefix, const std::string &containername, const std::string &label)
declaration of formatting function.
Definition: Holder.cxx:122
BStoXAODHelper::ToolHolder::m_tool
const ToolHandle< T > & m_tool
Definition: TrigBStoxAODTool.cxx:165
ClassID_traits
Default, invalid implementation of ClassID_traits.
Definition: Control/AthenaKernel/AthenaKernel/ClassID_traits.h:40
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
BStoXAODHelper::IHelper::m_msg
MsgStream * m_msg
Definition: TrigBStoxAODTool.cxx:156
BStoXAODHelper::ToolHolder::tool
ToolHandle< T > & tool()
Definition: TrigBStoxAODTool.cxx:166