k4SimGeant4
Loading...
Searching...
No Matches
SimG4CrossingAngleBoost Class Reference

Boost 'generated' particles according the crossing angle. More...

#include <SimG4CrossingAngleBoost.h>

Inheritance diagram for SimG4CrossingAngleBoost:
Collaboration diagram for SimG4CrossingAngleBoost:

Public Member Functions

 SimG4CrossingAngleBoost (const std::string &aName, ISvcLocator *svcLoc)
 
StatusCode initialize ()
 Initialize.
 
StatusCode finalize ()
 Finalize.
 
StatusCode execute (const EventContext &) const
 Save the data output.
 

Private Attributes

DataHandle< edm4hep::MCParticleCollection > m_inParticles {"InParticles", Gaudi::DataHandle::Reader, this}
 Handle for the particles to be read.
 
DataHandle< edm4hep::MCParticleCollection > m_outParticles {"OutParticles", Gaudi::DataHandle::Writer, this}
 Handle for the particles to be written.
 
Gaudi::Property< double > m_alpha {this, "CrossingAngle", 0., "Crossing angle (alpha) in radians"}
 Value of the crossing angle in radians.
 

Detailed Description

Boost 'generated' particles according the crossing angle.

Author
Juraj Smiesko, Gerri Ganis

Constructor & Destructor Documentation

◆ SimG4CrossingAngleBoost()

SimG4CrossingAngleBoost::SimG4CrossingAngleBoost ( const std::string & aName,
ISvcLocator * svcLoc )

Member Function Documentation

◆ execute()

StatusCode SimG4CrossingAngleBoost::execute ( const EventContext & ) const

Save the data output.

Saves the 'reconstructed' (smeared) particles and associates them with MC particles.

Parameters
[in]aEventEvent with data to save.
Returns
status code

◆ finalize()

StatusCode SimG4CrossingAngleBoost::finalize ( )

Finalize.

Returns
status code

◆ initialize()

StatusCode SimG4CrossingAngleBoost::initialize ( )

Initialize.

Returns
status code

Member Data Documentation

◆ m_alpha

Gaudi::Property<double> SimG4CrossingAngleBoost::m_alpha {this, "CrossingAngle", 0., "Crossing angle (alpha) in radians"}
private

Value of the crossing angle in radians.

◆ m_inParticles

DataHandle<edm4hep::MCParticleCollection> SimG4CrossingAngleBoost::m_inParticles {"InParticles", Gaudi::DataHandle::Reader, this}
mutableprivate

Handle for the particles to be read.

◆ m_outParticles

DataHandle<edm4hep::MCParticleCollection> SimG4CrossingAngleBoost::m_outParticles {"OutParticles", Gaudi::DataHandle::Writer, this}
mutableprivate

Handle for the particles to be written.


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