 |
Belle II Software
release-05-02-19
|
11 #ifndef SVDNNShapeReconstructorModule_H
12 #define SVDNNShapeReconstructorModule_H
14 #include <framework/core/Module.h>
15 #include <framework/datastore/RelationArray.h>
16 #include <svd/calibration/SVDNoiseCalibrations.h>
17 #include <svd/calibration/SVDPulseShapeCalibrations.h>
18 #include <svd/reconstruction/NNWaveFitter.h>
19 #include <svd/dataobjects/SVDEventInfo.h>
37 class SVDNNShapeReconstructorModule :
public Module {
51 virtual void event()
override;
78 relation,
unsigned int index);
139 #endif // SVDNNShapeReconstructorModule_H
Low-level class to create/modify relations between StoreArrays.
std::string m_relShaperDigitTrueHitName
Name of the relation between SVDShaperDigits and SVDTrueHits.
bool m_calibratePeak
Use peak widths and peak time calibrations? Unitl this is also simulated, set to true only for testbe...
std::string m_timeFitterName
Name of the time fitter data xml.
std::string m_relRecoDigitMCParticleName
Name of the relation between SVDRecoDigits and MCParticles.
virtual void initialize() override
Initialize the module.
virtual void event() override
do the clustering
NNWaveFitter m_fitter
Time fitter.
SVDNNShapeReconstructorModule()
Constructor defining the parameters.
std::string m_relRecoDigitShaperDigitName
Name of the relation between SVDRecoDigits and SVDShaperDigits.
The class uses a neural network to find a probability distribution of arrival times for a sextet of A...
void createRelationLookup(const RelationArray &relation, RelationLookup &lookup, size_t digits)
Create lookup maps for relations FIXME: This has to be significantly simplified here,...
float m_cutAdjacent
Zero-suppression cut.
std::string m_relShaperDigitMCParticleName
Name of the relation between SVDShaperDigits and MCParticles.
bool m_writeRecoDigits
Write SVDRecoDigits? (no in normal operation)
RelationLookup m_mcRelation
Lookup table for SVDShaperDigit->MCParticle relation.
StoreObjPtr< SVDEventInfo > m_storeSVDEvtInfo
Storage for SVDEventInfo object.
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
SVDPulseShapeCalibrations m_pulseShapeCal
Calibrations: pusle shape and gain.
SVDNoiseCalibrations m_noiseCal
Calibrations: noise.
std::string m_storeTrueHitsName
Name of the collection to use for the SVDTrueHits.
std::string m_svdEventInfoName
Name of the SVDEventInfo object.
RelationLookup m_trueRelation
Lookup table for SVDShaperDigit->SVDTrueHit relation.
std::string m_storeRecoDigitsName
Name of the collection to use for the SVDRecoDigits.
std::string m_storeShaperDigitsName
Name of the collection to use for the SVDShaperDigits.
std::vector< const RelationElement * > RelationLookup
Container for a RelationArray Lookup table.
void fillRelationMap(const RelationLookup &lookup, std::map< unsigned int, float > &relation, unsigned int index)
Add the relation from a given SVDShaperDigit index to a map.
std::string m_relRecoDigitTrueHitName
Name of the relation between SVDRecoDigits and SVDTrueHits.
std::string m_storeMCParticlesName
Name of the collection to use for the MCParticles.
This class defines the dbobject and the methods to access the SVD calibrations from the local runs pr...