EICInteractionVertexSmear.h
Go to the documentation of this file.
1 #ifndef DD4HEP_DDG4_EICInteractionVertexSmear_H
2 #define DD4HEP_DDG4_EICInteractionVertexSmear_H
3 
13 // Framework include files
14 #include "DDG4/Geant4GeneratorAction.h"
15 
16 // ROOT include files
17 #include "Math/Vector4D.h"
18 
19 namespace npdet {
20  namespace sim {
21 
22  using namespace dd4hep::sim;
23 
35  public:
37  using Interaction = Geant4PrimaryInteraction;
38 
39  protected:
41  ROOT::Math::PxPyPzEVector m_offset = {0, 0, 0, 0};
43  ROOT::Math::PxPyPzEVector m_sigma_Ion = {0.000103, 0.000195, 0.0, 0.0};
44  ROOT::Math::PxPyPzEVector m_sigma_Electron = {0.000215, 0.000156, 0.0, 0.0};
46  int m_mask;
47 
49  void smear(Interaction* interaction) const;
50 
51  public:
57  EICInteractionVertexSmear(Geant4Context* context, const std::string& name);
59  virtual ~EICInteractionVertexSmear();
61  virtual void operator()(G4Event* event);
62  };
63  } // End namespace sim
64 } // End namespace dd4hep
65 
66 
67 
69 #endif /* DD4HEP_DDG4_EICInteractionVertexSmear_H */
Smear the beam to account for the IP beam divergence.
npdet::sim::EICInteractionVertexSmear EICInteractionVertexSmear
EICInteractionVertexSmear(const EICInteractionVertexSmear &copy)=delete
Inhibit copy constructor.
Framework include files.
int m_mask
Property: Unique identifier of the interaction created.
EICInteractionVertexSmear()=delete
Inhibit default constructor.
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
Geant4PrimaryInteraction Interaction
Interaction definition.