7 #ifndef BSEMCMAKEPRECLUSTERS_HH 8 #define BSEMCMAKEPRECLUSTERS_HH 15 #include "RtypesCore.h" 33 class TMemberInspector;
58 std::vector<BSEmcPrecluster *>
Precluster(
const std::vector<const BSEmcDigi *> &t_digiCont);
72 virtual void FinishPreclusters(
const std::vector<const BSEmcDigi *> &t_digiCont,
const std::vector<BSEmcPrecluster *> &t_preclusterCont);
78 std::string fClusteringParName{
""};
79 std::string fClusterPropertiesParName{
""};
80 std::string fPositionParName{
""};
81 std::string fNeighbouringRelationParName{
""};
82 Double_t fDigiEnergyThreshold{-1};
84 Int_t fDigiPosType{0};
91 Int_t nTotDigisPassed;
void SetClusteringParName(const std::string &t_parName)
virtual void SetData(BSEmcClusteringData *t_data)
Pass the data container ptrs to the process, and store pointers in class members. ...
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.
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)
Container of addresses for data Container used by BSEmcClusteringTask and passed to Clustering Proces...
represents the reconstructed hit of one emc crystal
virtual void FinishPreclusters(const std::vector< const BSEmcDigi *> &t_digiCont, const std::vector< BSEmcPrecluster *> &t_preclusterCont)
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 SetNeighbouringRelationParName(const std::string &t_parName)