![]() |
ATLAS Offline Software
|
This tool takes a HepMC::GenEvent and applies rotations See https://twiki.cern.ch/twiki/bin/viewauth/Atlas/AtlasG4EventFilters for more details. More...
#include <GenEventRotator.h>
Public Member Functions | |
| GenEventRotator (const std::string &t, const std::string &n, const IInterface *p) | |
| Constructor with parameters. | |
| StatusCode | initialize () override final |
| Athena algtool's Hooks. | |
| StatusCode | finalize () override final |
| Athena algtool's Hooks. | |
| StatusCode | initializeAthenaEvent () |
| StatusCode | manipulate (HepMC::GenEvent &ge, const EventContext &ctx) const override final |
| modifies the given GenEvent | |
Private Member Functions | |
| StatusCode | initializeGenEvent (CLHEP::HepLorentzRotation &transform, const EventContext &ctx) const |
| calculate the transformations that we want to apply to the particles in the current GenEvent | |
| void | rotateParticle (HepMC::GenParticlePtr &p, const CLHEP::HepLorentzRotation &transform) const |
| apply rotations to individual GenParticles | |
Private Attributes | |
| Gaudi::Property< double > | m_xangle {this, "xAngle", 0.0, "rotation about x-axis"} |
| Gaudi::Property< double > | m_yangle {this, "yAngle", 0.0, "rotation about y-axis"} |
| Gaudi::Property< double > | m_zangle {this, "zAngle", 0.0, "rotation about z-axis"} |
This tool takes a HepMC::GenEvent and applies rotations See https://twiki.cern.ch/twiki/bin/viewauth/Atlas/AtlasG4EventFilters for more details.
Definition at line 28 of file GenEventRotator.h.
| Simulation::GenEventRotator::GenEventRotator | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Constructor with parameters.
Constructor.
Definition at line 22 of file GenEventRotator.cxx.
|
finaloverride |
Athena algtool's Hooks.
Definition at line 37 of file GenEventRotator.cxx.
|
finaloverride |
Athena algtool's Hooks.
Definition at line 30 of file GenEventRotator.cxx.
| StatusCode Simulation::GenEventRotator::initializeAthenaEvent | ( | ) |
Definition at line 43 of file GenEventRotator.cxx.
|
private |
calculate the transformations that we want to apply to the particles in the current GenEvent
Definition at line 48 of file GenEventRotator.cxx.
|
finaloverride |
modifies the given GenEvent
modifies (displaces) the given GenEvent
Definition at line 70 of file GenEventRotator.cxx.
|
private |
apply rotations to individual GenParticles
Definition at line 82 of file GenEventRotator.cxx.
|
private |
Definition at line 49 of file GenEventRotator.h.
|
private |
Definition at line 50 of file GenEventRotator.h.
|
private |
Definition at line 51 of file GenEventRotator.h.