FairRoot/PandaRoot
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PndTrkClusterList Class Reference

#include <PndTrkClusterList.h>

Inheritance diagram for PndTrkClusterList:

Public Member Functions

 PndTrkClusterList ()
 
 PndTrkClusterList (const PndTrkClusterList &clist)
 
 ~PndTrkClusterList ()
 
PndTrkClusterListoperator= (const PndTrkClusterList &clist)
 
void AddCluster (PndTrkCluster *cluster)
 
void DeleteCluster (Int_t index)
 
void Reset ()
 
void Clear (Option_t *opt="")
 
Int_t GetNofClusters ()
 
PndTrkClusterGetCluster (Int_t index)
 

Protected Member Functions

 ClassDef (PndTrkClusterList, 1)
 

Protected Attributes

TClonesArray fClusterList
 

Detailed Description

Definition at line 16 of file PndTrkClusterList.h.

Constructor & Destructor Documentation

PndTrkClusterList::PndTrkClusterList ( )

Definition at line 19 of file PndTrkClusterList.cxx.

19 : fClusterList(TClonesArray("PndTrkCluster", 10000)) {}
TClonesArray fClusterList
PndTrkClusterList::PndTrkClusterList ( const PndTrkClusterList clist)

Definition at line 21 of file PndTrkClusterList.cxx.

21  : TObject(clist) {
22  *this = clist;
23 }
PndTrkClusterList::~PndTrkClusterList ( )

Definition at line 25 of file PndTrkClusterList.cxx.

References fClusterList.

25  {
26 fClusterList.Clear();
27 }
TClonesArray fClusterList

Member Function Documentation

void PndTrkClusterList::AddCluster ( PndTrkCluster cluster)
PndTrkClusterList::ClassDef ( PndTrkClusterList  ,
 
)
protected
void PndTrkClusterList::Clear ( Option_t *  opt = "")

Definition at line 55 of file PndTrkClusterList.cxx.

References fClusterList.

Referenced by Reset().

55  {
56 fClusterList.Clear(opt);
57 }
TClonesArray fClusterList
void PndTrkClusterList::DeleteCluster ( Int_t  index)

Definition at line 40 of file PndTrkClusterList.cxx.

References fClusterList.

40  {
41  fClusterList.RemoveAt(index);
42 }
TClonesArray fClusterList
PndTrkCluster* PndTrkClusterList::GetCluster ( Int_t  index)
inline

Definition at line 34 of file PndTrkClusterList.h.

References fClusterList.

Referenced by PndTrkLegendreNew::Exec(), and PndTrkClean::MergeClusters().

34 { return (PndTrkCluster*) fClusterList[index]; }
TClonesArray fClusterList
Int_t PndTrkClusterList::GetNofClusters ( )
inline

Definition at line 32 of file PndTrkClusterList.h.

References fClusterList.

Referenced by PndTrkLegendreNew::Exec(), and PndTrkClean::MergeClusters().

32 { return fClusterList.GetEntriesFast(); }
TClonesArray fClusterList
PndTrkClusterList & PndTrkClusterList::operator= ( const PndTrkClusterList clist)

Definition at line 29 of file PndTrkClusterList.cxx.

References fClusterList.

29  {
30  fClusterList = TClonesArray(clist.fClusterList);
31  return *this;
32 }
TClonesArray fClusterList
void PndTrkClusterList::Reset ( )

Definition at line 51 of file PndTrkClusterList.cxx.

References Clear().

51  {
52  Clear();
53 }
void Clear(Option_t *opt="")

Member Data Documentation

TClonesArray PndTrkClusterList::fClusterList
protected

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