CbmRoot
CbmMvdCluster Class Reference

#include <CbmMvdCluster.h>

Inheritance diagram for CbmMvdCluster:
[legend]
Collaboration diagram for CbmMvdCluster:
[legend]

Public Member Functions

 CbmMvdCluster ()
 
 CbmMvdCluster (const CbmMvdCluster &)
 
CbmMvdClusteroperator= (const CbmMvdCluster &)
 
virtual ~CbmMvdCluster ()
 
void SetPixelMap (std::map< std::pair< Int_t, Int_t >, Int_t > PixelMap)
 
void SetRefId (Int_t RefId)
 
Short_t GetTotalDigisInCluster ()
 
std::map< std::pair< Int_t, Int_t >, Int_t > GetPixelMap ()
 
Int_t GetStationNr ()
 
Int_t GetRefId ()
 
Int_t GetDetectorId ()
 
Int_t GetSensorNr ()
 
Float_t GetClusterCharge ()
 
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
 
CbmMatchGetMatch () const
 
void SetAddress (Int_t address)
 
void SetMatch (CbmMatch *match)
 
virtual std::string ToString () const
 Return string representation of the object. More...
 
Int_t DetectorId (Int_t iStation) const
 
Int_t SystemId (Int_t detectorId) const
 
Int_t StationNr (Int_t detectorId) const
 
 ClassDef (CbmMvdDetectorId, 1)
 

Protected Member Functions

 ClassDef (CbmMvdCluster, 4)
 

Protected Attributes

std::map< std::pair< Int_t, Int_t >, Int_t > fPixelMap
 
Int_t fRefId
 
Float_t fClusterCharge
 

Private Attributes

std::vector< Int_t > fDigis
 Array of digi indices. More...
 
Int_t fAddress
 Unique detector ID. More...
 
CbmMatchfMatch
 link to Monte-Carlo information More...
 

Detailed Description

CbmMvdCluster.h

Definition at line 27 of file CbmMvdCluster.h.

Constructor & Destructor Documentation

◆ CbmMvdCluster() [1/2]

CbmMvdCluster::CbmMvdCluster ( )

Default constructor

Definition at line 12 of file CbmMvdCluster.cxx.

◆ CbmMvdCluster() [2/2]

CbmMvdCluster::CbmMvdCluster ( const CbmMvdCluster rhs)

Definition at line 17 of file CbmMvdCluster.cxx.

References fClusterCharge, fPixelMap, and fRefId.

◆ ~CbmMvdCluster()

CbmMvdCluster::~CbmMvdCluster ( )
virtual

Destructor

Definition at line 26 of file CbmMvdCluster.cxx.

Member Function Documentation

◆ AddDigi()

void CbmCluster::AddDigi ( Int_t  index)
inlineinherited

Add digi to cluster.

Parameters
[in]indexDigi index in TClonesArray.

Definition at line 47 of file CbmCluster.h.

References CbmCluster::fDigis.

Referenced by CbmTrdCluster::AddDigi(), and CbmMvdSensorClusterfinderTask::Exec().

◆ AddDigis()

void CbmCluster::AddDigis ( const std::vector< Int_t > &  indices)
inlineinherited

◆ ClassDef() [1/2]

CbmMvdCluster::ClassDef ( CbmMvdCluster  ,
 
)
protected

◆ ClassDef() [2/2]

CbmMvdDetectorId::ClassDef ( CbmMvdDetectorId  ,
 
)
inherited

◆ ClearDigis()

void CbmCluster::ClearDigis ( )
inlineinherited

Remove all digis.

Definition at line 87 of file CbmCluster.h.

References CbmCluster::fDigis.

Referenced by CbmTrdCluster::AddDigi(), CbmTrdCluster::Clear(), and CbmTrdCluster::Merge().

◆ DetectorId()

Int_t CbmMvdDetectorId::DetectorId ( Int_t  iStation) const
inlineinherited

Create unique detector ID from station number

Definition at line 44 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdHit::CbmMvdHit(), CbmMvdPoint::CbmMvdPoint(), and GetDetectorId().

◆ GetAddress()

◆ GetClusterCharge()

Float_t CbmMvdCluster::GetClusterCharge ( )
inline

Definition at line 55 of file CbmMvdCluster.h.

References fClusterCharge.

Referenced by CbmMvdSensorClusterfinderTask::UpdateDebugHistos().

◆ GetDetectorId()

Int_t CbmMvdCluster::GetDetectorId ( )
inline

Definition at line 50 of file CbmMvdCluster.h.

References CbmMvdDetectorId::DetectorId(), and GetStationNr().

◆ GetDigi()

Int_t CbmCluster::GetDigi ( Int_t  index) const
inlineinherited

◆ GetDigis()

const std::vector<Int_t>& CbmCluster::GetDigis ( ) const
inlineinherited

Get array of digi indices.

Returns
Array of digi indices in TClonesArray.

