11#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15#include <mdst/dataobjects/MCParticle.h>
16#include <framework/dataobjects/MCInitialParticles.h>
17#include <simulation/dataobjects/SimClockState.h>
19#include <framework/database/DBObjPtr.h>
20#include <framework/dbobjects/HardwareClockSettings.h>
21#include <framework/dbobjects/BunchStructure.h>
54 virtual void event()
override;
Class for accessing objects in the database.
Module generates discrete event t0 in ~4ns steps (bunch spacing) according to (double) gaussian distr...
double m_tailGaussMeanCosmics
mean of tail gaussian [ns] for cosmics
EventT0GeneratorModule()
Constructor.
double m_maximumT0
if set, randomize between -maximum and maximum
bool m_isCosmics
if true L1 jitter for cosmics is simulated
virtual void initialize() override
Initialize the Module.
double m_fixedT0
if set, a fixed t0 value is used instead of a gaussian distribution
DBObjPtr< HardwareClockSettings > m_clockSettings
hardware clock settings
virtual void event() override
Event processor.
double m_tailGaussFractionCosmics
area fraction of core gaussian for cosmics
double m_coreGaussWidth
sigma of core gaussian [ns]
double m_tailGaussWidthCosmics
sigma of tail gaussian [ns] for cosmics
DBObjPtr< BunchStructure > m_bunchStructure
bunch structure (fill pattern)
double m_tailGaussFraction
area fraction of core gaussian
double m_tailGaussWidth
sigma of tail gaussian [ns]
StoreArray< MCParticle > m_mcParticles
MC particles.
double m_coreGaussWidthCosmics
sigma of core gaussian [ns] for cosmics
StoreObjPtr< SimClockState > m_simClockState
generated hardware clock state
StoreObjPtr< MCInitialParticles > m_initialParticles
beam particles
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.