EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Train ANN for electron identification in RICH. More...
#include <EicRoot/blob/master/rich/CbmRichTrainAnnElectrons.h>
Public Member Functions | |
CbmRichTrainAnnElectrons () | |
Default constructor. | |
virtual | ~CbmRichTrainAnnElectrons () |
Destructor. | |
virtual InitStatus | Init () |
Inherited from FairTask. | |
virtual void | Exec (Option_t *option) |
Inherited from FairTask. | |
virtual void | FinishTask () |
Inherited from FairTask. | |
Public Member Functions inherited from FairTask | |
FairTask () | |
FairTask (const char *name, Int_t iVerbose=1) | |
virtual | ~FairTask () |
void | InitTask () |
void | ReInitTask () |
void | SetParTask () |
virtual void | FinishEvent () |
void | SetVerbose (Int_t iVerbose) |
void | SetInputPersistance (Bool_t val) |
void | CheckInputPersistance (TString branchName) |
Private Member Functions | |
void | DiffElandPi () |
Fill input parameters for ANN in array and histograms. | |
void | TrainAndTestAnn () |
Train and test ANN. | |
void | Draw () |
Draw results. | |
CbmRichTrainAnnElectrons (const CbmRichTrainAnnElectrons &) | |
Copy constructor. | |
CbmRichTrainAnnElectrons & | operator= (const CbmRichTrainAnnElectrons &) |
Assignment operator. | |
Private Attributes | |
Int_t | fEventNum |
TClonesArray * | fRichHits |
TClonesArray * | fRichRings |
TClonesArray * | fRichPoints |
TClonesArray * | fMCTracks |
TClonesArray * | fRichRingMatches |
TClonesArray * | fRichProj |
TClonesArray * | fStsTrackMatches |
TClonesArray * | fGlobalTracks |
TClonesArray * | fStsTracks |
Int_t | fMinNofHitsInRichRing |
Double_t | fQuota |
Int_t | fMaxNofTrainSamples |
Int_t | fNofPiLikeEl |
Int_t | fNofElLikePi |
Double_t | fAnnCut |
vector< TH1D * > | fhAnnOutput |
vector< TH1D * > | fhCumProb |
vector< vector < RingElectronParam > > | fRElIdParams |
vector< TH1D * > | fhAaxis |
vector< TH1D * > | fhBaxis |
vector< TH1D * > | fhDistTrueMatch |
vector< TH1D * > | fhDistMisMatch |
vector< TH1D * > | fhNofHits |
vector< TH1D * > | fhChi2 |
vector< TH1D * > | fhRadPos |
vector< TH2D * > | fhAaxisVsMom |
vector< TH2D * > | fhBaxisVsMom |
vector< TH2D * > | fhPhiVsRadAng |
vector< TH1 * > | fHists |
Additional Inherited Members | |
Protected Member Functions inherited from FairTask | |
virtual InitStatus | ReInit () |
virtual void | SetParContainers () |
virtual void | Finish () |
void | InitTasks () |
void | ReInitTasks () |
void | SetParTasks () |
void | FinishTasks () |
void | FinishEvents () |
Protected Attributes inherited from FairTask | |
Int_t | fVerbose |
Int_t | fInputPersistance |
Indicates if input branch is persistant. | |
FairLogger * | fLogger |
Train ANN for electron identification in RICH.
Definition at line 56 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 56 of file CbmRichTrainAnnElectrons.h
CbmRichTrainAnnElectrons::CbmRichTrainAnnElectrons | ( | ) |
Default constructor.
Definition at line 44 of file CbmRichTrainAnnElectrons.cxx.
View newest version in sPHENIX GitHub at line 44 of file CbmRichTrainAnnElectrons.cxx
References fhAaxis, fhAaxisVsMom, fhAnnOutput, fhBaxis, fhBaxisVsMom, fhChi2, fhCumProb, fhDistMisMatch, fhDistTrueMatch, fHists, fhNofHits, fhPhiVsRadAng, fhRadPos, and fRElIdParams.
|
virtual |
Destructor.
Definition at line 137 of file CbmRichTrainAnnElectrons.cxx.
View newest version in sPHENIX GitHub at line 137 of file CbmRichTrainAnnElectrons.cxx
|
private |
Copy constructor.
|
private |
Fill input parameters for ANN in array and histograms.
Definition at line 189 of file CbmRichTrainAnnElectrons.cxx.
View newest version in sPHENIX GitHub at line 189 of file CbmRichTrainAnnElectrons.cxx
References RingElectronParam::fAaxis, RingElectronParam::fBaxis, RingElectronParam::fChi2, RingElectronParam::fDistance, fGlobalTracks, fhAaxis, fhAaxisVsMom, fhBaxis, fhBaxisVsMom, fhChi2, fhDistMisMatch, fhDistTrueMatch, fhNofHits, fhPhiVsRadAng, fhRadPos, fMCTracks, RingElectronParam::fMomentum, RingElectronParam::fNofHits, RingElectronParam::fPhi, fQuota, RingElectronParam::fRadAngle, RingElectronParam::fRadPos, fRElIdParams, fRichRingMatches, fRichRings, fStsTrackMatches, fStsTracks, CbmRichRing::GetAaxis(), CbmRichRing::GetAaxisCor(), CbmRichRing::GetBaxis(), CbmRichRing::GetBaxisCor(), CbmRichRing::GetChi2(), CbmRichRing::GetDistance(), CbmTrackMatch::GetMCTrackId(), CbmMCTrack::GetMotherId(), CbmRichRing::GetNDF(), CbmTrackMatch::GetNofFakeHits(), CbmRichRing::GetNofHits(), CbmTrackMatch::GetNofTrueHits(), CbmTrackMatch::GetNofWrongHits(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), CbmRichRing::GetPhi(), CbmRichRing::GetRadialAngle(), CbmRichRing::GetRadialPosition(), CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), momentum, p, and pdg.
Referenced by Exec().
|
private |
Draw results.
Definition at line 367 of file CbmRichTrainAnnElectrons.cxx.
View newest version in sPHENIX GitHub at line 367 of file CbmRichTrainAnnElectrons.cxx
References c, c1, c2, c3, c4, DrawH1(), DrawH2(), fAnnCut, fhAaxis, fhAaxisVsMom, fhAnnOutput, fhBaxis, fhBaxisVsMom, fhChi2, fhCumProb, fhDistMisMatch, fhDistTrueMatch, fhNofHits, fhPhiVsRadAng, fhRadPos, fNofElLikePi, fNofPiLikeEl, fRElIdParams, kLinear, kLog, and SetDefaultDrawStyle().
Referenced by FinishTask().
|
virtual |
Inherited from FairTask.
Definition at line 179 of file CbmRichTrainAnnElectrons.cxx.
View newest version in sPHENIX GitHub at line 179 of file CbmRichTrainAnnElectrons.cxx
References DiffElandPi(), fEventNum, and fRElIdParams.
|
virtual |
Inherited from FairTask.
Reimplemented from FairTask.
Definition at line 463 of file CbmRichTrainAnnElectrons.cxx.
View newest version in sPHENIX GitHub at line 463 of file CbmRichTrainAnnElectrons.cxx
References Draw(), fHists, and TrainAndTestAnn().
|
virtual |
Inherited from FairTask.
Reimplemented from FairTask.
Definition at line 142 of file CbmRichTrainAnnElectrons.cxx.
View newest version in sPHENIX GitHub at line 142 of file CbmRichTrainAnnElectrons.cxx
References fGlobalTracks, fMCTracks, fRichHits, fRichPoints, fRichProj, fRichRingMatches, fRichRings, fStsTrackMatches, fStsTracks, FairRootManager::GetObject(), FairRootManager::Instance(), and kSUCCESS.
|
private |
Assignment operator.
|
private |
Train and test ANN.
Definition at line 286 of file CbmRichTrainAnnElectrons.cxx.
View newest version in sPHENIX GitHub at line 286 of file CbmRichTrainAnnElectrons.cxx
References fAnnCut, fhAnnOutput, fMaxNofTrainSamples, fNofElLikePi, fNofPiLikeEl, fRElIdParams, k, and x.
Referenced by FinishTask().
|
private |
Definition at line 104 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 104 of file CbmRichTrainAnnElectrons.h
Referenced by Draw(), and TrainAndTestAnn().
|
private |
Definition at line 87 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 87 of file CbmRichTrainAnnElectrons.h
Referenced by Exec().
|
private |
Definition at line 95 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 95 of file CbmRichTrainAnnElectrons.h
Referenced by DiffElandPi(), and Init().
|
private |
Definition at line 116 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 116 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 125 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 125 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 107 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 107 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), Draw(), and TrainAndTestAnn().
|
private |
Definition at line 117 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 117 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 126 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 126 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 123 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 123 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 108 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 108 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), and Draw().
|
private |
Definition at line 121 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 121 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 120 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 120 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 129 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 129 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), and FinishTask().
|
private |
Definition at line 122 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 122 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 127 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 127 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 124 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 124 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), and Draw().
|
private |
Definition at line 100 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 100 of file CbmRichTrainAnnElectrons.h
Referenced by TrainAndTestAnn().
|
private |
Definition at line 91 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 91 of file CbmRichTrainAnnElectrons.h
Referenced by DiffElandPi(), and Init().
|
private |
Definition at line 98 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 98 of file CbmRichTrainAnnElectrons.h
|
private |
Definition at line 103 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 103 of file CbmRichTrainAnnElectrons.h
Referenced by Draw(), and TrainAndTestAnn().
|
private |
Definition at line 102 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 102 of file CbmRichTrainAnnElectrons.h
Referenced by Draw(), and TrainAndTestAnn().
|
private |
Definition at line 99 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 99 of file CbmRichTrainAnnElectrons.h
Referenced by DiffElandPi().
|
private |
Definition at line 112 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 112 of file CbmRichTrainAnnElectrons.h
Referenced by CbmRichTrainAnnElectrons(), DiffElandPi(), Draw(), Exec(), and TrainAndTestAnn().
|
private |
Definition at line 88 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 88 of file CbmRichTrainAnnElectrons.h
Referenced by Init().
|
private |
Definition at line 90 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 90 of file CbmRichTrainAnnElectrons.h
Referenced by Init().
|
private |
Definition at line 93 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 93 of file CbmRichTrainAnnElectrons.h
Referenced by Init().
|
private |
Definition at line 92 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 92 of file CbmRichTrainAnnElectrons.h
Referenced by DiffElandPi(), and Init().
|
private |
Definition at line 89 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 89 of file CbmRichTrainAnnElectrons.h
Referenced by DiffElandPi(), and Init().
|
private |
Definition at line 94 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 94 of file CbmRichTrainAnnElectrons.h
Referenced by DiffElandPi(), and Init().
|
private |
Definition at line 96 of file CbmRichTrainAnnElectrons.h.
View newest version in sPHENIX GitHub at line 96 of file CbmRichTrainAnnElectrons.h
Referenced by DiffElandPi(), and Init().