CbmRoot
|
#include <CbmKresTrainAnnDirectPhotons.h>
Public Member Functions | |
CbmKresTrainAnnDirectPhotons () | |
virtual | ~CbmKresTrainAnnDirectPhotons () |
void | Init () |
void | InitHistograms () |
void | Exec (int event, int IdForANN, double InvariantMass, double OpeningAngle, double PlaneAngle_last, double ZPos, TVector3 Momentum1, TVector3 Momentum2) |
void | TrainAndTestAnn () |
void | Draw () |
Private Member Functions | |
CbmKresTrainAnnDirectPhotons (const CbmKresTrainAnnDirectPhotons &) | |
CbmKresTrainAnnDirectPhotons | operator= (const CbmKresTrainAnnDirectPhotons &) |
Private Attributes | |
unsigned int | fMaxNofTrainSamples |
double | fAnnCut |
int | fNofWrongLikeCorrect |
int | fNofCorrectLikeWrong |
vector< double > | IM_correct |
vector< double > | OA_correct |
vector< double > | Angle_correct |
vector< double > | Z_correct |
vector< double > | Mom1_correct |
vector< double > | Mom2_correct |
vector< double > | IM_wrong |
vector< double > | OA_wrong |
vector< double > | Angle_wrong |
vector< double > | Z_wrong |
vector< double > | Mom1_wrong |
vector< double > | Mom2_wrong |
vector< TH1 * > | fHists |
TH1D * | fhAnnOutput_correct |
TH1D * | fhAnnOutput_wrong |
TH1D * | fhCumProb_correct |
TH1D * | fhCumProb_wrong |
Definition at line 12 of file CbmKresTrainAnnDirectPhotons.h.
CbmKresTrainAnnDirectPhotons::CbmKresTrainAnnDirectPhotons | ( | ) |
Definition at line 40 of file CbmKresTrainAnnDirectPhotons.cxx.
|
virtual |
Definition at line 63 of file CbmKresTrainAnnDirectPhotons.cxx.
|
private |
void CbmKresTrainAnnDirectPhotons::Draw | ( | ) |
Definition at line 227 of file CbmKresTrainAnnDirectPhotons.cxx.
References fhAnnOutput_correct, fhAnnOutput_wrong, fhCumProb_correct, fhCumProb_wrong, fNofCorrectLikeWrong, fNofWrongLikeCorrect, i, IM_correct, and IM_wrong.
Referenced by Exec().
void CbmKresTrainAnnDirectPhotons::Exec | ( | int | event, |
int | IdForANN, | ||
double | InvariantMass, | ||
double | OpeningAngle, | ||
double | PlaneAngle_last, | ||
double | ZPos, | ||
TVector3 | Momentum1, | ||
TVector3 | Momentum2 | ||
) |
Definition at line 67 of file CbmKresTrainAnnDirectPhotons.cxx.
References Angle_correct, Angle_wrong, Draw(), fMaxNofTrainSamples, IM_correct, IM_wrong, Mom1_correct, Mom1_wrong, Mom2_correct, Mom2_wrong, OA_correct, OA_wrong, TrainAndTestAnn(), Z_correct, and Z_wrong.
Referenced by CbmKresConversionPhotons::FindGammasOutside(), CbmKresConversionCorrectedPhotons::FindGammasOutside(), CbmKresConversionPhotons::FindGammasTarget(), and CbmKresConversionCorrectedPhotons::FindGammasTarget().
void CbmKresTrainAnnDirectPhotons::Init | ( | ) |
Definition at line 65 of file CbmKresTrainAnnDirectPhotons.cxx.
References InitHistograms().
Referenced by CbmKresConversionPhotons::Init(), and CbmKresConversionCorrectedPhotons::Init().
void CbmKresTrainAnnDirectPhotons::InitHistograms | ( | ) |
Definition at line 273 of file CbmKresTrainAnnDirectPhotons.cxx.
References fhAnnOutput_correct, fhAnnOutput_wrong, fhCumProb_correct, fhCumProb_wrong, and fHists.
Referenced by Init().
|
private |
void CbmKresTrainAnnDirectPhotons::TrainAndTestAnn | ( | ) |
Definition at line 124 of file CbmKresTrainAnnDirectPhotons.cxx.
References Angle_correct, Angle_wrong, fAnnCut, fhAnnOutput_correct, fhAnnOutput_wrong, fMaxNofTrainSamples, fNofCorrectLikeWrong, fNofWrongLikeCorrect, i, IM_correct, IM_wrong, Mom1_correct, Mom1_wrong, Mom2_correct, Mom2_wrong, OA_correct, OA_wrong, x, Z_correct, and Z_wrong.
Referenced by Exec().
|
private |
Definition at line 44 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 50 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 38 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by TrainAndTestAnn().
|
private |
Definition at line 56 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Draw(), InitHistograms(), and TrainAndTestAnn().
|
private |
Definition at line 57 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Draw(), InitHistograms(), and TrainAndTestAnn().
|
private |
Definition at line 58 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Draw(), and InitHistograms().
|
private |
Definition at line 59 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Draw(), and InitHistograms().
|
private |
Definition at line 55 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by InitHistograms().
|
private |
Definition at line 37 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 40 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Draw(), and TrainAndTestAnn().
|
private |
Definition at line 39 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Draw(), and TrainAndTestAnn().
|
private |
Definition at line 42 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Draw(), Exec(), and TrainAndTestAnn().
|
private |
Definition at line 48 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Draw(), Exec(), and TrainAndTestAnn().
|
private |
Definition at line 46 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 52 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 47 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 53 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 43 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 49 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 45 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().
|
private |
Definition at line 51 of file CbmKresTrainAnnDirectPhotons.h.
Referenced by Exec(), and TrainAndTestAnn().