CbmRoot
CbmL1TrdTrackFinderSts Class Reference

#include <CbmL1TrdTrackFinderSts.h>

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

Public Member Functions

 CbmL1TrdTrackFinderSts ()
 
 CbmL1TrdTrackFinderSts (Int_t verbose)
 
virtual ~CbmL1TrdTrackFinderSts ()
 
void Init ()
 
Int_t DoFind (TClonesArray *hitArray, TClonesArray *trackArray)
 
void WriteHistogramms ()
 
void SetVerbose (Int_t verbose)
 
 ClassDef (CbmL1TrdTrackFinderSts, 1)
 
 ClassDef (CbmTrdTrackFinder, 1)
 

Static Public Member Functions

static Bool_t CompareChi2 (const CbmTrdTrack *a, const CbmTrdTrack *b)
 

Private Member Functions

 CbmL1TrdTrackFinderSts (const CbmL1TrdTrackFinderSts &)
 
CbmL1TrdTrackFinderSts operator= (const CbmL1TrdTrackFinderSts &)
 
void CreateHistogramms ()
 
void DataBranches ()
 
void TrdLayout ()
 
void SortTrdHits ()
 
void Process ()
 
void Sts2Trd (Double_t pmin, Double_t pmax, Double_t chi2min, Double_t chi2max)
 
void ProcessAllStations ()
 
void MoveOut ()
 
void ProcessStation (CbmTrdTrack *pTrack, const Int_t &station)
 
void UpdateTrack (Int_t station, CbmTrdTrack *track)
 
virtual void Clear (const Option_t *a=0)
 
void RemoveFakes ()
 
Bool_t Overlap (CbmKFTrack &track, CbmTrdHit *pHit)
 
Double_t GetChi2Hit (CbmKFTrack &track, CbmTrdHit *pHit)
 

Private Attributes

Int_t fEvents
 
Int_t fVerbose
 
TClonesArray * fArrayTrdPoint
 
TClonesArray * fArrayTrdHit
 
TClonesArray * fArrayStsTrack
 
TClonesArray * fArrayStsTrackM
 
TClonesArray * fArrayKFTrdHit
 
std::vector< CbmTrdTrack * > fvTrdTrack
 
TClonesArray * fArrayTrdTrack
 
Int_t fPid
 
Int_t fNoTrdStations
 
Int_t fNoTrdPerStation
 
Int_t fNoTrdHits [12]
 
Int_t fTrdHitIndex [12][10000]
 
std::map< Int_t, Bool_t > fmapHitUsed
 
TH1F * fh_chi2hit
 
TH2F * fh_chi2hit_plane
 
TH2F * fh_resx_plane_true
 
TH2F * fh_resy_plane_true
 
TH2F * fh_resx_plane_fake
 
TH2F * fh_resy_plane_fake
 
TH2F * fh_resx_mom_true
 
TH2F * fh_resy_mom_true
 
TH2F * fh_pullx_plane_true
 
TH2F * fh_pully_plane_true
 
TH2F * fh_pullx_plane_fake
 
TH2F * fh_pully_plane_fake
 
std::map< Int_t, Bool_t > fLostTracks
 

Detailed Description

Definition at line 23 of file CbmL1TrdTrackFinderSts.h.

Constructor & Destructor Documentation

◆ CbmL1TrdTrackFinderSts() [1/3]

CbmL1TrdTrackFinderSts::CbmL1TrdTrackFinderSts ( const CbmL1TrdTrackFinderSts )
private

◆ CbmL1TrdTrackFinderSts() [2/3]

CbmL1TrdTrackFinderSts::CbmL1TrdTrackFinderSts ( )

Definition at line 52 of file CbmL1TrdTrackFinderSts.cxx.

◆ CbmL1TrdTrackFinderSts() [3/3]

CbmL1TrdTrackFinderSts::CbmL1TrdTrackFinderSts ( Int_t  verbose)

Definition at line 106 of file CbmL1TrdTrackFinderSts.cxx.

◆ ~CbmL1TrdTrackFinderSts()

CbmL1TrdTrackFinderSts::~CbmL1TrdTrackFinderSts ( )
virtual

Definition at line 160 of file CbmL1TrdTrackFinderSts.cxx.

References fArrayKFTrdHit, and fArrayTrdTrack.

Member Function Documentation

◆ ClassDef() [1/2]

CbmL1TrdTrackFinderSts::ClassDef ( CbmL1TrdTrackFinderSts  ,
 
)

◆ ClassDef() [2/2]

CbmTrdTrackFinder::ClassDef ( CbmTrdTrackFinder  ,
 
)
inherited

◆ Clear()

void CbmL1TrdTrackFinderSts::Clear ( const Option_t *  a = 0)
privatevirtual

Definition at line 570 of file CbmL1TrdTrackFinderSts.cxx.

References fvTrdTrack, and CbmTrack::GetFlag().

Referenced by ProcessAllStations().

◆ CompareChi2()

static Bool_t CbmL1TrdTrackFinderSts::CompareChi2 ( const CbmTrdTrack a,
const CbmTrdTrack b 
)
inlinestatic

