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>
57 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
double m_maximumT0
if set, randomize between -maximum and maximum
bool m_isCosmics
if true L1 jitter for cosmics is simulated
double m_fixedT0
if set, a fixed t0 value is used instead of a gaussian distribution
DBObjPtr< HardwareClockSettings > m_clockSettings
hardware clock settings
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
Type-safe access to single objects in the data store.
EventT0GeneratorModule()
Constructor.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
Abstract base class for different kinds of events.