CbmRoot
CbmL1RichENNRingFinderParallel Class Reference

#include <CbmL1RichENNRingFinderParallel.h>

Inheritance diagram for CbmL1RichENNRingFinderParallel:
[legend]
Collaboration diagram for CbmL1RichENNRingFinderParallel:
[legend]

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]
 

Detailed Description

Definition at line 35 of file CbmL1RichENNRingFinderParallel.h.

Member Typedef Documentation

◆ THitIndex

typedef unsigned short CbmL1RichENNRingFinderParallel::THitIndex
private

Definition at line 37 of file CbmL1RichENNRingFinderParallel.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
NTimers 

Definition at line 209 of file CbmL1RichENNRingFinderParallel.h.

Constructor & Destructor Documentation

◆ CbmL1RichENNRingFinderParallel()

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::~CbmL1RichENNRingFinderParallel ( )

Destructor

Definition at line 67 of file CbmL1RichENNRingFinderParallel.cxx.

Member Function Documentation

◆ ClassDef()

CbmRichRingFinder::ClassDef ( CbmRichRingFinder  ,
 
)
privateinherited

◆ DoFind()

Int_t CbmL1RichENNRingFinderParallel::DoFind ( TClonesArray *  hitArray,
TClonesArray *  projArray,
TClonesArray *  ringArray 
)
virtual

◆ ENNRingFinder()

void CbmL1RichENNRingFinderParallel::ENNRingFinder ( const int  NHits,
nsL1vector< ENNHitV >::TSimd &  HitsV,
std::vector< ENNRing > &  Rings,
float  HitSize = 1.,
THitIndex  MinRingHits = 5,
fvec  RMin = 2.,
fvec  RMax = 6. 
)
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().

◆ GetTimer()

TStopwatch & CbmL1RichENNRingFinderParallel::GetTimer ( TString  t)
private

Definition at line 975 of file CbmL1RichENNRingFinderParallel.cxx.

References fTimers, fTimersNames, i, and NTimers.

Referenced by DoFind(), and ENNRingFinder().

◆ Init()

void CbmL1RichENNRingFinderParallel::Init ( )
virtual

Initialisation

Reimplemented from CbmRichRingFinder.

Definition at line 70 of file CbmL1RichENNRingFinderParallel.cxx.

◆ SetVerbose()

void CbmRichRingFinder::SetVerbose ( Int_t  verbose)
inlineinherited

Set verbosity

Parameters
verboseVerbosity level

Definition at line 66 of file CbmRichRingFinder.h.

References CbmRichRingFinder::fVerbose.

Member Data Documentation

◆ fNEvents

Int_t CbmL1RichENNRingFinderParallel::fNEvents
private

Definition at line 207 of file CbmL1RichENNRingFinderParallel.h.

Referenced by DoFind().

◆ fRecoTime

Float_t CbmL1RichENNRingFinderParallel::fRecoTime
private

Definition at line 206 of file CbmL1RichENNRingFinderParallel.h.

Referenced by DoFind().

◆ fTimers

TStopwatch CbmL1RichENNRingFinderParallel::fTimers[NTimers]
private

Definition at line 210 of file CbmL1RichENNRingFinderParallel.h.

Referenced by DoFind(), and GetTimer().

◆ fTimersNames

TString CbmL1RichENNRingFinderParallel::fTimersNames[NTimers]
private

◆ fVerbose

Int_t CbmRichRingFinder::fVerbose
protectedinherited

The documentation for this class was generated from the following files: