1 #ifndef BSEMCMERGERECOHITS_HH 2 #define BSEMCMERGERECOHITS_HH 16 class FairParGenericSet;
47 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.
PndMutableContainerI< BSEmcRecoHit > * fRecoHitArray
void SetSubClusterBranchName(const TString &t_branchname)
virtual void SetupParameters(const PndParameterRegister *t_parameterRegister)
Fetch all parameters from the PndParameterRegister.
const BSEmcCrystalPositionPar * fPositionPar
virtual ~BSEmcMergeRecoHits()
PndContainerI< BSEmcSubCluster > * fSubClusterArray
Double_t fClusterEnergyCut
Helper class to calculate the cluster position.
void SetClusterBranchName(const TString &t_branchname)
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
void SetDigiBranchName(const TString &t_branchname)
virtual void GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.
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
PndContainerI< BSEmcCluster > * fClusterArray
virtual void CleanUpRecoHitArray()
Remove SplitOff RecoHits and compress the RecoHitArray.
Parameter for crystal positions.
void SetRecoHitBranchName(const TString &t_branchname)
virtual Int_t FindClosestHit(const BSEmcRecoHit *CurrentRecoHit)
Find the Reco Hit, which lies closest to the given RecoHit.
TString fSubClusterBranchname
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.
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
TString fClusterBranchname
std::unique_ptr< BSEmcPositionAlgo > fPositionProcess
Interface to a datacontainer to be used in PandaROOT.
std::string fClusteringParName
TString fRecoHitBranchname
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
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...