12#include "GaudiKernel/ServiceHandle.h"
17#include "CLHEP/Random/RandomEngine.h"
27 TauolaPP (
const std::string& name, ISvcLocator* pSvcLocator);
33 virtual StatusCode
execute()
override;
42 CLHEP::HepRandomEngine*
getRandomEngine(
const std::string& streamName,
unsigned long int randomSeedOffset,
const EventContext& ctx)
const;
43 CLHEP::HepRandomEngine*
getRandomEngineDuringInitialize(
const std::string& streamName,
unsigned long int randomSeedOffset,
unsigned int conditionsRun=1,
unsigned int lbn=1)
const;
47 StringProperty
m_key{
this,
"McEventKey",
"GEN_EVENT"};
53 IntegerProperty
m_dsid{
this,
"Dsid", 999999};
56 IntegerProperty
m_randomSeed{
this,
"RandomSeed", 1234567,
"Random seed for the built-in random engine"};
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
CLHEP::HepRandomEngine * getRandomEngine(const std::string &streamName, unsigned long int randomSeedOffset, const EventContext &ctx) const
IntegerProperty m_decay_particle
PDG ID of particle to study.
StringProperty m_key
Event record container key - FIXME should be using Read/WriteHandles here.
TauolaPP(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
ServiceHandle< IAthRNGSvc > m_rndmSvc
BooleanProperty m_setRadiation
TAUOLA switch for radiative corrections for leptonic tau decays.
CLHEP::HepRandomEngine * getRandomEngineDuringInitialize(const std::string &streamName, unsigned long int randomSeedOffset, unsigned int conditionsRun=1, unsigned int lbn=1) const
IntegerProperty m_decay_mode_opp
TAUOLA decay mode of particles with opposite charge as "decay_particle".
virtual StatusCode execute() override
Pass each event in the McEventCollection to Tauola to (re)decay the taus.
void reseedRandomEngine(const std::string &streamName, const EventContext &ctx)
IntegerProperty m_decay_mode_same
TAUOLA decay mode of particles with same charge as "decay_particle".
DoubleProperty m_tau_mass
tau mass to be taken by TAUOLA
DoubleProperty m_setRadiationCutOff
TAUOLA cut-off for radiative corrections.
IntegerProperty m_randomSeed
Seed for random number engine.
static CLHEP::HepRandomEngine * p_rndmEngine
BooleanProperty m_spin_correlation
TAUOLA switch for spin effects.