Definition at line 85 of file CbmL1TrdTrackFinderSts.h.

References CbmTrack::GetChiSq(), and CbmTrack::GetNDF().

Referenced by RemoveFakes().

◆ CreateHistogramms()

◆ DataBranches()

void CbmL1TrdTrackFinderSts::DataBranches ( )
private

Definition at line 786 of file CbmL1TrdTrackFinderSts.cxx.

References fArrayStsTrack, fArrayStsTrackM, fArrayTrdPoint, and rootMgr.

Referenced by Init().

◆ DoFind()

Int_t CbmL1TrdTrackFinderSts::DoFind ( TClonesArray *  hitArray,
TClonesArray *  trackArray 
)
virtual

Abstract method DoFind. To be implemented in the concrete class. Task: Read the hit array and fill the track array, pointers to which are given as arguments

Parameters
hitArrayArray of TRD hits
trackArrayArray of CbmTrdTrack

@value Number of tracks created

Implements CbmTrdTrackFinder.

Definition at line 190 of file CbmL1TrdTrackFinderSts.cxx.

References fArrayKFTrdHit, fArrayStsTrack, fArrayTrdHit, fArrayTrdTrack, fEvents, fLostTracks, fmapHitUsed, fVerbose, Process(), and SortTrdHits().

◆ GetChi2Hit()

Double_t CbmL1TrdTrackFinderSts::GetChi2Hit ( CbmKFTrack track,
CbmTrdHit pHit 
)
private

◆ Init()

void CbmL1TrdTrackFinderSts::Init ( )
virtual

Virtual method Init. If needed, to be implemented in the concrete class. Else no action.

Reimplemented from CbmTrdTrackFinder.

Definition at line 174 of file CbmL1TrdTrackFinderSts.cxx.

References CreateHistogramms(), DataBranches(), and TrdLayout().

◆ MoveOut()

void CbmL1TrdTrackFinderSts::MoveOut ( )
private

Definition at line 362 of file CbmL1TrdTrackFinderSts.cxx.

References fArrayTrdTrack, fvTrdTrack, and CbmTrack::GetFlag().

Referenced by Process().

◆ operator=()

CbmL1TrdTrackFinderSts CbmL1TrdTrackFinderSts::operator= ( const CbmL1TrdTrackFinderSts )
private

◆ Overlap()

Bool_t CbmL1TrdTrackFinderSts::Overlap ( CbmKFTrack track,
CbmTrdHit pHit 
)
private

◆ Process()

void CbmL1TrdTrackFinderSts::Process ( )
private

Definition at line 243 of file CbmL1TrdTrackFinderSts.cxx.

References MoveOut(), ProcessAllStations(), and Sts2Trd().

Referenced by DoFind().

◆ ProcessAllStations()

void CbmL1TrdTrackFinderSts::ProcessAllStations ( )
private

Definition at line 338 of file CbmL1TrdTrackFinderSts.cxx.

References Clear(), fNoTrdStations, fVerbose, fvTrdTrack, ProcessStation(), and UpdateTrack().

Referenced by Process().

◆ ProcessStation()

◆ RemoveFakes()

void CbmL1TrdTrackFinderSts::RemoveFakes ( )
private

◆ SetVerbose()

void CbmL1TrdTrackFinderSts::SetVerbose ( Int_t  verbose)
inline

Definition at line 83 of file CbmL1TrdTrackFinderSts.h.

References fVerbose.

◆ SortTrdHits()

void CbmL1TrdTrackFinderSts::SortTrdHits ( )
private

◆ Sts2Trd()

void CbmL1TrdTrackFinderSts::Sts2Trd ( Double_t  pmin,
Double_t  pmax,
Double_t  chi2min,
Double_t  chi2max 
)
private

◆ TrdLayout()

void CbmL1TrdTrackFinderSts::TrdLayout ( )
private

Definition at line 822 of file CbmL1TrdTrackFinderSts.cxx.

References fNoTrdPerStation, and fNoTrdStations.

Referenced by Init().

◆ UpdateTrack()

◆ WriteHistogramms()

Member Data Documentation

◆ fArrayKFTrdHit

TClonesArray* CbmL1TrdTrackFinderSts::fArrayKFTrdHit
private

Definition at line 35 of file CbmL1TrdTrackFinderSts.h.

Referenced by DoFind(), SortTrdHits(), UpdateTrack(), and ~CbmL1TrdTrackFinderSts().

◆ fArrayStsTrack

TClonesArray* CbmL1TrdTrackFinderSts::fArrayStsTrack
private

Definition at line 33 of file CbmL1TrdTrackFinderSts.h.

Referenced by DataBranches(), DoFind(), and Sts2Trd().

◆ fArrayStsTrackM

TClonesArray* CbmL1TrdTrackFinderSts::fArrayStsTrackM
private

Definition at line 34 of file CbmL1TrdTrackFinderSts.h.

Referenced by DataBranches(), and ProcessStation().

◆ fArrayTrdHit

