CbmRoot
|
Data container for MUCH clusters. More...
#include <CbmMuchCluster.h>
Public Member Functions | |
CbmMuchCluster () | |
Default constructor. More... | |
virtual | ~CbmMuchCluster () |
Destructor. More... | |
void | AddDigi (Int_t index) |
Add digi to cluster. More... | |
void | AddDigis (const std::vector< Int_t > &indices) |
Add array of digi to cluster. More... | |
void | SetDigis (const std::vector< Int_t > &indices) |
Set array of digi to cluster. Overwrites existing array. More... | |
Int_t | GetNofDigis () const |
Number of digis in cluster. More... | |
Int_t | GetDigi (Int_t index) const |
Get digi at position index. More... | |
const std::vector< Int_t > & | GetDigis () const |
Get array of digi indices. More... | |
void | ClearDigis () |
Remove all digis. More... | |
Int_t | GetAddress () const |
CbmMatch * | GetMatch () const |
void | SetAddress (Int_t address) |
void | SetMatch (CbmMatch *match) |
virtual std::string | ToString () const |
Return string representation of the object. More... | |
Private Member Functions | |
ClassDef (CbmCluster, 2) | |
Private Attributes | |
std::vector< Int_t > | fDigis |
Array of digi indices. More... | |
Int_t | fAddress |
Unique detector ID. More... | |
CbmMatch * | fMatch |
link to Monte-Carlo information More... | |
Data container for MUCH clusters.
Definition at line 20 of file CbmMuchCluster.h.
CbmMuchCluster::CbmMuchCluster | ( | ) |
Default constructor.
Definition at line 7 of file CbmMuchCluster.cxx.
|
virtual |
Destructor.
Definition at line 9 of file CbmMuchCluster.cxx.
|
inlineinherited |
Add digi to cluster.
[in] | index | Digi index in TClonesArray. |
Definition at line 47 of file CbmCluster.h.
References CbmCluster::fDigis.
Referenced by CbmTrdCluster::AddDigi(), and CbmMvdSensorClusterfinderTask::Exec().
|
inlineinherited |
Add array of digi to cluster.
[in] | indices | Array of digi indices in TClonesArray. |
Definition at line 53 of file CbmCluster.h.
References CbmCluster::fDigis.
Referenced by CbmTrdCluster::AddDigi(), CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), CbmMuchClustering::ClusteringWard(), CbmMuchFindHitsGem::ExecClusteringPeaks(), CbmMuchFindHitsGem::ExecClusteringSimple(), CbmMuchFindHitsGem::FindClusters(), and CbmTrdCluster::Merge().
|
privateinherited |
|
inlineinherited |
Remove all digis.
Definition at line 87 of file CbmCluster.h.
References CbmCluster::fDigis.
Referenced by CbmTrdCluster::AddDigi(), CbmTrdCluster::Clear(), and CbmTrdCluster::Merge().
|
inlineinherited |
Accessors
Definition at line 90 of file CbmCluster.h.
References CbmCluster::fAddress.
Referenced by compareClusterDataMembers(), CbmTrdHitProducer::Exec(), CbmMvdCluster::GetSensorNr(), CbmMvdCluster::GetStationNr(), CbmLitClusteringQa::ProcessClusters(), CbmMuchHitFinderQa::StatisticsQa(), CbmTrdCluster::ToString(), and CbmStsCluster::ToString().
|
inlineinherited |
Get digi at position index.
[in] | index | Position of digi in array. |
Definition at line 76 of file CbmCluster.h.
References CbmCluster::fDigis.
Referenced by LxTBFinder::AddHit(), CbmStsAlgoAnaCluster::AnaSize1(), CbmStsAlgoAnaCluster::AnaSize2(), CbmStsAlgoAnaCluster::AnaSizeN(), CbmStsTrackFinder::CalculateEloss(), CbmMuchFindVectorsQA::CheckMatchGem(), CbmMuchHitFinderQa::ClusterDeconvQa(), compareClusterDataMembers(), CbmMuchFindHitsGem::CreateHits(), CbmMuchTrackFinderIdeal::DoFind(), CbmBinnedTrackerQANew::Exec(), CbmBinnedTrackerQA::Exec(), CbmTrdHitProducer::Exec(), LxFinderTriplet::Exec(), CbmTrdQa::Exec(), CbmTrdHitDensityQa::Exec(), LxTBTrdFinder::Exec(), CbmTrdRecoQa::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxTBMLFinder::Exec(), LxFinder::Exec(), CbmBinnedDebug::Exec(), CbmGlobalTrackingQA::Exec(), CbmTrdOccupancyQa::Exec(), CbmMuchFindHitsGem::ExecClusteringPeaks(), CbmMuchFindHitsGem::ExecClusteringSimple(), CbmHadronAnalysis::ExecEvent(), CbmMuchMatchTracks::ExecPixel(), CbmBinnedTrackerQA::HandleMuch(), CbmBinnedTrackerQA::HandleSts(), CbmBinnedTrackerQA::HandleTrd(), CbmBinnedTrackerQA::IterateTrdHits(), CbmMatchRecoToMC::MatchClusters(), CbmMuchHitFinderQa::PullsQa(), CbmKFParticleFinderPID::SetRecoPID(), CbmMuchFindVectorsGem::SetTrackId(), CbmTrdFindVectors::SetTrackId(), CbmMuchHitFinderQa::StatisticsQa(), and CbmStsAlgoAnaCluster::WeightedMean().
|
inlineinherited |
Get array of digi indices.
Definition at line 82 of file CbmCluster.h.
References CbmCluster::fDigis.
Referenced by CbmTrdCluster::AddDigi(), compareClusterDataMembers(), and CbmTrdCluster::Merge().
|
inlineinherited |
Definition at line 91 of file CbmCluster.h.
References CbmCluster::fMatch.
Referenced by compareClusterDataMembers(), and CbmKFTrackFitQA::StsHitMatch().
|
inlineinherited |
Number of digis in cluster.
Definition at line 69 of file CbmCluster.h.
References CbmCluster::fDigis.
Referenced by LxTBFinder::AddHit(), CbmStsAlgoAnaCluster::AnaSizeN(), CbmStsTrackFinder::CalculateEloss(), CbmMuchFindVectorsQA::CheckMatchGem(), CbmMuchHitFinderQa::ClusterDeconvQa(), compareClusterDataMembers(), CbmMvdSensorHitfinderTask::ComputeCenterOfGravity(), CbmMuchFindHitsGem::CreateHits(), CbmMuchTrackFinderIdeal::DoFind(), CbmMvdClusterAna::Exec(), CbmBinnedTrackerQANew::Exec(), CbmTrdHitProducer::Exec(), CbmBinnedTrackerQA::Exec(), CbmTrdQa::Exec(), LxFinderTriplet::Exec(), CbmTrdHitDensityQa::Exec(), CbmStsAlgoAnaCluster::Exec(), CbmTrdRecoQa::Exec(), LxTBTrdFinder::Exec(), LxTrackAna::Exec(), LxTrackAnaTriplet::Exec(), LxTBMLFinder::Exec(), LxFinder::Exec(), CbmBinnedDebug::Exec(), CbmGlobalTrackingQA::Exec(), CbmTrdOccupancyQa::Exec(), CbmMuchFindHitsGem::ExecClusteringPeaks(), CbmMuchFindHitsGem::ExecClusteringSimple(), CbmHadronAnalysis::ExecEvent(), CbmMuchMatchTracks::ExecPixel(), PairAnalysisVarManager::FillVarTrdCluster(), CbmBinnedTrackerQA::HandleMuch(), CbmBinnedTrackerQA::HandleSts(), CbmBinnedTrackerQA::HandleTrd(), CbmBinnedTrackerQA::IterateTrdHits(), CbmMatchRecoToMC::MatchClusters(), CbmLitClusteringQa::ProcessClusters(), CbmMuchHitFinderQa::PullsQa(), CbmKFParticleFinderPID::SetRecoPID(), CbmMuchFindVectorsGem::SetTrackId(), CbmTrdFindVectors::SetTrackId(), CbmMuchHitFinderQa::StatisticsQa(), CbmCluster::ToString(), CbmStsCluster::ToString(), and CbmStsAlgoAnaCluster::WeightedMean().
|
inlineinherited |
Modifiers
Definition at line 94 of file CbmCluster.h.
References CbmCluster::fAddress.
Referenced by CbmTrdModuleRecR::addClusters(), CbmStsAlgoFindClusters::CreateCluster(), CbmMvdSensorClusterfinderTask::Exec(), CbmMuchFindHitsGem::FindClusters(), and CbmTrdCluster::ReInit().
|
inlineinherited |
Set array of digi to cluster. Overwrites existing array.
[in] | indices | Array of digi indices in TClonesArray. |
Definition at line 61 of file CbmCluster.h.
References CbmCluster::fDigis.
Referenced by CbmTrdModuleRecR::addClusters().
|
inherited |
Definition at line 68 of file CbmCluster.cxx.
References CbmCluster::fMatch.
|
virtualinherited |
Return string representation of the object.
Reimplemented in CbmStsCluster, and CbmTrdCluster.
Definition at line 74 of file CbmCluster.cxx.
References CbmCluster::fAddress, CbmCluster::fDigis, CbmCluster::GetNofDigis(), and i.
Referenced by CbmTrdCluster::ToString(), and CbmStsCluster::ToString().
|
privateinherited |
Unique detector ID.
Definition at line 105 of file CbmCluster.h.
Referenced by CbmCluster::GetAddress(), CbmCluster::operator=(), CbmCluster::SetAddress(), and CbmCluster::ToString().
|
privateinherited |
Array of digi indices.
Definition at line 104 of file CbmCluster.h.
Referenced by CbmCluster::AddDigi(), CbmCluster::AddDigis(), CbmCluster::CbmCluster(), CbmCluster::ClearDigis(), CbmCluster::GetDigi(), CbmCluster::GetDigis(), CbmCluster::GetNofDigis(), CbmCluster::operator=(), CbmCluster::SetDigis(), and CbmCluster::ToString().
|
privateinherited |
link to Monte-Carlo information
Definition at line 106 of file CbmCluster.h.
Referenced by CbmCluster::CbmCluster(), CbmCluster::GetMatch(), CbmCluster::operator=(), and CbmCluster::SetMatch().