FairRoot/PandaRoot
PndSdsCluster.cxx
Go to the documentation of this file.
1 #include "PndSdsCluster.h"
2 
3 PndSdsCluster::PndSdsCluster(std::vector<Int_t> list) :
4 fClusterList(list)
5 {
6 }
7 
9 {
10  std::cout << *this;
11 }
12 
14 {
15  for (unsigned int i = 0; i < fClusterList.size(); i++)
16  if (fClusterList[i] == digiIndex) return true;
17 
18  return false;
19 }
20 
21 
23 
Int_t i
Definition: run_full.C:25
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
Definition: PndSdsCluster.h:19
virtual void Print()
ClassImp(PndAnaContFact)
bool DigiBelongsToCluster(Int_t digiIndex)
std::vector< Int_t > fClusterList
Definition: PndSdsCluster.h:47