CbmRoot
CbmKresTrainAnnDirectPhotons.h
Go to the documentation of this file.
1 #ifndef CBM_KRES_TRAIN_ANN_DIRECT_PHOTONS
2 #define CBM_KRES_TRAIN_ANN_DIRECT_PHOTONS
3 
4 #include "TCanvas.h"
5 #include "TH2D.h"
6 #include "TVector3.h"
7 #include <TClonesArray.h>
8 #include <vector>
9 
10 using namespace std;
11 
13 
14 public:
15  //***** brief Standard constructor.
17  //***** brief Standard destructor.
19 
20 
21  void Init();
22  void InitHistograms();
23 
24  void Exec(int event,
25  int IdForANN,
26  double InvariantMass,
27  double OpeningAngle,
28  double PlaneAngle_last,
29  double ZPos,
30  TVector3 Momentum1,
31  TVector3 Momentum2);
32  void TrainAndTestAnn();
33  void Draw();
34 
35 
36 private:
37  unsigned int fMaxNofTrainSamples;
38  double fAnnCut;
41 
42  vector<double> IM_correct;
43  vector<double> OA_correct;
44  vector<double> Angle_correct;
45  vector<double> Z_correct;
46  vector<double> Mom1_correct;
47  vector<double> Mom2_correct;
48  vector<double> IM_wrong;
49  vector<double> OA_wrong;
50  vector<double> Angle_wrong;
51  vector<double> Z_wrong;
52  vector<double> Mom1_wrong;
53  vector<double> Mom2_wrong;
54 
55  vector<TH1*> fHists;
60 
61 
62  //***** brief Copy constructor.
64 
65  //***** brief Assignment operator.
67 
68 
69  ClassDef(CbmKresTrainAnnDirectPhotons, 1)
70 };
71 
72 #endif
CbmKresTrainAnnDirectPhotons::fAnnCut
double fAnnCut
Definition: CbmKresTrainAnnDirectPhotons.h:38
CbmKresTrainAnnDirectPhotons::fNofWrongLikeCorrect
int fNofWrongLikeCorrect
Definition: CbmKresTrainAnnDirectPhotons.h:39
CbmKresTrainAnnDirectPhotons::CbmKresTrainAnnDirectPhotons
CbmKresTrainAnnDirectPhotons(const CbmKresTrainAnnDirectPhotons &)
CbmKresTrainAnnDirectPhotons::Mom1_wrong
vector< double > Mom1_wrong
Definition: CbmKresTrainAnnDirectPhotons.h:52
CbmKresTrainAnnDirectPhotons::IM_wrong
vector< double > IM_wrong
Definition: CbmKresTrainAnnDirectPhotons.h:48
CbmKresTrainAnnDirectPhotons::fhCumProb_correct
TH1D * fhCumProb_correct
Definition: CbmKresTrainAnnDirectPhotons.h:58
CbmKresTrainAnnDirectPhotons::operator=
CbmKresTrainAnnDirectPhotons operator=(const CbmKresTrainAnnDirectPhotons &)
CbmKresTrainAnnDirectPhotons::OA_wrong
vector< double > OA_wrong
Definition: CbmKresTrainAnnDirectPhotons.h:49
CbmKresTrainAnnDirectPhotons::fhCumProb_wrong
TH1D * fhCumProb_wrong
Definition: CbmKresTrainAnnDirectPhotons.h:59
CbmKresTrainAnnDirectPhotons::Mom2_wrong
vector< double > Mom2_wrong
Definition: CbmKresTrainAnnDirectPhotons.h:53
CbmKresTrainAnnDirectPhotons::fMaxNofTrainSamples
unsigned int fMaxNofTrainSamples
Definition: CbmKresTrainAnnDirectPhotons.h:37
CbmKresTrainAnnDirectPhotons::Angle_wrong
vector< double > Angle_wrong
Definition: CbmKresTrainAnnDirectPhotons.h:50
CbmKresTrainAnnDirectPhotons::fhAnnOutput_correct
TH1D * fhAnnOutput_correct
Definition: CbmKresTrainAnnDirectPhotons.h:56
CbmKresTrainAnnDirectPhotons::Angle_correct
vector< double > Angle_correct
Definition: CbmKresTrainAnnDirectPhotons.h:44
CbmKresTrainAnnDirectPhotons::Mom1_correct
vector< double > Mom1_correct
Definition: CbmKresTrainAnnDirectPhotons.h:46
CbmKresTrainAnnDirectPhotons::Mom2_correct
vector< double > Mom2_correct
Definition: CbmKresTrainAnnDirectPhotons.h:47
CbmKresTrainAnnDirectPhotons::OA_correct
vector< double > OA_correct
Definition: CbmKresTrainAnnDirectPhotons.h:43
CbmKresTrainAnnDirectPhotons::fHists
vector< TH1 * > fHists
Definition: CbmKresTrainAnnDirectPhotons.h:55
CbmKresTrainAnnDirectPhotons::fhAnnOutput_wrong
TH1D * fhAnnOutput_wrong
Definition: CbmKresTrainAnnDirectPhotons.h:57
CbmKresTrainAnnDirectPhotons::Z_correct
vector< double > Z_correct
Definition: CbmKresTrainAnnDirectPhotons.h:45
CbmKresTrainAnnDirectPhotons
Definition: CbmKresTrainAnnDirectPhotons.h:12
CbmKresTrainAnnDirectPhotons::Z_wrong
vector< double > Z_wrong
Definition: CbmKresTrainAnnDirectPhotons.h:51
CbmKresTrainAnnDirectPhotons::IM_correct
vector< double > IM_correct
Definition: CbmKresTrainAnnDirectPhotons.h:42
CbmKresTrainAnnDirectPhotons::fNofCorrectLikeWrong
int fNofCorrectLikeWrong
Definition: CbmKresTrainAnnDirectPhotons.h:40