CbmRoot
|
#include <CbmL1RichENNRingFinderParallel.h>
Classes | |
struct | ENNHit |
struct | ENNHitV |
struct | ENNRing |
struct | ENNRingHit |
struct | ENNRingHitV |
struct | ENNRingV |
struct | ENNSearchHitV |
Public Member Functions | |
CbmL1RichENNRingFinderParallel (Int_t verbose=0) | |
~CbmL1RichENNRingFinderParallel () | |
void | Init () |
Int_t | DoFind (CbmEvent *event, TClonesArray *hitArray, TClonesArray *projArray, TClonesArray *ringArray) |
Private Types | |
enum | { NTimers = 11 } |
typedef unsigned short | THitIndex |
Private Member Functions | |
void | ENNRingFinder (const int NHits, cbm::algo::ca::Vector< ENNHitV > &HitsV, std::vector< ENNRing > &Rings, float HitSize=1., THitIndex MinRingHits=5, fvec RMin=2., fvec RMax=6.) |
TStopwatch & | GetTimer (TString t) |
ClassDef (CbmRichRingFinder, 1) | |
Private Attributes | |
Float_t | fRecoTime |
Int_t | fNEvents |
TStopwatch | fTimers [NTimers] |
TString | fTimersNames [NTimers] |
Definition at line 41 of file CbmL1RichENNRingFinderParallel.h.
|
private |
Definition at line 43 of file CbmL1RichENNRingFinderParallel.h.
|
private |
Enumerator | |
---|---|
NTimers |
Definition at line 211 of file CbmL1RichENNRingFinderParallel.h.
CbmL1RichENNRingFinderParallel::CbmL1RichENNRingFinderParallel | ( | Int_t | verbose = 0 | ) |
Standard constructor
Definition at line 49 of file CbmL1RichENNRingFinderParallel.cxx.
References fTimersNames, and NTimers.
CbmL1RichENNRingFinderParallel::~CbmL1RichENNRingFinderParallel | ( | ) |
Destructor
Definition at line 74 of file CbmL1RichENNRingFinderParallel.cxx.
|
privateinherited |
|
virtual |
Ring finding algorithm
hitArray | Array of rich hits |
projArray | Array of projected tracks (not needed here) |
ringArray | Array of CbmRichRing |
@value Number of tracks created
Implements CbmRichRingFinder.
Definition at line 79 of file CbmL1RichENNRingFinderParallel.cxx.
References CbmRichRing::AddHit(), CbmL1RichENNRingFinderParallel::ENNHit::Compare(), ENNRingFinder(), fNEvents, fRecoTime, fTimers, fTimersNames, GetTimer(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), hits, kRichHit, kRichRing, NTimers, CbmL1RichENNRingFinderParallel::ENNRingHit::outIndex, CbmL1RichENNRingFinderParallel::ENNHit::quality, cbm::algo::ca::Vector< T >::reset(), CbmRichRing::SetCenterX(), CbmRichRing::SetCenterY(), CbmRichRing::SetChi2(), CbmRichRing::SetRadius(), CbmL1RichENNRingFinderParallel::ENNHit::x, and CbmL1RichENNRingFinderParallel::ENNHit::y.
Referenced by CbmL1RichENNRingFinder::DoFind().
|
private |
Definition at line 241 of file CbmL1RichENNRingFinderParallel.cxx.
References CbmL1RichENNRingFinderParallel::ENNSearchHitV::C, CbmL1RichENNRingFinderParallel::ENNRing::chi2, CbmL1RichENNRingFinderParallel::ENNRingV::chi2, CbmL1RichENNRingFinderParallel::ENNRing::CompareENNHRings(), CbmL1RichENNRingFinderParallel::ENNHitV::CopyHit(), CbmL1RichENNRingFinderParallel::ENNSearchHitV::Cx, CbmL1RichENNRingFinderParallel::ENNSearchHitV::Cy, fvec(), GetTimer(), iif(), CbmL1RichENNRingFinderParallel::ENNRing::localIHits, CbmL1RichENNRingFinderParallel::ENNRingV::localIHits, CbmL1RichENNRingFinderParallel::ENNHitV::localIndex, CbmL1RichENNRingFinderParallel::ENNSearchHitV::lr2, CbmL1RichENNRingFinderParallel::ENNSearchHitV::lx, CbmL1RichENNRingFinderParallel::ENNSearchHitV::ly, CbmL1RichENNRingFinderParallel::ENNRing::NHits, CbmL1RichENNRingFinderParallel::ENNRingV::NHits, CbmL1RichENNRingFinderParallel::ENNSearchHitV::on_ring, cbm::algo::ca::Vector< T >::push_back(), CbmL1RichENNRingFinderParallel::ENNHitV::quality, CbmL1RichENNRingFinderParallel::ENNRing::r, CbmL1RichENNRingFinderParallel::ENNRingV::r, cbm::algo::ca::Vector< T >::reserve(), cbm::algo::ca::Vector< T >::reset(), CbmL1RichENNRingFinderParallel::ENNSearchHitV::S0, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S1, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S2, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S3, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S4, sqrt(), CbmL1RichENNRingFinderParallel::ENNHitV::x, CbmL1RichENNRingFinderParallel::ENNRing::x, CbmL1RichENNRingFinderParallel::ENNRingV::x, x, CbmL1RichENNRingFinderParallel::ENNHitV::y, CbmL1RichENNRingFinderParallel::ENNRing::y, and CbmL1RichENNRingFinderParallel::ENNRingV::y.
Referenced by DoFind().
|
private |
Definition at line 955 of file CbmL1RichENNRingFinderParallel.cxx.
References fTimers, fTimersNames, and NTimers.
Referenced by DoFind(), and ENNRingFinder().
|
virtual |
Initialisation
Reimplemented from CbmRichRingFinder.
Definition at line 77 of file CbmL1RichENNRingFinderParallel.cxx.
|
private |
Definition at line 209 of file CbmL1RichENNRingFinderParallel.h.
Referenced by DoFind().
|
private |
Definition at line 208 of file CbmL1RichENNRingFinderParallel.h.
Referenced by DoFind().
|
private |
Definition at line 215 of file CbmL1RichENNRingFinderParallel.h.
Referenced by DoFind(), and GetTimer().
|
private |
Definition at line 216 of file CbmL1RichENNRingFinderParallel.h.
Referenced by CbmL1RichENNRingFinderParallel(), DoFind(), and GetTimer().