 |
Belle II Software
release-05-02-19
|
23 #include <framework/core/Module.h>
24 #include <framework/datastore/StoreArray.h>
25 #include <framework/datastore/StoreObjPtr.h>
32 class ECLConnectedRegion;
34 class EventLevelClusteringInfo;
44 class ECLCRFinderModule :
public Module {
60 virtual void event()
override;
63 virtual void endRun()
override;
79 {
return "ECLCalDigits" ; }
83 {
return "ECLConnectedRegions" ; }
87 {
return "EventLevelClusteringInfo" ; }
135 {
return "ECLCalDigitsPureCsI" ; }
139 {
return "ECLConnectedRegionsPureCsI" ; }
143 {
return "EventLevelClusteringInfoPureCsI" ; }
virtual void event() override
Event.
virtual void beginRun() override
Begin.
StoreArray< ECLConnectedRegion > m_eclConnectedRegions
Store array: ECLConnectedRegion.
double m_energyCut[3]
Energy cut for seed, neighbours, ...
virtual ~ECLCRFinderModule()
Destructor.
std::vector< int > m_cellIdToTempCRIdVec
Connected Region map.
double m_energyCutBkgd[3]
Energy cut (for high background) for seed, neighbours, ...
int m_tempCRId
Temporary CR ID.
double m_timeCut[3]
Time cut for seed, neighbours, ...
void updateCRs(int cellid, int tempcr)
Update CRs.
ECLCRFinderModule()
Constructor.
std::string m_mapType[2]
Neighbour map types.
std::map< int, int > m_cellIdToTempCRIdMap
cellid -> temporary CR.
virtual const char * eventLevelClusteringInfoName() const override
Name to be used for PureCsI option: EventLevelClusteringInfoPureCsI.
virtual const char * eventLevelClusteringInfoName() const
Name to be used for default option: EventLevelClusteringInfo.
virtual void terminate() override
Terminate (close ROOT files here if you have opened any).
StoreArray< ECLCalDigit > m_eclCalDigits
Store array: ECLCalDigit.
virtual const char * eclConnectedRegionArrayName() const override
Name to be used for PureCsI option: ECLConnectedRegionsPureCsI.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
virtual void initialize() override
Initialize.
std::vector< int > m_cellIdToDigitVec
cellid -> above threshold digits.
Class to find connected regions, pureCsI version.
int m_useBackgroundLevel
Background dependend energy and timing cuts.
StoreObjPtr< EventLevelClusteringInfo > m_eventLevelClusteringInfo
Store object pointer: EventLevelClusteringInfo.
virtual void endRun() override
End run.
void checkNeighbours(const int cellid, const int tempcrid, const int type)
Neighbour finder.
std::vector< int > m_cellIdToGrowthVec
cellid -> growth digits.
double m_energyCutMod[3]
Other variables.
virtual const char * eclCalDigitArrayName() const override
Name to be used for PureCsI option: ECLCalDigitsPureCsI.
Accessor to arrays stored in the data store.
std::vector< ECL::ECLNeighbours * > m_neighbourMaps
Neighbour maps.
double m_mapPar[2]
Parameters for neighbour maps.
virtual const char * eclConnectedRegionArrayName() const
Name to be used for default option: ECLConnectedRegions.
virtual const char * eclCalDigitArrayName() const
Name to be used for default or PureCsI option: ECLCalDigits.
Class to find connected regions.
int m_fullBkgdCount
Number of expected background digits at full background.
std::vector< int > m_cellIdToSeedVec
Digit vectors.
std::vector< int > m_calDigitStoreArrPosition
vector (8736+1 entries) with cell id to store array positions
int m_skipFailedTimeFitDigits
Handling of digits with failed time fits.