PandaRoot
BSEmcSubCluster Class Reference

represents a reconstructed (splitted) emc cluster More...

#include <BSEmcSubCluster.h>

Inheritance diagram for BSEmcSubCluster:
BSEmcCluster

Public Member Functions

 BSEmcSubCluster ()
 
 BSEmcSubCluster (const BSEmcSubCluster &t_other)
 
virtual ~BSEmcSubCluster ()
 
Int_t GetParentClusterIndex () const
 
void SetParentClusterIndex (Int_t clusterIndex)
 
Int_t GetCentralCrystalId () const
 
void SetCentralCrystalId (Int_t centralCrystal)
 
- Public Member Functions inherited from BSEmcCluster
 BSEmcCluster ()
 
 BSEmcCluster (const BSEmcCluster &t_other)
 
virtual void Print (const Option_t *t_opt="") const
 
virtual ~BSEmcCluster ()
 
Double_t GetEnergy () const
 
TVector3 GetPosition () const
 
Int_t GetNumberOfDigis () const
 
Int_t NumberOfDigis () const
 
Int_t GetNumberOfSubCluster () const
 
void SetNSubClusters (UInt_t nSubClusters)
 
void SetEnergy (Double_t t_energy)
 
void SetPosition (const TVector3 &t_pos)
 
void SetTrackEntering (const FairMultiLinkedData &t_tracks)
 
void SetTrackExiting (const FairMultiLinkedData &t_tracks)
 
std::vector< Int_t > GetMcList (Int_t t_branchId) const
 
FairMultiLinkedData GetTrackEntering () const
 
FairMultiLinkedData GetTrackExiting () const
 
const std::vector< BSEmcDigiInfo_t > & GetDigis () const
 
const std::vector< BSEmcDigiInfo_t > & GetMaximaDigis () const
 
const BSEmcDigiGetMaximumDigi (const std::vector< const BSEmcDigi *> &t_digis) const
 
Double_t GetMaximumEnergy (const std::vector< const BSEmcDigi *> &t_digis) const
 
BSEmcDigiInfo_t GetMaximumDigiInfo (const std::vector< const BSEmcDigi *> &t_digis) const
 
Double_t CalculateTimeStamp (const std::vector< const BSEmcDigi *> &t_digis) const
 
void AddDigi (const BSEmcDigiInfo_t &t_digiInfo)
 
void AddDigi (Int_t t_arrayindex, Int_t t_detectorId, Double_t t_weight=1)
 
void AddDigiLink (FairLink t_entrynr)
 
void RemoveDigi (Int_t t_arrayindex)
 
void AddCluster (const BSEmcCluster &t_cluster)
 
void AddMaximum (const BSEmcDigiInfo_t &t_maximum)
 
void AddMaximum (Int_t t_arrayindex, Int_t t_detectorid)
 
void RemoveMaximum (Int_t t_arrayindex)
 
void Clear ()
 
void SetRadius (Double_t t_clusradius)
 
void SetXRadius (Double_t t_xrad)
 
void SetYRadius (Double_t t_yrad)
 
Double_t GetRadius () const
 
Double_t GetXRadius () const
 
Double_t GetYRadius () const
 

Protected Attributes

Int_t fClusterIndex {-1}
 
Int_t fCentralCrystalId {-1}
 
- Protected Attributes inherited from BSEmcCluster
std::vector< BSEmcDigiInfo_tfDigis {}
 
std::vector< BSEmcDigiInfo_tfMaxima {}
 
Bool_t fEnergyValid {kFALSE}
 
Double_t fEnergy {-1}
 
Bool_t fWhereValid {kFALSE}
 
TVector3 fWhere {0, 0, 0}
 
UInt_t fNSubClusters {0}
 
FairMultiLinkedData fTrackEntering {}
 
FairMultiLinkedData fTrackExiting {}
 
Double_t fRadius {-1}
 
Double_t fXRadius {-1}
 
Double_t fYRadius {-1}
 

Additional Inherited Members

- Protected Member Functions inherited from BSEmcCluster
void invalidateCache (Bool_t)
 

Detailed Description

represents a reconstructed (splitted) emc cluster

Author

Definition at line 21 of file BSEmcSubCluster.h.

Constructor & Destructor Documentation

◆ BSEmcSubCluster() [1/2]

BSEmcSubCluster::BSEmcSubCluster ( )

◆ BSEmcSubCluster() [2/2]

BSEmcSubCluster::BSEmcSubCluster ( const BSEmcSubCluster t_other)

◆ ~BSEmcSubCluster()

virtual BSEmcSubCluster::~BSEmcSubCluster ( )
virtual

Member Function Documentation

◆ GetCentralCrystalId()

Int_t BSEmcSubCluster::GetCentralCrystalId ( ) const
inline

Definition at line 33 of file BSEmcSubCluster.h.

References fCentralCrystalId.

33 { return fCentralCrystalId; }

◆ GetParentClusterIndex()

Int_t BSEmcSubCluster::GetParentClusterIndex ( ) const
inline

Definition at line 31 of file BSEmcSubCluster.h.

References fClusterIndex.

31 { return fClusterIndex; }

◆ SetCentralCrystalId()

void BSEmcSubCluster::SetCentralCrystalId ( Int_t  centralCrystal)
inline

Definition at line 34 of file BSEmcSubCluster.h.

References fCentralCrystalId.

34 { fCentralCrystalId = centralCrystal; }

◆ SetParentClusterIndex()

void BSEmcSubCluster::SetParentClusterIndex ( Int_t  clusterIndex)
inline

Definition at line 32 of file BSEmcSubCluster.h.

References fClusterIndex.

32 { fClusterIndex = clusterIndex; }

Member Data Documentation

◆ fCentralCrystalId

Int_t BSEmcSubCluster::fCentralCrystalId {-1}
protected

Definition at line 39 of file BSEmcSubCluster.h.

Referenced by GetCentralCrystalId(), and SetCentralCrystalId().

◆ fClusterIndex

Int_t BSEmcSubCluster::fClusterIndex {-1}
protected

Definition at line 38 of file BSEmcSubCluster.h.

Referenced by GetParentClusterIndex(), and SetParentClusterIndex().


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