FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
sds
SdsReco
PndSdsPixelClusterFinder.cxx
Go to the documentation of this file.
1
#include "
PndSdsPixelClusterFinder.h
"
2
#include "
PndSdsIdealChargeConversion.h
"
3
#include "
PndSdsTotChargeConversion.h
"
4
5
ClassImp
(
PndSdsPixelClusterFinder
);
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
20
void
PndSdsPixelClusterFinder::Print
()
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
}
PndSdsPixelClusterFinder::PrintResult
void PrintResult(std::vector< std::vector< Int_t > > clusters)
Definition:
PndSdsPixelClusterFinder.cxx:25
i
Int_t i
Definition:
run_full.C:25
PndSdsPixelClusterFinder::Print
void Print()
Definition:
PndSdsPixelClusterFinder.cxx:20
PndSdsTotChargeConversion.h
PndSdsPixelClusterFinder
Base class for cluster finding algorithms.
Definition:
PndSdsPixelClusterFinder.h:16
PndSdsPixelClusterFinder.h
PndSdsIdealChargeConversion.h
PndSdsPixelClusterFinder::fHits
std::vector< PndSdsDigiPixel > fHits
Definition:
PndSdsPixelClusterFinder.h:41
ClassImp
ClassImp(PndAnaContFact)
hits
CbmHit * hits[nHits]
Definition:
RiemannTest.C:19
Generated on Wed Apr 3 2019 08:44:01 for FairRoot/PandaRoot by
1.8.5