Smear the beam to account for the IP beam divergence. More...

#include <EICInteractionVertexSmear.h>

Inheritance diagram for npdet::sim::EICInteractionVertexSmear:
Collaboration diagram for npdet::sim::EICInteractionVertexSmear:

Public Types

using Interaction = Geant4PrimaryInteraction
 Interaction definition. More...
 

Public Member Functions

 EICInteractionVertexSmear ()=delete
 Inhibit default constructor. More...
 
 EICInteractionVertexSmear (const EICInteractionVertexSmear &copy)=delete
 Inhibit copy constructor. More...
 
 EICInteractionVertexSmear (Geant4Context *context, const std::string &name)
 Standard constructor. More...
 
virtual ~EICInteractionVertexSmear ()
 Default destructor. More...
 
virtual void operator() (G4Event *event)
 Callback to generate primary particles. More...
 

Protected Member Functions

void smear (Interaction *interaction) const
 Action routine to smear one single interaction according to the properties. More...
 

Protected Attributes

ROOT::Math::PxPyPzEVector m_offset = {0, 0, 0, 0}
 Property: The constant smearing offset. More...
 
ROOT::Math::PxPyPzEVector m_sigma_Ion = {0.000103, 0.000195, 0.0, 0.0}
 Property: sigma_x,y in units of angle. More...
 
ROOT::Math::PxPyPzEVector m_sigma_Electron = {0.000215, 0.000156, 0.0, 0.0}
 
int m_mask
 Property: Unique identifier of the interaction created. More...
 

Detailed Description

Smear the beam to account for the IP beam divergence.

Action class to smear the primary vertex (and all outgoing particles) of a single interaction The vertex smearing is steered by a 3D gaussian given by a constant offset and the corresponding errors. The interaction to be modified is identified by the interaction's unique mask.

Definition at line 34 of file EICInteractionVertexSmear.h.


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