![]() |
PandaRoot
|
#include <PndCAGBTracker.h>
Public Types | |
enum | { kFastPrimIter, kAllPrimIter, kAllPrimJumpIter, kAllSecIter } |
Public Member Functions | |
PndCAGBTracker () | |
~PndCAGBTracker () | |
void | Init () |
void | StartEvent () |
void | SetNSlices (int N) |
const PndCAGBHit * | Hits () const |
const PndCAGBHit & | Hit (int index) const |
int | NHits () const |
double | Time () const |
double | StatTime (int iTimer) const |
int | NTimers () const |
int | StatNEvents () const |
int | NTracks () const |
PndCAGBTrack * | Tracks () const |
PndCAGBTrack * | Tracks () |
const PndCAGBTrack & | Track (int i) const |
int * | TrackHits () const |
int * | TrackHits () |
int | TrackHit (int i) const |
const PndCAParam & | GetParameters () const |
PndCAParam & | GetParametersNonConst () |
int | NStations () const |
void | WriteSettings (std::ostream &out) const |
void | ReadSettings (std::istringstream &in) |
void | WriteEvent (FILE *out) const |
void | SaveHitsInFile (string prefix) const |
bool | SaveTracksInFile (string prefix) const |
bool | ReadHitsFromFile (string prefix) |
double | SliceTrackerTime () const |
double | SliceTrackerCpuTime () const |
void | StoreToFile (const char *filename) const |
void | RestoreFromFile (FILE *f) |
void | SetHits (std::vector< PndCAGBHit > &hits) |
int | GetHitsSize () const |
void | FindTracks () |
void | CATrackFinder () |
void | Create1Plets (const PndCATarget &target, const PndCAHits &hits, PndCAElementsOnStation< PndCANPletV > &singlets, int iStation) |
void | PickUpHits (PndCAElementsOnStation< PndCANPletV > &a, PndCAElementsOnStation< PndCANPletV > &r, int iS) |
void | CreateNPlets (const PndCATarget &target, const PndCAHits &hits, PndCAElementsOnStation< PndCANPletV > &triplets, int iStation, int cellLength) |
void | FindNeighbours (PndCANPlets &triplets) |
void | CreateTracks (const PndCANPlets &triplets, PndCATracks &tracks) |
void | InvertCholetsky (float a[15]) const |
void | MultiplySS (float const C[15], float const V[15], float K[5][5]) const |
void | MultiplyMS (float const C[5][5], float const V[15], float K[15]) const |
void | MultiplySR (float const C[15], float const r_in[5], float r_out[5]) const |
void | FilterTracks (float const r[5], float const C[15], float const m[5], float const V[15], float R[5], float W[15], float &chi2) const |
void | Merge (PndCATracks &tracks) |
void | FindBestCandidate (int ista, PndCATrack &best_tr, int currITrip, PndCATrack &curr_tr, unsigned char min_best_l, const PndCANPlets &triplets, unsigned int &nCalls) |
Public Attributes | |
int | fFindIter |
PndCATarget | fTarget |
float | fMaxInvMom |
float | fPick_m |
float | fPick_r |
float | fPick |
float | fPickNeighbour |
float | TRACK_PROB_CUT |
float | TRACK_CHI2_CUT |
float_v | TRIPLET_CHI2_CUT |
float | fMaxDX0 |
Protected Attributes | |
vector< PndCAGBHit > | fHits |
int | fNHits |
int * | fTrackHits |
PndCAGBTrack * | fTracks |
int | fNTracks |
double | fTime |
double | fStatTime [fNTimers] |
int | fStatNEvents |
double | fSliceTrackerTime |
double | fSliceTrackerCpuTime |
PndCATFIterTimerInfo | fGTi |
PndCATFTimerInfo | fTi |
PndCATFIterTimerInfo | fStatGTi |
PndCATFTimerInfo | fStatTi |
PndCAParam | fParameters |
PndCAStationSTT | fStations [50] |
Static Protected Attributes | |
static const int | fNTimers = 25 |
Friends | |
class | PndCAPerformance |
Try to group close hits in row formed by one track. After sort hits. More... | |
Definition at line 45 of file PndCAGBTracker.h.
anonymous enum |
Enumerator | |
---|---|
kFastPrimIter | |
kAllPrimIter | |
kAllPrimJumpIter | |
kAllSecIter |
Definition at line 128 of file PndCAGBTracker.h.
PndCAGBTracker::PndCAGBTracker | ( | ) |
PndCAGBTracker::~PndCAGBTracker | ( | ) |
void PndCAGBTracker::CATrackFinder | ( | ) |
Referenced by GetHitsSize().
void PndCAGBTracker::Create1Plets | ( | const PndCATarget & | target, |
const PndCAHits & | hits, | ||
PndCAElementsOnStation< PndCANPletV > & | singlets, | ||
int | iStation | ||
) |
Referenced by GetHitsSize().
void PndCAGBTracker::CreateNPlets | ( | const PndCATarget & | target, |
const PndCAHits & | hits, | ||
PndCAElementsOnStation< PndCANPletV > & | triplets, | ||
int | iStation, | ||
int | cellLength | ||
) |
Referenced by GetHitsSize().
void PndCAGBTracker::CreateTracks | ( | const PndCANPlets & | triplets, |
PndCATracks & | tracks | ||
) |
Referenced by GetHitsSize().
void PndCAGBTracker::FilterTracks | ( | float const | r[5], |
float const | C[15], | ||
float const | m[5], | ||
float const | V[15], | ||
float | R[5], | ||
float | W[15], | ||
float & | chi2 | ||
) | const |
Referenced by GetHitsSize().
void PndCAGBTracker::FindBestCandidate | ( | int | ista, |
PndCATrack & | best_tr, | ||
int | currITrip, | ||
PndCATrack & | curr_tr, | ||
unsigned char | min_best_l, | ||
const PndCANPlets & | triplets, | ||
unsigned int & | nCalls | ||
) |
Referenced by GetHitsSize().
void PndCAGBTracker::FindNeighbours | ( | PndCANPlets & | triplets | ) |
Referenced by GetHitsSize().
void PndCAGBTracker::FindTracks | ( | ) |
Referenced by GetHitsSize().
|
inline |
Definition at line 101 of file PndCAGBTracker.h.
References CATrackFinder(), Create1Plets(), CreateNPlets(), CreateTracks(), fHits, FilterTracks(), FindBestCandidate(), FindNeighbours(), FindTracks(), InvertCholetsky(), m, Merge(), MultiplyMS(), MultiplySR(), MultiplySS(), and PickUpHits().
|
inline |
|
inline |
|
inline |
Definition at line 55 of file PndCAGBTracker.h.
|
inline |
void PndCAGBTracker::Init | ( | ) |
void PndCAGBTracker::InvertCholetsky | ( | float | a[15] | ) | const |
Referenced by GetHitsSize().
void PndCAGBTracker::Merge | ( | PndCATracks & | tracks | ) |
Referenced by GetHitsSize().
void PndCAGBTracker::MultiplyMS | ( | float const | C[5][5], |
float const | V[15], | ||
float | K[15] | ||
) | const |
Referenced by GetHitsSize().
void PndCAGBTracker::MultiplySR | ( | float const | C[15], |
float const | r_in[5], | ||
float | r_out[5] | ||
) | const |
Referenced by GetHitsSize().
void PndCAGBTracker::MultiplySS | ( | float const | C[15], |
float const | V[15], | ||
float | K[5][5] | ||
) | const |
Referenced by GetHitsSize().
|
inline |
|
inline |
Definition at line 80 of file PndCAGBTracker.h.
References fParameters, PndCAParam::NStations(), ReadHitsFromFile(), ReadSettings(), SaveHitsInFile(), SaveTracksInFile(), WriteEvent(), and WriteSettings().
|
inline |
|
inline |
void PndCAGBTracker::PickUpHits | ( | PndCAElementsOnStation< PndCANPletV > & | a, |
PndCAElementsOnStation< PndCANPletV > & | r, | ||
int | iS | ||
) |
Referenced by GetHitsSize().
bool PndCAGBTracker::ReadHitsFromFile | ( | string | prefix | ) |
Referenced by NStations().
void PndCAGBTracker::ReadSettings | ( | std::istringstream & | in | ) |
Referenced by NStations().
void PndCAGBTracker::RestoreFromFile | ( | FILE * | f | ) |
Referenced by SliceTrackerCpuTime().
void PndCAGBTracker::SaveHitsInFile | ( | string | prefix | ) | const |
Referenced by NStations().
bool PndCAGBTracker::SaveTracksInFile | ( | string | prefix | ) | const |
Referenced by NStations().
void PndCAGBTracker::SetHits | ( | std::vector< PndCAGBHit > & | hits | ) |
Referenced by SliceTrackerCpuTime().
void PndCAGBTracker::SetNSlices | ( | int | N | ) |
|
inline |
Definition at line 95 of file PndCAGBTracker.h.
References f, fSliceTrackerCpuTime, RestoreFromFile(), SetHits(), and StoreToFile().
|
inline |
void PndCAGBTracker::StartEvent | ( | ) |
|
inline |
|
inline |
void PndCAGBTracker::StoreToFile | ( | const char * | filename | ) | const |
Referenced by SliceTrackerCpuTime().
|
inline |
|
inline |
Definition at line 72 of file PndCAGBTracker.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void PndCAGBTracker::WriteEvent | ( | FILE * | out | ) | const |
Referenced by NStations().
void PndCAGBTracker::WriteSettings | ( | std::ostream & | out | ) | const |
Referenced by NStations().
|
friend |
Try to group close hits in row formed by one track. After sort hits.
Definition at line 148 of file PndCAGBTracker.h.
int PndCAGBTracker::fFindIter |
Definition at line 134 of file PndCAGBTracker.h.
|
protected |
Definition at line 164 of file PndCAGBTracker.h.
|
protected |
Definition at line 150 of file PndCAGBTracker.h.
Referenced by GetHitsSize(), Hit(), and Hits().
float PndCAGBTracker::fMaxDX0 |
Definition at line 145 of file PndCAGBTracker.h.
float PndCAGBTracker::fMaxInvMom |
Definition at line 137 of file PndCAGBTracker.h.
|
protected |
Definition at line 151 of file PndCAGBTracker.h.
|
staticprotected |
Definition at line 158 of file PndCAGBTracker.h.
Referenced by NTimers().
|
protected |
Definition at line 155 of file PndCAGBTracker.h.
Referenced by NTracks().
|
protected |
Definition at line 169 of file PndCAGBTracker.h.
Referenced by GetParameters(), GetParametersNonConst(), and NStations().
float PndCAGBTracker::fPick |
Definition at line 138 of file PndCAGBTracker.h.
float PndCAGBTracker::fPick_m |
Definition at line 138 of file PndCAGBTracker.h.
float PndCAGBTracker::fPick_r |
Definition at line 138 of file PndCAGBTracker.h.
float PndCAGBTracker::fPickNeighbour |
Definition at line 141 of file PndCAGBTracker.h.
|
protected |
Definition at line 163 of file PndCAGBTracker.h.
Referenced by SliceTrackerCpuTime().
|
protected |
Definition at line 162 of file PndCAGBTracker.h.
Referenced by SliceTrackerTime().
|
protected |
Definition at line 166 of file PndCAGBTracker.h.
|
protected |
Definition at line 170 of file PndCAGBTracker.h.
|
protected |
Definition at line 160 of file PndCAGBTracker.h.
Referenced by StatNEvents().
|
protected |
Definition at line 167 of file PndCAGBTracker.h.
|
protected |
Definition at line 159 of file PndCAGBTracker.h.
Referenced by StatTime().
PndCATarget PndCAGBTracker::fTarget |
Definition at line 136 of file PndCAGBTracker.h.
|
protected |
Definition at line 165 of file PndCAGBTracker.h.
|
protected |
Definition at line 157 of file PndCAGBTracker.h.
Referenced by Time().
|
protected |
Definition at line 153 of file PndCAGBTracker.h.
Referenced by TrackHit(), and TrackHits().
|
protected |
Definition at line 154 of file PndCAGBTracker.h.
float PndCAGBTracker::TRACK_CHI2_CUT |
Definition at line 143 of file PndCAGBTracker.h.
float PndCAGBTracker::TRACK_PROB_CUT |
Definition at line 142 of file PndCAGBTracker.h.
float_v PndCAGBTracker::TRIPLET_CHI2_CUT |
Definition at line 144 of file PndCAGBTracker.h.