1#ifndef SIMG4COMPONENTS_CROSSINGANGLEBOOST_H
2#define SIMG4COMPONENTS_CROSSINGANGLEBOOST_H
5#include "Gaudi/Algorithm.h"
8#include "k4FWCore/DataHandle.h"
12class MCParticleCollection;
38 StatusCode
execute(
const EventContext&)
const;
42 mutable DataHandle<edm4hep::MCParticleCollection>
m_inParticles{
"InParticles", Gaudi::DataHandle::Reader,
this};
44 mutable DataHandle<edm4hep::MCParticleCollection>
m_outParticles{
"OutParticles", Gaudi::DataHandle::Writer,
this};
46 Gaudi::Property<double>
m_alpha{
this,
"CrossingAngle", 0.,
"Crossing angle (alpha) in radians"};
Boost 'generated' particles according the crossing angle.
Definition SimG4CrossingAngleBoost.h:22
DataHandle< edm4hep::MCParticleCollection > m_inParticles
Handle for the particles to be read.
Definition SimG4CrossingAngleBoost.h:42
SimG4CrossingAngleBoost(const std::string &aName, ISvcLocator *svcLoc)
Definition SimG4CrossingAngleBoost.cpp:13
StatusCode initialize()
Initialize.
Definition SimG4CrossingAngleBoost.cpp:23
Gaudi::Property< double > m_alpha
Value of the crossing angle in radians.
Definition SimG4CrossingAngleBoost.h:46
StatusCode execute(const EventContext &) const
Save the data output.
Definition SimG4CrossingAngleBoost.cpp:39
DataHandle< edm4hep::MCParticleCollection > m_outParticles
Handle for the particles to be written.
Definition SimG4CrossingAngleBoost.h:44
StatusCode finalize()
Finalize.
Definition SimG4CrossingAngleBoost.cpp:116
Definition EventInformation.h:10