11#include <framework/core/Module.h>
12#include <framework/datastore/StoreArray.h>
13#include <mdst/dataobjects/Track.h>
14#include <reconstruction/dataobjects/VXDDedxTrack.h>
15#include <reconstruction/dataobjects/VXDDedxLikelihood.h>
16#include <framework/database/DBObjPtr.h>
17#include <svd/dbobjects/SVDdEdxPDFs.h>
18#include <pxd/dbobjects/PXDdEdxPDFs.h>
44 virtual void event()
override;
Class for accessing objects in the database.
Accessor to arrays stored in the data store.
Module that re-makes VXD PID likelihoods by taking dE/dx stored in VXDDedxTracks and lookup table PDF...
DBObjPtr< SVDdEdxPDFs > m_SVDDedxPDFs
look-up tables of SVD PDF's
virtual ~VXDDedxPIDRemakerModule()
Destructor.
bool m_usePXD
use PXD data for likelihood
StoreArray< VXDDedxLikelihood > m_dedxLikelihoods
collection of VXDDedxLikelihoods
DBObjPtr< PXDdEdxPDFs > m_PXDDedxPDFs
look-up tables of PXD PDF's
StoreArray< VXDDedxTrack > m_dedxTracks
collection of VXDDedxTracks
bool m_useSVD
use SVD data for likelihood
StoreArray< Track > m_tracks
collection of Tracks
bool m_useIndividualHits
use individual hits (true) or truncated mean (false) to determine likelihoods
virtual void initialize() override
Initialize the module.
virtual void event() override
This method is called for each event.
void checkPDFs()
Check the pdfs for consistency every time they change in the database.
VXDDedxPIDRemakerModule()
Default constructor.
Abstract base class for different kinds of events.