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 (TClonesArray *hitArray, TClonesArray *projArray, TClonesArray *ringArray) |
void | SetVerbose (Int_t verbose) |
Protected Attributes | |
Int_t | fVerbose |
Private Types | |
enum | { NTimers = 11 } |
typedef unsigned short | THitIndex |
Private Member Functions | |
void | ENNRingFinder (const int NHits, nsL1vector< ENNHitV >::TSimd &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 35 of file CbmL1RichENNRingFinderParallel.h.
|
private |
Definition at line 37 of file CbmL1RichENNRingFinderParallel.h.
|
private |
Enumerator | |
---|---|
NTimers |
Definition at line 209 of file CbmL1RichENNRingFinderParallel.h.
CbmL1RichENNRingFinderParallel::CbmL1RichENNRingFinderParallel | ( | Int_t | verbose = 0 | ) |
Standard constructor
Definition at line 41 of file CbmL1RichENNRingFinderParallel.cxx.
References fTimersNames, CbmRichRingFinder::fVerbose, i, and NTimers.
CbmL1RichENNRingFinderParallel::~CbmL1RichENNRingFinderParallel | ( | ) |
Destructor
Definition at line 67 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 72 of file CbmL1RichENNRingFinderParallel.cxx.
References CbmRichRing::AddHit(), CbmL1RichENNRingFinderParallel::ENNHit::Compare(), ENNRingFinder(), fNEvents, fRecoTime, fTimers, fTimersNames, fvecLen, GetTimer(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), hits, i, NTimers, CbmL1RichENNRingFinderParallel::ENNRingHit::outIndex, CbmL1RichENNRingFinderParallel::ENNHit::quality, CbmRichRing::SetCenterX(), CbmRichRing::SetCenterY(), CbmRichRing::SetChi2(), CbmRichRing::SetRadius(), CbmL1RichENNRingFinderParallel::ENNHit::x, and CbmL1RichENNRingFinderParallel::ENNHit::y.
Referenced by CbmL1RichENNRingFinder::DoFind().
|
private |
Definition at line 233 of file CbmL1RichENNRingFinderParallel.cxx.
References bool2int(), CbmL1RichENNRingFinderParallel::ENNSearchHitV::C, CbmL1RichENNRingFinderParallel::ENNRing::chi2, CbmL1RichENNRingFinderParallel::ENNRingV::chi2, CbmL1RichENNRingFinderParallel::ENNRing::CompareENNHRings(), CbmL1RichENNRingFinderParallel::ENNHitV::CopyHit(), CbmL1RichENNRingFinderParallel::ENNSearchHitV::Cx, CbmL1RichENNRingFinderParallel::ENNSearchHitV::Cy, d, Empty, fabs(), fvecLen, GetTimer(), i, if3, ISLIKELY, ISUNLIKELY, CbmL1RichENNRingFinderParallel::ENNRing::localIHits, CbmL1RichENNRingFinderParallel::ENNRingV::localIHits, CbmL1RichENNRingFinderParallel::ENNHitV::localIndex, CbmL1RichENNRingFinderParallel::ENNSearchHitV::lr2, CbmL1RichENNRingFinderParallel::ENNSearchHitV::lx, CbmL1RichENNRingFinderParallel::ENNSearchHitV::ly, m, CbmL1RichENNRingFinderParallel::ENNRing::NHits, CbmL1RichENNRingFinderParallel::ENNRingV::NHits, NotEmpty, CbmL1RichENNRingFinderParallel::ENNSearchHitV::on_ring, CbmL1RichENNRingFinderParallel::ENNHitV::quality, CbmL1RichENNRingFinderParallel::ENNRing::r, CbmL1RichENNRingFinderParallel::ENNRingV::r, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S0, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S1, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S2, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S3, CbmL1RichENNRingFinderParallel::ENNSearchHitV::S4, sqrt(), CbmL1RichENNRingFinderParallel::ENNHitV::x, x, CbmL1RichENNRingFinderParallel::ENNRing::x, CbmL1RichENNRingFinderParallel::ENNRingV::x, CbmL1RichENNRingFinderParallel::ENNHitV::y, CbmL1RichENNRingFinderParallel::ENNRing::y, and CbmL1RichENNRingFinderParallel::ENNRingV::y.
Referenced by DoFind().
|
private |
Definition at line 975 of file CbmL1RichENNRingFinderParallel.cxx.
References fTimers, fTimersNames, i, and NTimers.
Referenced by DoFind(), and ENNRingFinder().
|
virtual |
Initialisation
Reimplemented from CbmRichRingFinder.
Definition at line 70 of file CbmL1RichENNRingFinderParallel.cxx.
|
inlineinherited |
Set verbosity
verbose | Verbosity level |
Definition at line 66 of file CbmRichRingFinder.h.
References CbmRichRingFinder::fVerbose.
|
private |
Definition at line 207 of file CbmL1RichENNRingFinderParallel.h.
Referenced by DoFind().
|
private |
Definition at line 206 of file CbmL1RichENNRingFinderParallel.h.
Referenced by DoFind().
|
private |
Definition at line 210 of file CbmL1RichENNRingFinderParallel.h.
Referenced by DoFind(), and GetTimer().
|
private |
Definition at line 211 of file CbmL1RichENNRingFinderParallel.h.
Referenced by CbmL1RichENNRingFinderParallel(), DoFind(), and GetTimer().
|
protectedinherited |
Definition at line 70 of file CbmRichRingFinder.h.
Referenced by CbmL1RichENNRingFinderParallel(), and CbmRichRingFinder::SetVerbose().