1 #ifndef BSEMCMERGERECOHITS_HH 2 #define BSEMCMERGERECOHITS_HH 17 class FairParGenericSet;
44 virtual double CalculateDistance(
const TVector3 &firstposition,
const TVector3 &secondposition);
Resembles/Contains all information a particle hitting the EMC can provide for later use in the PID st...
Container for clustering parameter.
virtual void SetupParameters(const PndParameterRegister *t_parameterRegister)
Fetch all parameters from the PndParameterRegister.
const BSEmcCrystalPositionPar * fPositionPar
virtual ~BSEmcMergeRecoHits()
PndOutputContainerI< BSEmcSubCluster > * fSubClusterArray
virtual void SetData(BSEmcClusteringData *t_pdata)
Pass the data container ptrs to the process, and store pointers in class members. ...
TString fSubClusterBranchName
Double_t fClusterEnergyCut
Helper class to calculate the cluster position.
PndOutputContainerI< BSEmcCluster > * fClusterArray
virtual void FillTmpSubcluster(BSEmcSubCluster *&TmpSubCluster, const BSEmcSubCluster *SubCluster)
Combine the digis of the given SubCluster and the temporary SubCluster and re-calculate energy and po...
virtual void UpdateRecoHit(const BSEmcSubCluster *MainSubCluster, const Int_t MainSubClusterId)
Update the energy values of the main RecoHit based on the temporary SubCluster.
std::unique_ptr< BSEmcEnergyCalculationAlgo > fEnergyProcess
BSEmcGeoNeighbouringRelationPar * fNeighbouringRelationPar
PndContainerI< BSEmcDigi > * fDigiArray
ClassDef(BSEmcMergeRecoHits, 1)
a cluster (group of neighboring crystals) of hit emc crystals
virtual void CleanUpRecoHitArray()
Remove SplitOff RecoHits and compress the RecoHitArray.
Parameter for crystal positions.
PndOutputContainerI< BSEmcRecoHit > * fRecoHitArray
virtual Int_t FindClosestHit(const BSEmcRecoHit *CurrentRecoHit)
Find the Reco Hit, which lies closest to the given RecoHit.
virtual void SetDetectorName(const std::string &t_detectorName)
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to b...
virtual double CalculateDistance(const TVector3 &firstposition, const TVector3 &secondposition)
Calculate the distance of two given RecoHit positions.
Container of addresses for data Container used by BSEmcClusteringTask and passed to Clustering Proces...
std::string fNeighbouringRelationParName
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
std::string fClusterPropertiesParName
represents the reconstructed hit of one emc crystal
std::string fPositionParName
std::unique_ptr< BSEmcPositionAlgo > fPositionProcess
Interface to a datacontainer to be used in PandaROOT.
std::string fClusteringParName
Helper class to calculate the Energies of a cluster.
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
Neigbouring Relations based on a list of detectorIds.
represents a reconstructed (splitted) emc cluster