Generator Actions

Here are some generator actions. More...

Collaboration diagram for Generator Actions:

Modules

 Vertex Boost
 Boost the primary vertex (and all outgoing particles) of a single interaction.
 
 Vertex Smearing
 Smear the primary vertex (and all outgoing particles) of a single interaction.
 

Namespaces

 npdet
 Framework include files.
 
 npdet::sim
 

Classes

class  npdet::sim::EICInteractionVertexBoost
 Action class to boost the primary vertex (and all outgoing particles) of a single interaction. More...
 
class  npdet::sim::EICInteractionVertexSmear
 Smear the beam to account for the IP beam divergence. More...
 

Typedefs

using npdet::sim::EICInteractionVertexBoost::Interaction = Geant4PrimaryInteraction
 Interaction definition. More...
 
using npdet::sim::EICInteractionVertexSmear::Interaction = Geant4PrimaryInteraction
 Interaction definition. More...
 

Functions

void npdet::sim::EICInteractionVertexBoost::boost (Interaction *interaction) const
 Action routine to boost one single interaction according to the properties. More...
 
 npdet::sim::EICInteractionVertexBoost::EICInteractionVertexBoost ()=delete
 Inhibit default constructor. More...
 
 npdet::sim::EICInteractionVertexBoost::EICInteractionVertexBoost (Geant4Context *context, const std::string &name)
 Standard constructor. More...
 
virtual npdet::sim::EICInteractionVertexBoost::~EICInteractionVertexBoost ()
 Default destructor. More...
 
virtual void npdet::sim::EICInteractionVertexBoost::operator() (G4Event *event)
 Callback to generate primary particles. More...
 
void npdet::sim::EICInteractionVertexSmear::smear (Interaction *interaction) const
 Action routine to smear one single interaction according to the properties. More...
 
 npdet::sim::EICInteractionVertexSmear::EICInteractionVertexSmear ()=delete
 Inhibit default constructor. More...
 
 npdet::sim::EICInteractionVertexSmear::EICInteractionVertexSmear (const EICInteractionVertexSmear &copy)=delete
 Inhibit copy constructor. More...
 
 npdet::sim::EICInteractionVertexSmear::EICInteractionVertexSmear (Geant4Context *context, const std::string &name)
 Standard constructor. More...
 
virtual npdet::sim::EICInteractionVertexSmear::~EICInteractionVertexSmear ()
 Default destructor. More...
 
virtual void npdet::sim::EICInteractionVertexSmear::operator() (G4Event *event)
 Callback to generate primary particles. More...
 

Variables

double npdet::sim::EICInteractionVertexBoost::m_ionCrossingAngle = 0.0166667
 Property: The constant Lorentz transformation angle. More...
 
double npdet::sim::EICInteractionVertexBoost::m_eCrossingAngle = 0.00833333
 
int npdet::sim::EICInteractionVertexBoost::m_mask
 Property: Unique identifier of the interaction to be modified. More...
 
ROOT::Math::PxPyPzEVector npdet::sim::EICInteractionVertexSmear::m_offset = {0, 0, 0, 0}
 Property: The constant smearing offset. More...
 
ROOT::Math::PxPyPzEVector npdet::sim::EICInteractionVertexSmear::m_sigma_Ion = {0.000103, 0.000195, 0.0, 0.0}
 Property: sigma_x,y in units of angle. More...
 
ROOT::Math::PxPyPzEVector npdet::sim::EICInteractionVertexSmear::m_sigma_Electron = {0.000215, 0.000156, 0.0, 0.0}
 
int npdet::sim::EICInteractionVertexSmear::m_mask
 Property: Unique identifier of the interaction created. More...
 

Detailed Description

Here are some generator actions.

Generator A B C

Typedef Documentation

◆ Interaction [1/2]

using npdet::sim::EICInteractionVertexBoost::Interaction = Geant4PrimaryInteraction

Interaction definition.

Definition at line 37 of file EICInteractionVertexBoost.h.

◆ Interaction [2/2]

using npdet::sim::EICInteractionVertexSmear::Interaction = Geant4PrimaryInteraction

Interaction definition.

Definition at line 37 of file EICInteractionVertexSmear.h.

Function Documentation

◆ EICInteractionVertexBoost() [1/2]

npdet::sim::EICInteractionVertexBoost::EICInteractionVertexBoost ( )
delete

