CbmRoot
Loading...
Searching...
No Matches
CbmRichTrainAnnSelect Class Reference

Train ANN for fake rejection. More...

#include <CbmRichTrainAnnSelect.h>

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

Public Member Functions

 CbmRichTrainAnnSelect ()
 Default constructor.
 
virtual ~CbmRichTrainAnnSelect ()
 Destructor.
 
virtual InitStatus Init ()
 Inherited from FairTask.
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
virtual void FinishTask ()
 Inherited from FairTask.
 

Private Member Functions

void SetRecFlag ()
 Set recFlag weather ring was found correctly or not.
 
void DiffFakeTrueCircle ()
 Fill ring selection parameters in array and histograms.
 
void TrainAndTestAnn ()
 Train and test ANN.
 
void Draw (Option_t *="")
 Draw results.
 
 CbmRichTrainAnnSelect (const CbmRichTrainAnnSelect &)
 Copy constructor.
 
CbmRichTrainAnnSelectoperator= (const CbmRichTrainAnnSelect &)
 Assignment operator.
 

Private Attributes

TClonesArray * fRichRings
 
TClonesArray * fMcTracks
 
TClonesArray * fRichRingMatches
 
Int_t fEventNumber
 
Double_t fQuota
 
UInt_t fMaxNofTrainSamples
 
Int_t fNofFakeLikeTrue
 
Int_t fNofTrueLikeFake
 
Double_t fAnnCut
 
vector< TH1D * > fhNofHits
 
vector< TH1D * > fhAngle
 
vector< TH1D * > fhNofHitsOnRing
 
vector< TH1D * > fhChi2
 
vector< TH1D * > fhRadPos
 
vector< TH1D * > fhRadius
 
vector< TH1D * > fhAnnOutput
 
vector< TH1D * > fhCumProb
 
vector< vector< RingSelectParam > > fRSParams
 
CbmRichRingFitterCOPfFitCOP
 
CbmRichRingSelectImplfSelectImpl
 
vector< TH1 * > fHists
 

Detailed Description

Train ANN for fake rejection.

Author
Semen Lebedev s.leb.nosp@m.edev.nosp@m.@gsi..nosp@m.de
Date
2005

Definition at line 59 of file CbmRichTrainAnnSelect.h.

Constructor & Destructor Documentation

◆ CbmRichTrainAnnSelect() [1/2]

◆ ~CbmRichTrainAnnSelect()

CbmRichTrainAnnSelect::~CbmRichTrainAnnSelect ( )
virtual

Destructor.

Definition at line 114 of file CbmRichTrainAnnSelect.cxx.

◆ CbmRichTrainAnnSelect() [2/2]

CbmRichTrainAnnSelect::CbmRichTrainAnnSelect ( const CbmRichTrainAnnSelect & )
private

Copy constructor.

References CbmRichTrainAnnSelect().

Member Function Documentation

◆ DiffFakeTrueCircle()

◆ Draw()

void CbmRichTrainAnnSelect::Draw ( Option_t * = "")
private

◆ Exec()

void CbmRichTrainAnnSelect::Exec ( Option_t * option)
virtual

Inherited from FairTask.

Definition at line 146 of file CbmRichTrainAnnSelect.cxx.

References DiffFakeTrueCircle(), fEventNumber, fRSParams, and SetRecFlag().

◆ FinishTask()

void CbmRichTrainAnnSelect::FinishTask ( )
virtual

Inherited from FairTask.

Definition at line 369 of file CbmRichTrainAnnSelect.cxx.

References Draw(), fFitCOP, fHists, fSelectImpl, and TrainAndTestAnn().

◆ Init()

InitStatus CbmRichTrainAnnSelect::Init ( )
virtual

Inherited from FairTask.

Definition at line 116 of file CbmRichTrainAnnSelect.cxx.

References fFitCOP, fMcTracks, fRichRingMatches, fRichRings, fSelectImpl, and CbmRichConverter::Init().

◆ operator=()

