11#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15#include <mdst/dataobjects/Track.h>
16#include <tracking/dataobjects/ExtHit.h>
17#include <top/dataobjects/TOPDigit.h>
18#include <top/dataobjects/TOPRecBunch.h>
19#include <top/dataobjects/TOPBarHit.h>
20#include <top/dataobjects/TOPLikelihoodScanResult.h>
47 void event()
override;
56 void scanLikelihood(std::vector<float>masses, std::vector<float>logLs,
float deltaLL,
float& maxLL,
float& massMax,
57 float& minMassRange,
float& maxMassRange);
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
A module to perform the TOP PID likelihood scan and find the actual minimum as function of the mass.
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
void initialize() override
Setup the storearrays.
TOPLLScannerModule()
Constructor: Sets the description, the properties and the parameters of the module.
void event() override
Performs the scan.
void scanLikelihood(std::vector< float >masses, std::vector< float >logLs, float deltaLL, float &maxLL, float &massMax, float &minMassRange, float &maxMassRange)
Finds best fit value and confidence interval form a LL vie direct scan.
void terminate() override
Saves the results.
short m_nFineScanPoints
number of points for the fine-graned scan
~TOPLLScannerModule() override
Default destructor, Nothing to see here.
StoreArray< Track > m_tracks
collection of tracks
StoreArray< TOPDigit > m_digits
collection of digits
StoreArray< ExtHit > m_extHits
collection of extrapolated hits
StoreArray< TOPBarHit > m_barHits
collection of MCParticle hits at TOP
std::vector< float > m_massPoints
vector with the mass points used in the coarse scan
StoreArray< TOPLikelihoodScanResult > m_likelihoodScanResults
collection of likelihoods
Abstract base class for different kinds of events.