Inhibit default constructor.

◆ EICInteractionVertexBoost() [2/2]

npdet::sim::EICInteractionVertexBoost::EICInteractionVertexBoost ( Geant4Context *  context,
const std::string &  name 
)

Standard constructor.

Definition at line 22 of file EICInteractionVertexBoost.cxx.

◆ EICInteractionVertexSmear() [1/3]

npdet::sim::EICInteractionVertexSmear::EICInteractionVertexSmear ( )
delete

Inhibit default constructor.

◆ EICInteractionVertexSmear() [2/3]

npdet::sim::EICInteractionVertexSmear::EICInteractionVertexSmear ( const EICInteractionVertexSmear copy)
delete

Inhibit copy constructor.

◆ EICInteractionVertexSmear() [3/3]

npdet::sim::EICInteractionVertexSmear::EICInteractionVertexSmear ( Geant4Context *  context,
const std::string &  name 
)

Standard constructor.

Definition at line 31 of file EICInteractionVertexSmear.cxx.

◆ ~EICInteractionVertexBoost()

npdet::sim::EICInteractionVertexBoost::~EICInteractionVertexBoost ( )
virtual

Default destructor.

Definition at line 34 of file EICInteractionVertexBoost.cxx.

◆ ~EICInteractionVertexSmear()

npdet::sim::EICInteractionVertexSmear::~EICInteractionVertexSmear ( )
virtual

Default destructor.

Definition at line 43 of file EICInteractionVertexSmear.cxx.

◆ boost()

void npdet::sim::EICInteractionVertexBoost::boost ( Interaction interaction) const
protected

Action routine to boost one single interaction according to the properties.

Action to boost one single interaction according to the properties.

Definition at line 39 of file EICInteractionVertexBoost.cxx.

◆ operator()() [1/2]

void npdet::sim::EICInteractionVertexBoost::operator() ( G4Event *  event)
virtual

Callback to generate primary particles.

Definition at line 122 of file EICInteractionVertexBoost.cxx.

◆ operator()() [2/2]

void npdet::sim::EICInteractionVertexSmear::operator() ( G4Event *  event)
virtual

Callback to generate primary particles.

Definition at line 128 of file EICInteractionVertexSmear.cxx.

◆ smear()

void npdet::sim::EICInteractionVertexSmear::smear ( Interaction interaction) const
protected

Action routine to smear one single interaction according to the properties.

Action to smear one single interaction according to the properties.

Definition at line 46 of file EICInteractionVertexSmear.cxx.

Variable Documentation

◆ m_eCrossingAngle

double npdet::sim::EICInteractionVertexBoost::m_eCrossingAngle = 0.00833333
protected

Definition at line 44 of file EICInteractionVertexBoost.h.

◆ m_ionCrossingAngle

double npdet::sim::EICInteractionVertexBoost::m_ionCrossingAngle = 0.0166667
protected

Property: The constant Lorentz transformation angle.

Crossing angles relative to central B-field solenoid.

Definition at line 43 of file EICInteractionVertexBoost.h.

◆ m_mask [1/2]

int npdet::sim::EICInteractionVertexSmear::m_mask
protected

Property: Unique identifier of the interaction created.

Definition at line 46 of file EICInteractionVertexSmear.h.

◆ m_mask [2/2]

int npdet::sim::EICInteractionVertexBoost::m_mask
protected

Property: Unique identifier of the interaction to be modified.

Definition at line 46 of file EICInteractionVertexBoost.h.

◆ m_offset

ROOT::Math::PxPyPzEVector npdet::sim::EICInteractionVertexSmear::m_offset = {0, 0, 0, 0}
protected

Property: The constant smearing offset.

Definition at line 41 of file EICInteractionVertexSmear.h.

◆ m_sigma_Electron

ROOT::Math::PxPyPzEVector npdet::sim::EICInteractionVertexSmear::m_sigma_Electron = {0.000215, 0.000156, 0.0, 0.0}
protected

Definition at line 44 of file EICInteractionVertexSmear.h.

◆ m_sigma_Ion

ROOT::Math::PxPyPzEVector npdet::sim::EICInteractionVertexSmear::m_sigma_Ion = {0.000103, 0.000195, 0.0, 0.0}
protected

Property: sigma_x,y in units of angle.

Definition at line 43 of file EICInteractionVertexSmear.h.