FairRoot/PandaRoot
PndSdsPixelClusterFinder.cxx
Go to the documentation of this file.
4 
6 
7 //PndSdsPixelClusterFinder::PndSdsPixelClusterFinder(std::vector<PndSdsDigiPixel> hits){
8 // fHits = hits;
9 // fVerbose = 0;
10 //}
11 
12 void PndSdsPixelClusterFinder::Print(std::vector<PndSdsDigiPixel> hits)
13 {
14  std::cout << "--------------" << std::endl;
15  for (UInt_t i = 0; i < hits.size(); i++){
16  std::cout << hits[i] << std::endl;
17  }
18 }
19 
21 {
22  Print(fHits);
23 }
24 
25 void PndSdsPixelClusterFinder::PrintResult(std::vector<std::vector< Int_t> > clusters)
26 {
27  for (UInt_t i = 0; i < clusters.size(); i++){
28  std::cout << "PndSdsPixelClusterFinder::PrintResult(): Cluster " << i << ": " << std::endl;
29  for (UInt_t j = 0; j < clusters[i].size();j++)
30  fHits[clusters[i][j]].Print();
31  }
32 }
void PrintResult(std::vector< std::vector< Int_t > > clusters)
Int_t i
Definition: run_full.C:25
Base class for cluster finding algorithms.
std::vector< PndSdsDigiPixel > fHits
ClassImp(PndAnaContFact)
CbmHit * hits[nHits]
Definition: RiemannTest.C:19