EICInteractionVertexBoost.h
Go to the documentation of this file.
1 #ifndef DD4HEP_DDG4_EICInteractionVertexBoost_H
2 #define DD4HEP_DDG4_EICInteractionVertexBoost_H
3 
19 // Framework include files
20 #include "DDG4/Geant4GeneratorAction.h"
21 
22 namespace npdet {
23 
24  namespace sim {
25 
26  using namespace dd4hep::sim;
28 
35  public:
37  using Interaction = Geant4PrimaryInteraction ;
38 
39  protected:
41  //double m_angle;
43  double m_ionCrossingAngle = 0.0166667;
44  double m_eCrossingAngle = 0.00833333;
46  int m_mask;
47 
49  void boost(Interaction* interaction) const;
50 
51  public:
55  EICInteractionVertexBoost(Geant4Context* context, const std::string& name);
57  virtual ~EICInteractionVertexBoost();
59  virtual void operator()(G4Event* event);
60  };
61  } // End namespace sim
62 } // End namespace dd4hep
63 
65 #endif /* DD4HEP_DDG4_EICInteractionVertexBoost_H */
Framework include files.
npdet::sim::EICInteractionVertexBoost EICInteractionVertexBoost
EICInteractionVertexBoost()=delete
Inhibit default constructor.
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
Action class to boost the primary vertex (and all outgoing particles) of a single interaction.
int m_mask
Property: Unique identifier of the interaction to be modified.
Geant4PrimaryInteraction Interaction
Interaction definition.