TClonesArray* CbmL1TrdTrackFinderSts::fArrayTrdHit
private

Definition at line 32 of file CbmL1TrdTrackFinderSts.h.

Referenced by DoFind(), ProcessStation(), SortTrdHits(), and UpdateTrack().

◆ fArrayTrdPoint

TClonesArray* CbmL1TrdTrackFinderSts::fArrayTrdPoint
private

Definition at line 31 of file CbmL1TrdTrackFinderSts.h.

Referenced by DataBranches(), and ProcessStation().

◆ fArrayTrdTrack

TClonesArray* CbmL1TrdTrackFinderSts::fArrayTrdTrack
private

Definition at line 37 of file CbmL1TrdTrackFinderSts.h.

Referenced by DoFind(), MoveOut(), and ~CbmL1TrdTrackFinderSts().

◆ fEvents

Int_t CbmL1TrdTrackFinderSts::fEvents
private

Definition at line 29 of file CbmL1TrdTrackFinderSts.h.

Referenced by DoFind().

◆ fh_chi2hit

TH1F* CbmL1TrdTrackFinderSts::fh_chi2hit
private

Definition at line 44 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_chi2hit_plane

TH2F* CbmL1TrdTrackFinderSts::fh_chi2hit_plane
private

Definition at line 45 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_pullx_plane_fake

TH2F* CbmL1TrdTrackFinderSts::fh_pullx_plane_fake
private

Definition at line 54 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_pullx_plane_true

TH2F* CbmL1TrdTrackFinderSts::fh_pullx_plane_true
private

Definition at line 52 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_pully_plane_fake

TH2F* CbmL1TrdTrackFinderSts::fh_pully_plane_fake
private

Definition at line 55 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_pully_plane_true

TH2F* CbmL1TrdTrackFinderSts::fh_pully_plane_true
private

Definition at line 53 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_resx_mom_true

TH2F* CbmL1TrdTrackFinderSts::fh_resx_mom_true
private

Definition at line 50 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), and WriteHistogramms().

◆ fh_resx_plane_fake

TH2F* CbmL1TrdTrackFinderSts::fh_resx_plane_fake
private

Definition at line 48 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_resx_plane_true

TH2F* CbmL1TrdTrackFinderSts::fh_resx_plane_true
private

Definition at line 46 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_resy_mom_true

TH2F* CbmL1TrdTrackFinderSts::fh_resy_mom_true
private

Definition at line 51 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), and WriteHistogramms().

◆ fh_resy_plane_fake

TH2F* CbmL1TrdTrackFinderSts::fh_resy_plane_fake
private

Definition at line 49 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fh_resy_plane_true

TH2F* CbmL1TrdTrackFinderSts::fh_resy_plane_true
private

Definition at line 47 of file CbmL1TrdTrackFinderSts.h.

Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().

◆ fLostTracks

std::map<Int_t, Bool_t> CbmL1TrdTrackFinderSts::fLostTracks
private

Definition at line 56 of file CbmL1TrdTrackFinderSts.h.

Referenced by DoFind(), and ProcessStation().

◆ fmapHitUsed

std::map<Int_t, Bool_t> CbmL1TrdTrackFinderSts::fmapHitUsed
private

Definition at line 43 of file CbmL1TrdTrackFinderSts.h.

Referenced by DoFind(), ProcessStation(), and RemoveFakes().

◆ fNoTrdHits

Int_t CbmL1TrdTrackFinderSts::fNoTrdHits[12]
private

Definition at line 41 of file CbmL1TrdTrackFinderSts.h.

Referenced by ProcessStation(), and SortTrdHits().

◆ fNoTrdPerStation

Int_t CbmL1TrdTrackFinderSts::fNoTrdPerStation
private

Definition at line 40 of file CbmL1TrdTrackFinderSts.h.

Referenced by ProcessStation(), SortTrdHits(), TrdLayout(), and UpdateTrack().

◆ fNoTrdStations

Int_t CbmL1TrdTrackFinderSts::fNoTrdStations
private

Definition at line 39 of file CbmL1TrdTrackFinderSts.h.

Referenced by ProcessAllStations(), SortTrdHits(), TrdLayout(), and UpdateTrack().

◆ fPid

Int_t CbmL1TrdTrackFinderSts::fPid
private

Definition at line 38 of file CbmL1TrdTrackFinderSts.h.

Referenced by ProcessStation(), and UpdateTrack().

◆ fTrdHitIndex

Int_t CbmL1TrdTrackFinderSts::fTrdHitIndex[12][10000]
private

Definition at line 42 of file CbmL1TrdTrackFinderSts.h.

Referenced by ProcessStation(), and SortTrdHits().

◆ fVerbose

Int_t CbmL1TrdTrackFinderSts::fVerbose
private

◆ fvTrdTrack

std::vector<CbmTrdTrack*> CbmL1TrdTrackFinderSts::fvTrdTrack
private

Definition at line 36 of file CbmL1TrdTrackFinderSts.h.

Referenced by Clear(), MoveOut(), ProcessAllStations(), RemoveFakes(), and Sts2Trd().


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