Definition at line 82 of file CbmCluster.h.

References CbmCluster::fDigis.

Referenced by CbmTrdCluster::AddDigi(), compareClusterDataMembers(), and CbmTrdCluster::Merge().

◆ GetMatch()

CbmMatch* CbmCluster::GetMatch ( ) const
inlineinherited

Definition at line 91 of file CbmCluster.h.

References CbmCluster::fMatch.

Referenced by compareClusterDataMembers(), and CbmKFTrackFitQA::StsHitMatch().

◆ GetNofDigis()

Int_t CbmCluster::GetNofDigis ( ) const
inlineinherited

Number of digis in cluster.

Returns
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().

◆ GetPixelMap()

std::map<std::pair<Int_t, Int_t>, Int_t> CbmMvdCluster::GetPixelMap ( )
inline

◆ GetRefId()

Int_t CbmMvdCluster::GetRefId ( )
inline

◆ GetSensorNr()

Int_t CbmMvdCluster::GetSensorNr ( )
inline

◆ GetStationNr()

Int_t CbmMvdCluster::GetStationNr ( )
inline

Definition at line 48 of file CbmMvdCluster.h.

References CbmCluster::GetAddress().

Referenced by GetDetectorId().

◆ GetTotalDigisInCluster()

Short_t CbmMvdCluster::GetTotalDigisInCluster ( )
inline

Accessors

Definition at line 46 of file CbmMvdCluster.h.

References fPixelMap.

Referenced by CbmMvdQa::ExecHitQa().

◆ operator=()

CbmMvdCluster& CbmMvdCluster::operator= ( const CbmMvdCluster )
inline

Definition at line 34 of file CbmMvdCluster.h.

◆ SetAddress()

void CbmCluster::SetAddress ( Int_t  address)
inlineinherited

◆ SetDigis()

void CbmCluster::SetDigis ( const std::vector< Int_t > &  indices)
inlineinherited

Set array of digi to cluster. Overwrites existing array.

Parameters
[in]indicesArray of digi indices in TClonesArray.

Definition at line 61 of file CbmCluster.h.

References CbmCluster::fDigis.

Referenced by CbmTrdModuleRecR::addClusters().

◆ SetMatch()

void CbmCluster::SetMatch ( CbmMatch match)
inherited

Definition at line 68 of file CbmCluster.cxx.

References CbmCluster::fMatch.

◆ SetPixelMap()

void CbmMvdCluster::SetPixelMap ( std::map< std::pair< Int_t, Int_t >, Int_t >  PixelMap)

Setters

Definition at line 30 of file CbmMvdCluster.cxx.

References fClusterCharge, and fPixelMap.

Referenced by CbmMvdSensorClusterfinderTask::Exec().

◆ SetRefId()

void CbmMvdCluster::SetRefId ( Int_t  RefId)
inline

Definition at line 41 of file CbmMvdCluster.h.

References fRefId.

Referenced by CbmMvdDetector::SendInputCluster().

◆ StationNr()

Int_t CbmMvdDetectorId::StationNr ( Int_t  detectorId) const
inlineinherited

Get station number from detector ID

Definition at line 61 of file CbmMvdDetectorId.h.

Referenced by CbmMvdDigi::GetStationNr(), CbmMvdHit::GetStationNr(), and CbmMvdPoint::GetStationNr().

◆ SystemId()

Int_t CbmMvdDetectorId::SystemId ( Int_t  detectorId) const
inlineinherited

Get System identifier from detector ID

Definition at line 50 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdHit::GetSystemId(), and CbmMvdPoint::GetSystemId().

◆ ToString()

string CbmCluster::ToString ( ) const
virtualinherited

Return string representation of the object.

Returns
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().

Member Data Documentation

◆ fAddress

Int_t CbmCluster::fAddress
privateinherited

Unique detector ID.

Definition at line 105 of file CbmCluster.h.

Referenced by CbmCluster::GetAddress(), CbmCluster::operator=(), CbmCluster::SetAddress(), and CbmCluster::ToString().

◆ fClusterCharge

Float_t CbmMvdCluster::fClusterCharge
protected

Definition at line 60 of file CbmMvdCluster.h.

Referenced by CbmMvdCluster(), GetClusterCharge(), and SetPixelMap().

◆ fDigis

◆ fMatch

CbmMatch* CbmCluster::fMatch
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().

◆ fPixelMap

std::map<std::pair<Int_t, Int_t>, Int_t> CbmMvdCluster::fPixelMap
protected

Definition at line 58 of file CbmMvdCluster.h.

Referenced by CbmMvdCluster(), GetPixelMap(), GetTotalDigisInCluster(), and SetPixelMap().

◆ fRefId

Int_t CbmMvdCluster::fRefId
protected

Definition at line 59 of file CbmMvdCluster.h.

Referenced by CbmMvdCluster(), GetRefId(), and SetRefId().


The documentation for this class was generated from the following files: