7 #ifndef BSEMCMAKEPRECLUSTERS_HH 8 #define BSEMCMAKEPRECLUSTERS_HH 15 #include "RtypesCore.h" 32 class TMemberInspector;
33 struct BSEmcClusteringData;
58 std::vector<BSEmcPrecluster *>
Precluster(
const std::vector<const BSEmcDigi *> &t_digiCont);
75 virtual void FinishPreclusters(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcPrecluster *> &t_preclusterCont);
79 TString fDigiBranchname{
""};
80 TString fPreclusterBranchname{
""};
84 std::string fClusteringParName{
""};
85 std::string fClusterPropertiesParName{
""};
86 std::string fPositionParName{
""};
87 std::string fNeighbouringRelationParName{
""};
88 Double_t fDigiEnergyThreshold{-1};
90 Int_t fDigiPosType{0};
97 Int_t nTotDigisPassed;
void SetClusteringParName(const std::string &t_parName)
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
represents an emc precluster, formed in the (virtual) data concentrators
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...
Helper class to calculate the cluster position.
virtual void GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.
void FinishPrecluster(const std::vector< const BSEmcDigi *> &t_digiCont, BSEmcPrecluster *t_cluster)
Online like preclustering, takes digis, sorts them into DataConcentrator and only clusters within one...
virtual ~BSEmcMakePreclusters()
Parameter for crystal positions.
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
void SetClusterPropertiesParName(const std::string &t_parName)
represents the reconstructed hit of one emc crystal
virtual void FinishPreclusters(const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcPrecluster *> &t_preclusterCont)
void SetPreclusterBranchName(const TString &t_branchname)
Interface to a datacontainer to be used in PandaROOT.
void SetPositionMethod(Int_t t_method)
virtual void SetupParameters(const PndParameterRegister *t_paramRegister)
Fetch all parameters from the PndParameterRegister.
std::vector< BSEmcPrecluster * > Precluster(const std::vector< const BSEmcDigi *> &t_digiCont)
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
Neigbouring Relations based on a list of detectorIds.
void SetPositionParName(const std::string &t_parName)
void SetDigiPositionType(Int_t t_type)
void SetDigiBranchName(const TString &t_branchname)
void SetNeighbouringRelationParName(const std::string &t_parName)