11#include <framework/core/Module.h>
12#include <framework/datastore/StoreArray.h>
14#include <tracking/dataobjects/RecoTrack.h>
15#include <svd/dataobjects/SVDCluster.h>
46 virtual void event()
override;
56 void calculateProb(TH2F* signal, TH2F* background, TH2F* probability);
Imports Clusters of the SVD detector and converts them to spacePoints.
std::string m_svdClustersName
SVDCluster collection name.
std::string m_nameOfInstance
allows the user to set an identifier for this module.
virtual void initialize() override
Init the module.
StoreArray< SVDCluster > m_svdClusters
the storeArray for svdClusters as member, is faster than recreating link for each event
virtual void event() override
event
virtual void terminate() override
final output
void calculateError(TH2F *signal, TH2F *background, TH2F *error)
compute error
std::map< std::string, TH2F * > backgroundHistMap
map for background histograms
bool m_useLegacyNaming
use legacy pdf naming
std::string m_recoTracksName
RecoTracks collection name.
std::map< std::string, TH2F * > signalHistMap
map of signal histograms
int m_maxClusterSize
max numnber of strips the PDF are separated into
StoreArray< RecoTrack > m_recoTracks
RecoTrack store array.
void calculateProb(TH2F *signal, TH2F *background, TH2F *probability)
compute probability
SVDSpacePointQICalibrationModule()
Constructor.
int m_binSize
number of bins in charge distribution
std::string m_outputFileName
output file name
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.