PandaRoot
PndSdsStripClusterer Class Referenceabstract

#include <PndSdsStripClusterer.h>

Inheritance diagram for PndSdsStripClusterer:
PndSdsSimpleStripClusterFinder PndSdsStripAdvClusterFinder

Public Member Functions

 PndSdsStripClusterer (Int_t DigiType)
 
virtual ~PndSdsStripClusterer ()
 
void Reinit ()
 
void AddDigi (Int_t sensorID, SensorSide side, Int_t timestamp, Int_t strip, Int_t iDigi)
 
void ClearDigis ()
 
virtual std::vector< PndSdsClusterStrip * > SearchClusters ()=0
 
std::vector< PndSdsClusterStrip * > GetClusters () const
 
PndSdsClusterStripGetCluster (Int_t i)
 
PndSdsClusterStripGetTopCluster (Int_t i)
 
PndSdsClusterStripGetBotCluster (Int_t i)
 
std::vector< Int_t > GetTopClusterIDs () const
 
std::vector< Int_t > GetBotClusterIDs () const
 
std::vector< Int_t > GetLeftDigiIDs () const
 
void SetDigiType (Int_t digiType)
 

Protected Member Functions

void AddCluster (const std::vector< Int_t > &onecluster, SensorSide side)
 
 ClassDef (PndSdsStripClusterer, 3)
 

Protected Attributes

Fullmap fSortedDigis
 
std::vector< Int_t > fTopclusters
 
std::vector< Int_t > fBotclusters
 
std::vector< Int_t > fLeftDigis
 
std::vector< PndSdsClusterStrip * > fClusters
 
Int_t fDigiType
 

Detailed Description

Definition at line 29 of file PndSdsStripClusterer.h.

Constructor & Destructor Documentation

◆ PndSdsStripClusterer()

PndSdsStripClusterer::PndSdsStripClusterer ( Int_t  DigiType)

◆ ~PndSdsStripClusterer()

virtual PndSdsStripClusterer::~PndSdsStripClusterer ( )
virtual

Member Function Documentation

◆ AddCluster()

void PndSdsStripClusterer::AddCluster ( const std::vector< Int_t > &  onecluster,
SensorSide  side 
)
protected

Referenced by SetDigiType().

◆ AddDigi()

void PndSdsStripClusterer::AddDigi ( Int_t  sensorID,
SensorSide  side,
Int_t  timestamp,
Int_t  strip,
Int_t  iDigi 
)

◆ ClassDef()

PndSdsStripClusterer::ClassDef ( PndSdsStripClusterer  ,
 
)
protected

◆ ClearDigis()

void PndSdsStripClusterer::ClearDigis ( )
inline

Definition at line 37 of file PndSdsStripClusterer.h.

References fSortedDigis, and SearchClusters().

37 { fSortedDigis.clear(); }

◆ GetBotCluster()

PndSdsClusterStrip* PndSdsStripClusterer::GetBotCluster ( Int_t  i)

Referenced by GetClusters().

◆ GetBotClusterIDs()

std::vector<Int_t> PndSdsStripClusterer::GetBotClusterIDs ( ) const
inline

Definition at line 45 of file PndSdsStripClusterer.h.

References fBotclusters.

45 { return fBotclusters; }
std::vector< Int_t > fBotclusters

◆ GetCluster()

PndSdsClusterStrip* PndSdsStripClusterer::GetCluster ( Int_t  i)

Referenced by GetClusters().

◆ GetClusters()

std::vector<PndSdsClusterStrip *> PndSdsStripClusterer::GetClusters ( ) const
inline

Definition at line 40 of file PndSdsStripClusterer.h.

References fClusters, GetBotCluster(), GetCluster(), GetTopCluster(), and i.

40 { return fClusters; }
std::vector< PndSdsClusterStrip * > fClusters

◆ GetLeftDigiIDs()

std::vector<Int_t> PndSdsStripClusterer::GetLeftDigiIDs ( ) const
inline

Definition at line 46 of file PndSdsStripClusterer.h.

References fLeftDigis.

46 { return fLeftDigis; }
std::vector< Int_t > fLeftDigis

◆ GetTopCluster()

PndSdsClusterStrip* PndSdsStripClusterer::GetTopCluster ( Int_t  i)

Referenced by GetClusters().

◆ GetTopClusterIDs()

std::vector<Int_t> PndSdsStripClusterer::GetTopClusterIDs ( ) const
inline

Definition at line 44 of file PndSdsStripClusterer.h.

References fTopclusters.

44 { return fTopclusters; }
std::vector< Int_t > fTopclusters

◆ Reinit()

void PndSdsStripClusterer::Reinit ( )

◆ SearchClusters()

virtual std::vector<PndSdsClusterStrip *> PndSdsStripClusterer::SearchClusters ( )
pure virtual

◆ SetDigiType()

void PndSdsStripClusterer::SetDigiType ( Int_t  digiType)
inline

Definition at line 48 of file PndSdsStripClusterer.h.

References AddCluster(), and fDigiType.

48 { fDigiType = digiType; }

Member Data Documentation

◆ fBotclusters

std::vector<Int_t> PndSdsStripClusterer::fBotclusters
protected

Definition at line 54 of file PndSdsStripClusterer.h.

Referenced by GetBotClusterIDs().

◆ fClusters

std::vector<PndSdsClusterStrip *> PndSdsStripClusterer::fClusters
protected

Definition at line 56 of file PndSdsStripClusterer.h.

Referenced by GetClusters().

◆ fDigiType

Int_t PndSdsStripClusterer::fDigiType
protected

Definition at line 58 of file PndSdsStripClusterer.h.

Referenced by SetDigiType().

◆ fLeftDigis

std::vector<Int_t> PndSdsStripClusterer::fLeftDigis
protected

Definition at line 55 of file PndSdsStripClusterer.h.

Referenced by GetLeftDigiIDs().

◆ fSortedDigis

Fullmap PndSdsStripClusterer::fSortedDigis
protected

Definition at line 52 of file PndSdsStripClusterer.h.

Referenced by ClearDigis().

◆ fTopclusters

std::vector<Int_t> PndSdsStripClusterer::fTopclusters
protected

Definition at line 53 of file PndSdsStripClusterer.h.

Referenced by GetTopClusterIDs().


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