CbmRoot
Loading...
Searching...
No Matches
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 (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]
 

Detailed Description

Definition at line 41 of file CbmL1RichENNRingFinderParallel.h.

Member Typedef Documentation

◆ THitIndex

Definition at line 43 of file CbmL1RichENNRingFinderParallel.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
NTimers 

Definition at line 211 of file CbmL1RichENNRingFinderParallel.h.

Constructor & Destructor Documentation

◆ CbmL1RichENNRingFinderParallel()

CbmL1RichENNRingFinderParallel::CbmL1RichENNRingFinderParallel ( Int_t verbose = 0)

Standard constructor

Definition at line 49 of file CbmL1RichENNRingFinderParallel.cxx.

References fTimersNames, and NTimers.

◆ ~CbmL1RichENNRingFinderParallel()

CbmL1RichENNRingFinderParallel::~CbmL1RichENNRingFinderParallel ( )

Destructor

Definition at line 74 of file CbmL1RichENNRingFinderParallel.cxx.

Member Function Documentation

◆ ClassDef()

CbmRichRingFinder::ClassDef ( CbmRichRingFinder ,
1  )
privateinherited

◆ DoFind()

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

◆ ENNRingFinder()

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

◆ GetTimer()

TStopwatch & CbmL1RichENNRingFinderParallel::GetTimer ( TString t)
private

Definition at line 955 of file CbmL1RichENNRingFinderParallel.cxx.

References fTimers, fTimersNames, and NTimers.

Referenced by DoFind(), and ENNRingFinder().

◆ Init()

void CbmL1RichENNRingFinderParallel::Init ( )
virtual

Initialisation

Reimplemented from CbmRichRingFinder.

Definition at line 77 of file CbmL1RichENNRingFinderParallel.cxx.

Member Data Documentation

◆ fNEvents

Int_t CbmL1RichENNRingFinderParallel::fNEvents
private

Definition at line 209 of file CbmL1RichENNRingFinderParallel.h.

Referenced by DoFind().

◆ fRecoTime

Float_t CbmL1RichENNRingFinderParallel::fRecoTime
private

Definition at line 208 of file CbmL1RichENNRingFinderParallel.h.

Referenced by DoFind().

◆ fTimers

TStopwatch CbmL1RichENNRingFinderParallel::fTimers[NTimers]
private

Definition at line 215 of file CbmL1RichENNRingFinderParallel.h.

Referenced by DoFind(), and GetTimer().

◆ fTimersNames

TString CbmL1RichENNRingFinderParallel::fTimersNames[NTimers]
private

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