Project
Loading...
Searching...
No Matches
o2::itsmft::ClusterShape Class Reference

#include <ClusterShape.h>

Inherits TObject.

Public Member Functions

 ClusterShape ()
 
 ClusterShape (UInt_t, UInt_t)
 
 ClusterShape (UInt_t, UInt_t, const std::vector< UInt_t > &)
 
 ~ClusterShape () override
 
void SetNRows (UInt_t Nrows)
 
void SetNCols (UInt_t Ncols)
 
void AddShapeValue (UInt_t pos)
 
Bool_t IsValidShape ()
 
Long64_t GetShapeID () const
 
UInt_t GetNRows () const
 
void SetCenter (UInt_t r, UInt_t c)
 
UInt_t GetCenterR () const
 
UInt_t GetCenterC () const
 
UInt_t GetCenterIndex () const
 
UInt_t GetNCols () const
 
UInt_t GetNFiredPixels () const
 
UInt_t GetValue (UInt_t index) const
 
void GetShape (std::vector< UInt_t > &v) const
 
Bool_t HasElement (UInt_t) const
 
std::string ShapeSting () const
 
UInt_t RowColToIndex (UInt_t r, UInt_t c) const
 

Static Public Member Functions

static std::string ShapeSting (const std::vector< UInt_t > &shape)
 

Friends

std::ostream & operator<< (std::ostream &out, const ClusterShape &v)
 

Detailed Description

Definition at line 34 of file ClusterShape.h.

Constructor & Destructor Documentation

◆ ClusterShape() [1/3]

ClusterShape::ClusterShape ( )

Definition at line 27 of file ClusterShape.cxx.

◆ ClusterShape() [2/3]

ClusterShape::ClusterShape ( UInt_t  Nrows,
UInt_t  Ncols 
)

Definition at line 36 of file ClusterShape.cxx.

◆ ClusterShape() [3/3]

ClusterShape::ClusterShape ( UInt_t  Nrows,
UInt_t  Ncols,
const std::vector< UInt_t > &  Shape 
)

Definition at line 45 of file ClusterShape.cxx.

◆ ~ClusterShape()

ClusterShape::~ClusterShape ( )
overridedefault

Member Function Documentation

◆ AddShapeValue()

void o2::itsmft::ClusterShape::AddShapeValue ( UInt_t  pos)
inline

Definition at line 50 of file ClusterShape.h.

◆ GetCenterC()

UInt_t o2::itsmft::ClusterShape::GetCenterC ( ) const
inline

Definition at line 71 of file ClusterShape.h.

◆ GetCenterIndex()

UInt_t o2::itsmft::ClusterShape::GetCenterIndex ( ) const
inline

Definition at line 74 of file ClusterShape.h.

◆ GetCenterR()

UInt_t o2::itsmft::ClusterShape::GetCenterR ( ) const
inline

Definition at line 68 of file ClusterShape.h.

◆ GetNCols()

UInt_t o2::itsmft::ClusterShape::GetNCols ( ) const
inline

Definition at line 80 of file ClusterShape.h.

◆ GetNFiredPixels()

UInt_t o2::itsmft::ClusterShape::GetNFiredPixels ( ) const
inline

Definition at line 83 of file ClusterShape.h.

◆ GetNRows()

UInt_t o2::itsmft::ClusterShape::GetNRows ( ) const
inline

Definition at line 59 of file ClusterShape.h.

◆ GetShape()

void o2::itsmft::ClusterShape::GetShape ( std::vector< UInt_t > &  v) const
inline

Definition at line 89 of file ClusterShape.h.

◆ GetShapeID()

Long64_t ClusterShape::GetShapeID ( ) const

Definition at line 79 of file ClusterShape.cxx.

◆ GetValue()

UInt_t o2::itsmft::ClusterShape::GetValue ( UInt_t  index) const
inline

Definition at line 86 of file ClusterShape.h.

◆ HasElement()

Bool_t ClusterShape::HasElement ( UInt_t  value) const

Definition at line 92 of file ClusterShape.cxx.

◆ IsValidShape()

Bool_t ClusterShape::IsValidShape ( )

Definition at line 57 of file ClusterShape.cxx.

◆ RowColToIndex()

UInt_t o2::itsmft::ClusterShape::RowColToIndex ( UInt_t  r,
UInt_t  c 
) const
inline

Definition at line 101 of file ClusterShape.h.

◆ SetCenter()

void o2::itsmft::ClusterShape::SetCenter ( UInt_t  r,
UInt_t  c 
)
inline

Definition at line 61 of file ClusterShape.h.

◆ SetNCols()

void o2::itsmft::ClusterShape::SetNCols ( UInt_t  Ncols)
inline

Definition at line 47 of file ClusterShape.h.

◆ SetNRows()

void o2::itsmft::ClusterShape::SetNRows ( UInt_t  Nrows)
inline

Definition at line 44 of file ClusterShape.h.

◆ ShapeSting() [1/2]

std::string o2::itsmft::ClusterShape::ShapeSting ( ) const
inline

Definition at line 95 of file ClusterShape.h.

◆ ShapeSting() [2/2]

static std::string o2::itsmft::ClusterShape::ShapeSting ( const std::vector< UInt_t > &  shape)
inlinestatic

Definition at line 108 of file ClusterShape.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  out,
const ClusterShape v 
)
friend

Definition at line 120 of file ClusterShape.h.


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