DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | Public Attributes | List of all members
dd4hep::sim::Geant4Action::Actors< T > Class Template Reference

Actor class to manipulate action groups. More...

#include <Geant4Action.h>

Public Types

typedef std::vector< T * > _V
 

Public Member Functions

 Actors ()=default
 
 ~Actors ()=default
 
void clear ()
 
void add (T *obj)
 
void add_front (T *obj)
 
 operator const _V & () const
 
 operator _V & ()
 
const _Voperator-> () const
 
_Voperator-> ()
 
_V::iterator begin ()
 
_V::iterator end ()
 
_V::const_iterator begin () const
 
_V::const_iterator end () const
 
void updateContext (Geant4Context *ctxt)
 Context updates. More...
 
template<typename F >
_V::value_type get (const F &f) const
 Element access by name. More...
 
template<typename R , typename Q >
void operator() (R(Q::*pmf)())
 NON-CONST actions. More...
 
template<typename R , typename Q , typename A0 >
void operator() (R(Q::*pmf)(A0), A0 a0)
 
template<typename R , typename Q , typename A0 , typename A1 >
void operator() (R(Q::*pmf)(A0, A1), A0 a0, A1 a1)
 
template<typename R , typename Q >
void operator() (R(Q::*pmf)() const) const
 CONST actions. More...
 
template<typename R , typename Q , typename A0 >
void operator() (R(Q::*pmf)(A0) const, A0 a0) const
 
template<typename R , typename Q , typename A0 , typename A1 >
void operator() (R(Q::*pmf)(A0, A1) const, A0 a0, A1 a1) const
 
template<typename Q >
bool filter (bool(Q::*pmf)() const) const
 CONST filters. More...
 
template<typename Q , typename A0 >
bool filter (bool(Q::*pmf)(A0) const, A0 a0) const
 
template<typename Q , typename A0 , typename A1 >
bool filter (bool(Q::*pmf)(A0, A1) const, A0 a0, A1 a1) const
 

Public Attributes

_V m_v
 

Detailed Description

template<typename T>
class dd4hep::sim::Geant4Action::Actors< T >

Actor class to manipulate action groups.

Author
M.Frank
Version
1.0

Definition at line 168 of file Geant4Action.h.

Member Typedef Documentation

◆ _V

template<typename T >
typedef std::vector<T*> dd4hep::sim::Geant4Action::Actors< T >::_V

Definition at line 170 of file Geant4Action.h.

Constructor & Destructor Documentation

◆ Actors()

template<typename T >
dd4hep::sim::Geant4Action::Actors< T >::Actors ( )
default

◆ ~Actors()

template<typename T >
dd4hep::sim::Geant4Action::Actors< T >::~Actors ( )
default

Member Function Documentation

◆ add()

template<typename T >
void dd4hep::sim::Geant4Action::Actors< T >::add ( T *  obj)
inline

Definition at line 175 of file Geant4Action.h.

◆ add_front()

template<typename T >
void dd4hep::sim::Geant4Action::Actors< T >::add_front ( T *  obj)
inline

Definition at line 176 of file Geant4Action.h.

◆ begin() [1/2]

template<typename T >
_V::iterator dd4hep::sim::Geant4Action::Actors< T >::begin ( )
inline

Definition at line 181 of file Geant4Action.h.

◆ begin() [2/2]

template<typename T >
_V::const_iterator dd4hep::sim::Geant4Action::Actors< T >::begin ( ) const
inline

Definition at line 183 of file Geant4Action.h.

◆ clear()

template<typename T >
void dd4hep::sim::Geant4Action::Actors< T >::clear ( )
inline

Definition at line 174 of file Geant4Action.h.

◆ end() [1/2]

template<typename T >
_V::iterator dd4hep::sim::Geant4Action::Actors< T >::end ( )
inline

Definition at line 182 of file Geant4Action.h.

◆ end() [2/2]

template<typename T >
_V::const_iterator dd4hep::sim::Geant4Action::Actors< T >::end ( ) const
inline

Definition at line 184 of file Geant4Action.h.

◆ filter() [1/3]

