|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
27 declareProperty(
"Angle", m_angle = 0);
28 declareProperty(
"Mask", m_mask = 1);
29 m_needsControl =
true;
43 print(
"+++ No interaction of type %d present.",
m_mask);
48 typedef std::vector<Geant4PrimaryInteraction*> _I;
57 for(_I::iterator i=interactions.begin(); i != interactions.end(); ++i)
Geant4InteractionVertexBoost()=delete
Inhibit default constructor.
void boost(Interaction *interaction) const
Action routine to boost one single interaction according to the properties.
Class modelling a complete primary event with multiple interactions.
std::vector< Geant4PrimaryInteraction * > interactions() const
Retrieve all interactions.
Geant4PrimaryInteraction Interaction
Interaction definition.
int m_mask
Property: Unique identifier of the interaction to be modified.
static void increment(T *)
Increment count according to type information.
Geant4Event & event() const
Access the geant4 event – valid only between BeginEvent() and EndEvent()!
T * extension(bool alert=true)
Access to type safe extension object. Exception is thrown if the object is invalid.
virtual ~Geant4InteractionVertexBoost()
Default destructor.
static void decrement(T *)
Decrement count according to type information.
Concrete implementation of the Geant4 generator action base class.
virtual void operator()(G4Event *event) override
Callback to generate primary particles.
double m_angle
Property: The constant Lorentz transformation angle.
void print(const char *fmt,...) const
Support for messages with variable output level using output level.
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
int boostInteraction(const Geant4Action *caller, Geant4PrimaryEvent::Interaction *inter, double alpha)
Boost particles of one interaction identified by its mask.
Generic context to extend user, run and event information.
Geant4Context * context() const
Access the context.
Geant4PrimaryInteraction * get(int id) const
Retrieve an interaction by its ID.