11 #include <framework/core/Module.h>
12 #include <framework/datastore/StoreArray.h>
14 #include <mdst/dataobjects/Track.h>
15 #include <mdst/dataobjects/PIDLikelihood.h>
17 #include <top/dataobjects/TOPLikelihood.h>
18 #include <arich/dataobjects/ARICHLikelihood.h>
19 #include <reconstruction/dataobjects/CDCDedxLikelihood.h>
20 #include <reconstruction/dataobjects/VXDDedxLikelihood.h>
21 #include <ecl/dataobjects/ECLPidLikelihood.h>
22 #include <klm/dataobjects/KLMMuidLikelihood.h>
66 virtual void event()
override;
71 virtual void endRun()
override;
This is a class to store ARICH likelihoods in the datastore.
Container for likelihoods obtained by the CDC dE/dx PID (CDCDedxPIDModule).
Container for likelihoods with ECL PID (ECLChargedPIDModule)
Class to store the likelihoods from KLM with additional informations related to the extrapolation.
a module to fill PIDLikelihoods
StoreArray< KLMMuidLikelihood > m_muid
Optional array for KLMMuidLikelihood.
StoreArray< VXDDedxLikelihood > m_vxdDedxLikelihoods
Optional array for VXDDedxLikelihoods.
virtual void initialize() override
Initialize the module.
virtual void event() override
Called for each event.
StoreArray< TOPLikelihood > m_topLikelihoods
Optional array for TOPLikelihoods.
MdstPIDModule()
Constructor.
StoreArray< ECLPidLikelihood > m_eclLikelihoods
Optional array for ECLPidLikelihoods.
virtual ~MdstPIDModule()
Destructor.
virtual void endRun() override
Called when run ended.
virtual void terminate() override
Terminates the module.
PIDLikelihood * m_pid
pointer to the object to be filled
virtual void beginRun() override
Called when a new run is started.
StoreArray< Track > m_tracks
Required array for Tracks.
StoreArray< ARICHLikelihood > m_arichLikelihoods
Optional array for ARICHLikelihoods.
void setLikelihoods(const TOPLikelihood *logl)
Set TOP log likelihoods and corresponding reconstruction flag.
StoreArray< CDCDedxLikelihood > m_cdcDedxLikelihoods
Optional array for CDCDedxLikelihoods.
StoreArray< PIDLikelihood > m_pidLikelihoods
Required array for PIDLikelihoods.
Class to collect log likelihoods from TOP, ARICH, dEdx, ECL and KLM aimed for output to mdst includes...
Accessor to arrays stored in the data store.
Class to store TOP log likelihoods (output of TOPReconstructor).
Container for likelihoods obtained by the VXD dE/dx PID (VXDDedxPIDModule).
Abstract base class for different kinds of events.