|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef ISF_HEPMC_GENEVENTROTATOR_H
8 #define ISF_HEPMC_GENEVENTROTATOR_H 1
14 #include "GaudiKernel/ServiceHandle.h"
16 #include "CLHEP/Geometry/Transform3D.h"
17 #include "CLHEP/Vector/LorentzRotation.h"
49 Gaudi::Property<double>
m_xangle{
this,
"xAngle", 0.0,
"rotation about x-axis"};
50 Gaudi::Property<double>
m_yangle{
this,
"yAngle", 0.0,
"rotation about y-axis"};
51 Gaudi::Property<double>
m_zangle{
this,
"zAngle", 0.0,
"rotation about z-axis"};
56 #endif //> !ISF_HEPMC_GENEVENTROTATOR_H
StatusCode manipulate(HepMC::GenEvent &ge, const EventContext &ctx) const override final
modifies the given GenEvent
GenEventRotator(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
GenParticle * GenParticlePtr
Gaudi::Property< double > m_yangle
Gaudi::Property< double > m_zangle
StatusCode initializeGenEvent(CLHEP::HepLorentzRotation &transform, const EventContext &ctx) const
calculate the transformations that we want to apply to the particles in the current GenEvent
StatusCode initialize() override final
Athena algtool's Hooks.
::StatusCode StatusCode
StatusCode definition for legacy code.
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
StatusCode finalize() override final
Athena algtool's Hooks.
Gaudi::Property< double > m_xangle
StatusCode initializeAthenaEvent()
void rotateParticle(HepMC::GenParticlePtr &p, const CLHEP::HepLorentzRotation &transform) const
apply rotations to individual GenParticles