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

#include <PndSdsClusterPixel.h>

Inheritance diagram for PndSdsClusterPixel:
PndSdsCluster

Public Member Functions

 PndSdsClusterPixel ()
 
 PndSdsClusterPixel (Int_t DigiType, std::vector< Int_t > list, Int_t fileId=-1, Int_t evtId=-1)
 
virtual ~PndSdsClusterPixel ()
 
void SetClusterList (Int_t DigiType, std::vector< Int_t > list, Int_t fileId, Int_t evtId)
 
 ClassDef (PndSdsClusterPixel, 1)
 
std::vector< Int_t > GetClusterList () const
 
Int_t GetClusterSize () const
 
Int_t GetDigiIndex (Int_t i) const
 
bool DigiBelongsToCluster (Int_t digiIndex)
 
virtual void Print ()
 

Protected Member Functions

 ClassDef (PndSdsCluster, 2)
 

Protected Attributes

std::vector< Int_t > fClusterList
 

Detailed Description

Definition at line 13 of file PndSdsClusterPixel.h.

Constructor & Destructor Documentation

PndSdsClusterPixel::PndSdsClusterPixel ( )

Definition at line 12 of file PndSdsClusterPixel.cxx.

12  {
13 }
PndSdsClusterPixel::PndSdsClusterPixel ( Int_t  DigiType,
std::vector< Int_t >  list,
Int_t  fileId = -1,
Int_t  evtId = -1 
)
inline

Definition at line 16 of file PndSdsClusterPixel.h.

References SetClusterList().

16  {
17  SetClusterList(DigiType, list, fileId, evtId);
18  };
void SetClusterList(Int_t DigiType, std::vector< Int_t > list, Int_t fileId, Int_t evtId)
PndSdsClusterPixel::~PndSdsClusterPixel ( )
virtual

Definition at line 15 of file PndSdsClusterPixel.cxx.

15  {
16 }

Member Function Documentation

PndSdsClusterPixel::ClassDef ( PndSdsClusterPixel  ,
 
)
PndSdsCluster::ClassDef ( PndSdsCluster  ,
 
)
protectedinherited
bool PndSdsCluster::DigiBelongsToCluster ( Int_t  digiIndex)
inherited

Definition at line 13 of file PndSdsCluster.cxx.

References PndSdsCluster::fClusterList, and i.

Referenced by EventListing().

14 {
15  for (unsigned int i = 0; i < fClusterList.size(); i++)
16  if (fClusterList[i] == digiIndex) return true;
17 
18  return false;
19 }
Int_t i
Definition: run_full.C:25
std::vector< Int_t > fClusterList
Definition: PndSdsCluster.h:47
std::vector<Int_t> PndSdsCluster::GetClusterList ( ) const
inlineinherited
Int_t PndSdsCluster::GetClusterSize ( ) const
inlineinherited
Int_t PndSdsCluster::GetDigiIndex ( Int_t  i) const
inlineinherited
void PndSdsCluster::Print ( )
virtualinherited

Definition at line 8 of file PndSdsCluster.cxx.

9 {
10  std::cout << *this;
11 }
void PndSdsClusterPixel::SetClusterList ( Int_t  DigiType,
std::vector< Int_t >  list,
Int_t  fileId,
Int_t  evtId 
)
inlinevirtual

Implements PndSdsCluster.

Definition at line 21 of file PndSdsClusterPixel.h.

References PndSdsCluster::fClusterList.

Referenced by PndSdsClusterPixel().

21  {
22  fClusterList = list;
23  SetLinks(FairMultiLinkedData(DigiType, list, fileId, evtId));
24  }
std::vector< Int_t > fClusterList
Definition: PndSdsCluster.h:47

Member Data Documentation

std::vector<Int_t> PndSdsCluster::fClusterList
protectedinherited

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