CbmRoot
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. More...
 
virtual ~CbmRichTrainAnnSelect ()
 Destructor. More...
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void Exec (Option_t *option)
 Inherited from FairTask. More...
 
virtual void FinishTask ()
 Inherited from FairTask. More...
 

Private Member Functions

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

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 52 of file CbmRichTrainAnnSelect.h.

Constructor & Destructor Documentation

◆ CbmRichTrainAnnSelect() [1/2]

CbmRichTrainAnnSelect::CbmRichTrainAnnSelect ( )

Default constructor.

Definition at line 37 of file CbmRichTrainAnnSelect.cxx.

References fhAngle, fhAnnOutput, fhChi2, fhCumProb, fHists, fhNofHits, fhNofHitsOnRing, fhRadius, fhRadPos, fRSParams, and i.

◆ ~CbmRichTrainAnnSelect()

CbmRichTrainAnnSelect::~CbmRichTrainAnnSelect ( )
virtual

Destructor.

Definition at line 136 of file CbmRichTrainAnnSelect.cxx.

◆ CbmRichTrainAnnSelect() [2/2]

CbmRichTrainAnnSelect::CbmRichTrainAnnSelect ( const CbmRichTrainAnnSelect )
private

Copy constructor.

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 167 of file CbmRichTrainAnnSelect.cxx.

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

◆ FinishTask()

void CbmRichTrainAnnSelect::FinishTask ( )
virtual

Inherited from FairTask.

Definition at line 451 of file CbmRichTrainAnnSelect.cxx.

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

◆ Init()

InitStatus CbmRichTrainAnnSelect::Init ( )
virtual

Inherited from FairTask.

Definition at line 138 of file CbmRichTrainAnnSelect.cxx.

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

◆ operator=()

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

Assignment operator.

◆ SetRecFlag()

void CbmRichTrainAnnSelect::SetRecFlag ( )
private

◆ TrainAndTestAnn()

void CbmRichTrainAnnSelect::TrainAndTestAnn ( )
private

Train and test ANN.

Definition at line 267 of file CbmRichTrainAnnSelect.cxx.

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

Referenced by FinishTask().

Member Data Documentation

◆ fAnnCut

Double_t CbmRichTrainAnnSelect::fAnnCut
private

Definition at line 89 of file CbmRichTrainAnnSelect.h.

Referenced by Draw(), and TrainAndTestAnn().

◆ fEventNumber

Int_t CbmRichTrainAnnSelect::fEventNumber
private

Definition at line 84 of file CbmRichTrainAnnSelect.h.

Referenced by Exec().

◆ fFitCOP

CbmRichRingFitterCOP* CbmRichTrainAnnSelect::fFitCOP
private

Definition at line 109 of file CbmRichTrainAnnSelect.h.

Referenced by DiffFakeTrueCircle(), FinishTask(), and Init().

◆ fhAngle

vector<TH1D*> CbmRichTrainAnnSelect::fhAngle
private

Definition at line 94 of file CbmRichTrainAnnSelect.h.

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

◆ fhAnnOutput

vector<TH1D*> CbmRichTrainAnnSelect::fhAnnOutput
private

Definition at line 102 of file CbmRichTrainAnnSelect.h.

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

◆ fhChi2

vector<TH1D*> CbmRichTrainAnnSelect::fhChi2
private

Definition at line 96 of file CbmRichTrainAnnSelect.h.

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

◆ fhCumProb

vector<TH1D*> CbmRichTrainAnnSelect::fhCumProb
private

Definition at line 103 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), and Draw().

◆ fHists

vector<TH1*> CbmRichTrainAnnSelect::fHists
private

Definition at line 112 of file CbmRichTrainAnnSelect.h.

Referenced by CbmRichTrainAnnSelect(), and FinishTask().

◆ fhNofHits

vector<TH1D*> CbmRichTrainAnnSelect::fhNofHits
private

Definition at line 93 of file CbmRichTrainAnnSelect.h.

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

◆ fhNofHitsOnRing

vector<TH1D*> CbmRichTrainAnnSelect::fhNofHitsOnRing
private

Definition at line 95 of file CbmRichTrainAnnSelect.h.

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

◆ fhRadius

vector<TH1D*> CbmRichTrainAnnSelect::fhRadius
private

Definition at line 98 of file CbmRichTrainAnnSelect.h.

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

◆ fhRadPos

vector<TH1D*> CbmRichTrainAnnSelect::fhRadPos
private

Definition at line 97 of file CbmRichTrainAnnSelect.h.

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

◆ fMaxNofTrainSamples

UInt_t CbmRichTrainAnnSelect::fMaxNofTrainSamples
private

Definition at line 86 of file CbmRichTrainAnnSelect.h.

Referenced by TrainAndTestAnn().

◆ fMcTracks

TClonesArray* CbmRichTrainAnnSelect::fMcTracks
private

Definition at line 81 of file CbmRichTrainAnnSelect.h.

Referenced by Init(), and SetRecFlag().

◆ fNofFakeLikeTrue

Int_t CbmRichTrainAnnSelect::fNofFakeLikeTrue
private

Definition at line 87 of file CbmRichTrainAnnSelect.h.

Referenced by Draw(), and TrainAndTestAnn().

◆ fNofTrueLikeFake

Int_t CbmRichTrainAnnSelect::fNofTrueLikeFake
private

Definition at line 88 of file CbmRichTrainAnnSelect.h.

Referenced by Draw(), and TrainAndTestAnn().

◆ fQuota

Double_t CbmRichTrainAnnSelect::fQuota
private

Definition at line 85 of file CbmRichTrainAnnSelect.h.

Referenced by SetRecFlag().

◆ fRichRingMatches

TClonesArray* CbmRichTrainAnnSelect::fRichRingMatches
private

Definition at line 82 of file CbmRichTrainAnnSelect.h.

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

◆ fRichRings

TClonesArray* CbmRichTrainAnnSelect::fRichRings
private

Definition at line 80 of file CbmRichTrainAnnSelect.h.

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

◆ fRSParams

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

◆ fSelectImpl

CbmRichRingSelectImpl* CbmRichTrainAnnSelect::fSelectImpl
private

Definition at line 110 of file CbmRichTrainAnnSelect.h.

Referenced by DiffFakeTrueCircle(), FinishTask(), and Init().


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