DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Classes | Namespaces | Macros | Functions
Geant4Action.h File Reference
#include <DD4hep/Printout.h>
#include <DD4hep/ComponentProperties.h>
#include <DDG4/Geant4Context.h>
#include <DDG4/Geant4Callback.h>
#include <string>
#include <cstdarg>

Go to the source code of this file.

Classes

class  dd4hep::sim::TypeName
 Helper class to handle strings of the format "type/name". More...
 
class  dd4hep::sim::Geant4Action
 Default base class for all Geant 4 actions and derivates thereof. More...
 
class  dd4hep::sim::Geant4Action::ContextSwap
 Functor to update the context of a Geant4Action object. More...
 
struct  dd4hep::sim::Geant4Action::FindByName
 Functor to access elements by name. More...
 
class  dd4hep::sim::Geant4Action::Actors< T >
 Actor class to manipulate action groups. More...
 

Namespaces

 dd4hep
 Namespace for the AIDA detector description toolkit.
 
 dd4hep::sim
 Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
 

Macros

#define DDG4_DEFINE_ACTION_DEFAULT_CTOR(action)   protected: action() = delete;
 
#define DDG4_DEFINE_ACTION_CONSTRUCTORS(action)
 

Functions

template<typename TO , typename FROM >
TO dd4hep::sim::fast_cast (FROM from)
 Cast operator. More...
 

Macro Definition Documentation

◆ DDG4_DEFINE_ACTION_CONSTRUCTORS

#define DDG4_DEFINE_ACTION_CONSTRUCTORS (   action)
Value:
protected: \
action(action&& copy) = delete; \
action(const action& copy) = delete; \
action& operator=(action&& copy) = delete; \
action& operator=(const action& copy) = delete

1) Allow default constructor (necessary for ROOT) 2) Inhibit move constructor 3) Inhibit copy constructor 4) Inhibit move operator 5) Inhibit assignment operator

Definition at line 50 of file Geant4Action.h.

◆ DDG4_DEFINE_ACTION_DEFAULT_CTOR

#define DDG4_DEFINE_ACTION_DEFAULT_CTOR (   action)    protected: action() = delete;

Definition at line 42 of file Geant4Action.h.

DDG4_DEFINE_ACTION_DEFAULT_CTOR
#define DDG4_DEFINE_ACTION_DEFAULT_CTOR(action)
Definition: Geant4Action.h:41
dd4hep::detail::tools::copy
void copy(Alignment from, Alignment to)
Copy alignment object from source object.
Definition: AlignmentTools.cpp:43