CbmRichTrainAnnSelect & CbmRichTrainAnnSelect::operator= ( const CbmRichTrainAnnSelect & )
private

Assignment operator.

References CbmRichTrainAnnSelect().

◆ SetRecFlag()

void CbmRichTrainAnnSelect::SetRecFlag ( )
private

◆ TrainAndTestAnn()

void CbmRichTrainAnnSelect::TrainAndTestAnn ( )
private

Train and test ANN.

Definition at line 248 of file CbmRichTrainAnnSelect.cxx.

References fAnnCut, fhAnnOutput, fMaxNofTrainSamples, fNofFakeLikeTrue, fNofTrueLikeFake, fRSParams, and x.

Referenced by FinishTask().

Member Data Documentation

◆ fAnnCut

Double_t CbmRichTrainAnnSelect::fAnnCut
private

Definition at line 96 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), Draw(), and TrainAndTestAnn().

◆ fEventNumber

Int_t CbmRichTrainAnnSelect::fEventNumber
private

Definition at line 91 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), and Exec().

◆ fFitCOP

CbmRichRingFitterCOP* CbmRichTrainAnnSelect::fFitCOP
private

◆ fhAngle

vector<TH1D*> CbmRichTrainAnnSelect::fhAngle
private

Definition at line 101 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), DiffFakeTrueCircle(), and Draw().

◆ fhAnnOutput

vector<TH1D*> CbmRichTrainAnnSelect::fhAnnOutput
private

Definition at line 109 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), Draw(), and TrainAndTestAnn().

◆ fhChi2

vector<TH1D*> CbmRichTrainAnnSelect::fhChi2
private

Definition at line 103 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), DiffFakeTrueCircle(), and Draw().

◆ fhCumProb

vector<TH1D*> CbmRichTrainAnnSelect::fhCumProb
private

Definition at line 110 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), and Draw().

◆ fHists

vector<TH1*> CbmRichTrainAnnSelect::fHists
private

Definition at line 119 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), and FinishTask().

◆ fhNofHits

vector<TH1D*> CbmRichTrainAnnSelect::fhNofHits
private

Definition at line 100 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), DiffFakeTrueCircle(), and Draw().

◆ fhNofHitsOnRing

vector<TH1D*> CbmRichTrainAnnSelect::fhNofHitsOnRing
private

Definition at line 102 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), DiffFakeTrueCircle(), and Draw().

◆ fhRadius

vector<TH1D*> CbmRichTrainAnnSelect::fhRadius
private

Definition at line 105 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), DiffFakeTrueCircle(), and Draw().

◆ fhRadPos

vector<TH1D*> CbmRichTrainAnnSelect::fhRadPos
private

Definition at line 104 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), DiffFakeTrueCircle(), and Draw().

◆ fMaxNofTrainSamples

UInt_t CbmRichTrainAnnSelect::fMaxNofTrainSamples
private

Definition at line 93 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), and TrainAndTestAnn().

◆ fMcTracks

TClonesArray* CbmRichTrainAnnSelect::fMcTracks
private

Definition at line 88 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), Init(), and SetRecFlag().

◆ fNofFakeLikeTrue

Int_t CbmRichTrainAnnSelect::fNofFakeLikeTrue
private

Definition at line 94 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), Draw(), and TrainAndTestAnn().

◆ fNofTrueLikeFake

Int_t CbmRichTrainAnnSelect::fNofTrueLikeFake
private

Definition at line 95 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), Draw(), and TrainAndTestAnn().

◆ fQuota

Double_t CbmRichTrainAnnSelect::fQuota
private

Definition at line 92 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), and SetRecFlag().

◆ fRichRingMatches

TClonesArray* CbmRichTrainAnnSelect::fRichRingMatches
private

◆ fRichRings

TClonesArray* CbmRichTrainAnnSelect::fRichRings
private

◆ fRSParams

vector<vector<RingSelectParam> > CbmRichTrainAnnSelect::fRSParams
private

◆ fSelectImpl

CbmRichRingSelectImpl* CbmRichTrainAnnSelect::fSelectImpl
private

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