FairRoot/PandaRoot
|
#include <PndSdsStripCorrelator.h>
Public Member Functions | |
PndSdsStripCorrelator (int mode=0, double cut=0., double noise=0., double threshold=0.) | |
~PndSdsStripCorrelator () | |
void | Reset () |
void | Setup (int mode=0, double cut=0., double noise=0., double threshold=0.) |
void | AddCluster (int moduleId, int side, int clusterIndex, double charge) |
vector< pair< int, int > > | GetCorrelationList () |
vector< double > | GetProbList () |
vector< double > | GetSecondProbList () |
vector< int > | GetMultProbList () |
Private Member Functions | |
void | CalcChargeDifferenceCut () |
void | CalcLikelihoodAlgo () |
void | CalcAll () |
std::vector < PndSdsStripCorrelatorCombi > | getCombinations (std::map< int, std::map< int, PndSdsStripCorrelatorCand > > matrix, int cols, int rows) |
std::map< int, std::map< int, PndSdsStripCorrelatorCand > > | getSubMatrix (std::map< int, std::map< int, PndSdsStripCorrelatorCand > > matrix, int cols, int rows, int pivotCol, int pivotRow) |
Private Attributes | |
map< int, map< int, vector < pair< int, double > > > > | fClusterList |
vector< pair< int, int > > | fCorrelationList |
vector< double > | fCorrelationProbList |
vector< double > | fSecondProbList |
vector< int > | fMultProbList |
double | fCut |
double | fNoise |
double | fThreshold |
int | fMode |
bool | fCalculated |
Definition at line 59 of file PndSdsStripCorrelator.h.
PndSdsStripCorrelator::PndSdsStripCorrelator | ( | int | mode = 0 , |
double | cut = 0. , |
||
double | noise = 0. , |
||
double | threshold = 0. |
||
) |
Definition at line 19 of file PndSdsStripCorrelator.cxx.
PndSdsStripCorrelator::~PndSdsStripCorrelator | ( | ) |
Definition at line 33 of file PndSdsStripCorrelator.cxx.
void PndSdsStripCorrelator::AddCluster | ( | int | moduleId, |
int | side, | ||
int | clusterIndex, | ||
double | charge | ||
) |
Definition at line 36 of file PndSdsStripCorrelator.cxx.
References fClusterList.
|
private |
Definition at line 117 of file PndSdsStripCorrelator.cxx.
References CalcChargeDifferenceCut(), and fCut.
Referenced by GetCorrelationList().
|
private |
Definition at line 126 of file PndSdsStripCorrelator.cxx.
References fabs(), fClusterList, fCorrelationList, fCorrelationProbList, fCut, fSecondProbList, and map.
Referenced by CalcAll(), and GetCorrelationList().
|
private |
Definition at line 149 of file PndSdsStripCorrelator.cxx.
References CLUSTER_MULT_CUTOFF, fabs(), fClusterList, fCorrelationList, fCorrelationProbList, fMultProbList, fSecondProbList, fThreshold, getCombinations(), map, sqrt(), and top.
Referenced by GetCorrelationList().
|
private |
Definition at line 226 of file PndSdsStripCorrelator.cxx.
References cols, combi, fabs(), fThreshold, getSubMatrix(), i, PndSdsStripCorrelatorCombi::pairlist, PndSdsStripCorrelatorCombi::prob, sqrt(), and top.
Referenced by CalcLikelihoodAlgo().
vector< pair< int, int > > PndSdsStripCorrelator::GetCorrelationList | ( | ) |
Definition at line 63 of file PndSdsStripCorrelator.cxx.
References CalcAll(), CalcChargeDifferenceCut(), CalcLikelihoodAlgo(), fCalculated, fCorrelationList, and fMode.
vector< int > PndSdsStripCorrelator::GetMultProbList | ( | ) |
Definition at line 106 of file PndSdsStripCorrelator.cxx.
References fCalculated, fCorrelationProbList, fMultProbList, and fSecondProbList.
vector< double > PndSdsStripCorrelator::GetProbList | ( | ) |
Definition at line 84 of file PndSdsStripCorrelator.cxx.
References fCalculated, fCorrelationProbList, fMultProbList, and fSecondProbList.
vector< double > PndSdsStripCorrelator::GetSecondProbList | ( | ) |
Definition at line 95 of file PndSdsStripCorrelator.cxx.
References fCalculated, fCorrelationProbList, fMultProbList, and fSecondProbList.
|
private |
void PndSdsStripCorrelator::Reset | ( | ) |
Definition at line 42 of file PndSdsStripCorrelator.cxx.
References fCalculated, fClusterList, fCorrelationList, fCorrelationProbList, fMultProbList, and fSecondProbList.
void PndSdsStripCorrelator::Setup | ( | int | mode = 0 , |
double | cut = 0. , |
||
double | noise = 0. , |
||
double | threshold = 0. |
||
) |
Definition at line 53 of file PndSdsStripCorrelator.cxx.
References cut, fCalculated, fCut, fMode, fNoise, fThreshold, mode, noise, and threshold.
|
private |
Definition at line 95 of file PndSdsStripCorrelator.h.
Referenced by GetCorrelationList(), GetMultProbList(), GetProbList(), GetSecondProbList(), Reset(), and Setup().
Definition at line 85 of file PndSdsStripCorrelator.h.
Referenced by AddCluster(), CalcChargeDifferenceCut(), CalcLikelihoodAlgo(), and Reset().
|
private |
Definition at line 86 of file PndSdsStripCorrelator.h.
Referenced by CalcChargeDifferenceCut(), CalcLikelihoodAlgo(), GetCorrelationList(), and Reset().
|
private |
Definition at line 87 of file PndSdsStripCorrelator.h.
Referenced by CalcChargeDifferenceCut(), CalcLikelihoodAlgo(), GetMultProbList(), GetProbList(), GetSecondProbList(), and Reset().
|
private |
Definition at line 91 of file PndSdsStripCorrelator.h.
Referenced by CalcAll(), CalcChargeDifferenceCut(), and Setup().
|
private |
Definition at line 94 of file PndSdsStripCorrelator.h.
Referenced by GetCorrelationList(), and Setup().
|
private |
Definition at line 89 of file PndSdsStripCorrelator.h.
Referenced by CalcLikelihoodAlgo(), GetMultProbList(), GetProbList(), GetSecondProbList(), and Reset().
|
private |
Definition at line 92 of file PndSdsStripCorrelator.h.
Referenced by Setup().
|
private |
Definition at line 88 of file PndSdsStripCorrelator.h.
Referenced by CalcChargeDifferenceCut(), CalcLikelihoodAlgo(), GetMultProbList(), GetProbList(), GetSecondProbList(), and Reset().
|
private |
Definition at line 93 of file PndSdsStripCorrelator.h.
Referenced by CalcLikelihoodAlgo(), getCombinations(), and Setup().