ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
ZDCTriggerSimBase Class Referenceabstract

#include <ZDCTriggerSim.h>

Inheritance diagram for ZDCTriggerSimBase:
Collaboration diagram for ZDCTriggerSimBase:

Public Member Functions

 ZDCTriggerSimBase ()=default
 
virtual ~ZDCTriggerSimBase ()=default
 
virtual unsigned int simLevel1Trig (const ZDCTriggerSim::SimDataCPtr &data)=0
 
SimStack::const_iterator stackBottom () const
 
SimStack::const_reverse_iterator stackTop () const
 
void dump (std::ostream &strm) const
 

Protected Member Functions

void stackClear ()
 
void stackPush (const ZDCTriggerSim::SimDataCPtr &ptr)
 
const ZDCTriggerSim::SimDataCPtrstackTopData () const
 
virtual void doSimStage ()=0
 

Private Types

typedef std::list< ZDCTriggerSim::SimDataCPtrSimStack
 

Private Attributes

SimStack m_stack
 

Detailed Description

Definition at line 180 of file ZDCTriggerSim.h.

Member Typedef Documentation

◆ SimStack

Definition at line 181 of file ZDCTriggerSim.h.

Constructor & Destructor Documentation

◆ ZDCTriggerSimBase()

ZDCTriggerSimBase::ZDCTriggerSimBase ( )
default

◆ ~ZDCTriggerSimBase()

virtual ZDCTriggerSimBase::~ZDCTriggerSimBase ( )
virtualdefault

Member Function Documentation

◆ doSimStage()

virtual void ZDCTriggerSimBase::doSimStage ( )
protectedpure virtual

◆ dump()

void ZDCTriggerSimBase::dump ( std::ostream &  strm) const

Definition at line 11 of file ZDCTriggerSim.cxx.

11  {
12  for (auto entry : m_stack) {
13  strm << entry->getType() << ": ";
14  entry->dump(strm);
15  strm << std::endl;
16  }
17 }

◆ simLevel1Trig()

virtual unsigned int ZDCTriggerSimBase::simLevel1Trig ( const ZDCTriggerSim::SimDataCPtr data)
pure virtual

◆ stackBottom()

SimStack::const_iterator ZDCTriggerSimBase::stackBottom ( ) const
inline

Definition at line 212 of file ZDCTriggerSim.h.

213  {
214  return m_stack.begin();
215  }

◆ stackClear()

void ZDCTriggerSimBase::stackClear ( )
inlineprotected

Definition at line 187 of file ZDCTriggerSim.h.

187 { m_stack.clear(); }

◆ stackPush()

void ZDCTriggerSimBase::stackPush ( const ZDCTriggerSim::SimDataCPtr ptr)
inlineprotected

Definition at line 189 of file ZDCTriggerSim.h.

189  {
190  m_stack.push_back(SimStack::value_type(ptr));
191  }

◆ stackTop()

SimStack::const_reverse_iterator ZDCTriggerSimBase::stackTop ( ) const
inline

Definition at line 217 of file ZDCTriggerSim.h.

217  {
218  return m_stack.rbegin();
219  }

◆ stackTopData()

const ZDCTriggerSim::SimDataCPtr& ZDCTriggerSimBase::stackTopData ( ) const
inlineprotected

Definition at line 193 of file ZDCTriggerSim.h.

193  {
194  return m_stack.back();
195  }

Member Data Documentation

◆ m_stack

SimStack ZDCTriggerSimBase::m_stack
private

Definition at line 184 of file ZDCTriggerSim.h.


The documentation for this class was generated from the following files:
ZDCTriggerSimBase::m_stack
SimStack m_stack
Definition: ZDCTriggerSim.h:184
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
GetAllXsec.entry
list entry
Definition: GetAllXsec.py:132