![]() |
PandaRoot
|
#include <BSEmcMergeRecoHits.h>
Public Member Functions | |
BSEmcMergeRecoHits () | |
virtual | ~BSEmcMergeRecoHits () |
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 be fetched (each Emc Subdetector has its own set of parameters) More... | |
virtual void | SetupParameters (const PndParameterRegister *t_parameterRegister) |
Fetch all parameters from the PndParameterRegister. More... | |
virtual void | SetData (BSEmcClusteringData *t_pdata) |
Pass the data container ptrs to the process, and store pointers in class members. More... | |
virtual void | Process () |
The actual data transformation (digitizing, clustering, etc.) should be defined here. More... | |
![]() | |
PndProcess () | |
PndProcess (const std::string &t_processname) | |
virtual | ~PndProcess () |
const std::vector< std::string > & | GetListOfRequiredParameters () const |
Get the List Of Required Parameters. More... | |
virtual void | PreProcess () |
PreProcess() is called before the actual Process() call in each event. More... | |
virtual void | PostProcess () |
Immediately after calling Process() PostProcess() is called for cleanup of internal process data, or if not needed, to end the time and memory increase measurement started by PreProcess() More... | |
virtual void | TearDown () |
Last actions at the end of the run. More... | |
Protected Member Functions | |
virtual double | CalculateDistance (const TVector3 &firstposition, const TVector3 &secondposition) |
Calculate the distance of two given RecoHit positions. More... | |
virtual Int_t | FindClosestHit (const BSEmcRecoHit *CurrentRecoHit) |
Find the Reco Hit, which lies closest to the given RecoHit. More... | |
virtual void | FillTmpSubcluster (BSEmcSubCluster *&TmpSubCluster, const BSEmcSubCluster *SubCluster) |
Combine the digis of the given SubCluster and the temporary SubCluster and re-calculate energy and position. More... | |
virtual void | UpdateRecoHit (const BSEmcSubCluster *MainSubCluster, const Int_t MainSubClusterId) |
Update the energy values of the main RecoHit based on the temporary SubCluster. More... | |
virtual void | CleanUpRecoHitArray () |
Remove SplitOff RecoHits and compress the RecoHitArray. More... | |
ClassDef (BSEmcMergeRecoHits, 1) | |
Protected Attributes | |
std::string | fClusteringParName {""} |
std::string | fClusterPropertiesParName {""} |
std::string | fPositionParName {""} |
std::string | fNeighbouringRelationParName {""} |
BSEmcGeoNeighbouringRelationPar * | fNeighbouringRelationPar = nullptr |
const BSEmcCrystalPositionPar * | fPositionPar |
TString | fSubClusterBranchName {""} |
PndContainerI< BSEmcDigi > * | fDigiArray {nullptr} |
PndOutputContainerI< BSEmcCluster > * | fClusterArray {nullptr} |
PndOutputContainerI< BSEmcSubCluster > * | fSubClusterArray {nullptr} |
PndOutputContainerI< BSEmcRecoHit > * | fRecoHitArray {nullptr} |
std::unique_ptr< BSEmcEnergyCalculationAlgo > | fEnergyProcess {new BSEmcEnergyCalculationAlgo} |
std::unique_ptr< BSEmcPositionAlgo > | fPositionProcess {new BSEmcPositionAlgo} |
Double_t | fClusterEnergyCut |
![]() | |
std::vector< std::string > | fParameterList |
Parameter names required by this PndProcess. Needs to be populated in derived class. More... | |
std::string | fDetectorName |
Set Detector name this PndProcess transforms data for. Required for example by EMC Processes to fetch right parameters. More... | |
std::string | fProcessName |
Name of current PndProcess (for debugging) More... | |
TStopwatch | fTimer |
Timer to monitor Process() time. More... | |
Double_t | fTotalTime |
Time taken by this Process' Process() More... | |
ProcInfo_t | fProcInfo |
Helper to access cpu process Memory Info. More... | |
Long_t | fLastMemSize |
Definition at line 26 of file BSEmcMergeRecoHits.h.
BSEmcMergeRecoHits::BSEmcMergeRecoHits | ( | ) |
|
virtual |
|
protectedvirtual |
Calculate the distance of two given RecoHit positions.
firstposition | |
secondposition |
|
protected |
|
protectedvirtual |
Remove SplitOff RecoHits and compress the RecoHitArray.
|
protectedvirtual |
Combine the digis of the given SubCluster and the temporary SubCluster and re-calculate energy and position.
TmpSubCluster | |
SubCluster |
|
protectedvirtual |
Find the Reco Hit, which lies closest to the given RecoHit.
CurrentRecoHit |
|
virtual |
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Implements PndProcess< BSEmcClusteringData >.
|
virtual |
Pass the data container ptrs to the process, and store pointers in class members.
t_data |
Implements PndProcess< BSEmcClusteringData >.
|
virtual |
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to be fetched (each Emc Subdetector has its own set of parameters)
t_detectorname |
Reimplemented from PndProcess< BSEmcClusteringData >.
|
virtual |
Fetch all parameters from the PndParameterRegister.
t_parameter |
Implements PndProcess< BSEmcClusteringData >.
|
protectedvirtual |
Update the energy values of the main RecoHit based on the temporary SubCluster.
MainSubCluster | |
MainSubClusterId |
|
protected |
Definition at line 84 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 89 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 76 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 77 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 83 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 87 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 80 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 79 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 81 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 78 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 88 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 86 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 85 of file BSEmcMergeRecoHits.h.
|
protected |
Definition at line 82 of file BSEmcMergeRecoHits.h.