ATLAS Offline Software
Loading...
Searching...
No Matches
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){;}
const ToolHandle< T > & m_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.

152 {
154 }
const std::string m_AODprefix
std::string label(const std::string &format, int i)
Definition label.h:19
std::string formatSGkey(const std::string &prefix, const std::string &containername, const std::string &label)
declaration of formatting function.
Definition Holder.cxx:122

◆ 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 }
#define CHECK(...)
Evaluate an expression and check for errors.

◆ msg()

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

Definition at line 142 of file TrigBStoxAODTool.cxx.

142{return *m_msg << l;}
l
Printing final latex table to .tex output file.

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

156{nullptr};

◆ m_sg

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

Definition at line 157 of file TrigBStoxAODTool.cxx.

157{nullptr};

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