template<typename T >
template<typename Q >
bool dd4hep::sim::Geant4Action::Actors< T >::filter ( bool(Q::*)() const  pmf) const
inline

CONST filters.

Definition at line 231 of file Geant4Action.h.

◆ filter() [2/3]

template<typename T >
template<typename Q , typename A0 >
bool dd4hep::sim::Geant4Action::Actors< T >::filter ( bool(Q::*)(A0) const  pmf,
A0  a0 
) const
inline

Definition at line 238 of file Geant4Action.h.

◆ filter() [3/3]

template<typename T >
template<typename Q , typename A0 , typename A1 >
bool dd4hep::sim::Geant4Action::Actors< T >::filter ( bool(Q::*)(A0, A1) const  pmf,
A0  a0,
A1  a1 
) const
inline

Definition at line 245 of file Geant4Action.h.

◆ get()

template<typename T >
template<typename F >
_V::value_type dd4hep::sim::Geant4Action::Actors< T >::get ( const F &  f) const
inline

Element access by name.

Definition at line 191 of file Geant4Action.h.

◆ operator _V &()

template<typename T >
dd4hep::sim::Geant4Action::Actors< T >::operator _V & ( )
inline

Definition at line 178 of file Geant4Action.h.

◆ operator const _V &()

template<typename T >
dd4hep::sim::Geant4Action::Actors< T >::operator const _V & ( ) const
inline

Definition at line 177 of file Geant4Action.h.

◆ operator()() [1/6]

template<typename T >
template<typename R , typename Q >
void dd4hep::sim::Geant4Action::Actors< T >::operator() ( R(Q::*)() const  pmf) const
inline

CONST actions.

Definition at line 215 of file Geant4Action.h.

◆ operator()() [2/6]

template<typename T >
template<typename R , typename Q >
void dd4hep::sim::Geant4Action::Actors< T >::operator() ( R(Q::*)()  pmf)
inline

NON-CONST actions.

Definition at line 199 of file Geant4Action.h.

◆ operator()() [3/6]

template<typename T >
template<typename R , typename Q , typename A0 >
void dd4hep::sim::Geant4Action::Actors< T >::operator() ( R(Q::*)(A0) const  pmf,
A0  a0 
) const
inline

Definition at line 220 of file Geant4Action.h.

◆ operator()() [4/6]

template<typename T >
template<typename R , typename Q , typename A0 >
void dd4hep::sim::Geant4Action::Actors< T >::operator() ( R(Q::*)(A0)  pmf,
A0  a0 
)
inline

Definition at line 204 of file Geant4Action.h.

◆ operator()() [5/6]

template<typename T >
template<typename R , typename Q , typename A0 , typename A1 >
void dd4hep::sim::Geant4Action::Actors< T >::operator() ( R(Q::*)(A0, A1) const  pmf,
A0  a0,
A1  a1 
) const
inline

Definition at line 225 of file Geant4Action.h.

◆ operator()() [6/6]

template<typename T >
template<typename R , typename Q , typename A0 , typename A1 >
void dd4hep::sim::Geant4Action::Actors< T >::operator() ( R(Q::*)(A0, A1)  pmf,
A0  a0,
A1  a1 
)
inline

Definition at line 209 of file Geant4Action.h.

◆ operator->() [1/2]

template<typename T >
_V* dd4hep::sim::Geant4Action::Actors< T >::operator-> ( )
inline

Definition at line 180 of file Geant4Action.h.

◆ operator->() [2/2]

template<typename T >
const _V* dd4hep::sim::Geant4Action::Actors< T >::operator-> ( ) const
inline

Definition at line 179 of file Geant4Action.h.

◆ updateContext()

template<typename T >
void dd4hep::sim::Geant4Action::Actors< T >::updateContext ( Geant4Context ctxt)
inline

Context updates.

Definition at line 187 of file Geant4Action.h.

Member Data Documentation

◆ m_v

template<typename T >
_V dd4hep::sim::Geant4Action::Actors< T >::m_v

Definition at line 171 of file Geant4Action.h.


The documentation for this class was generated from the following file: