ProngTrainingData.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file ProngTrainingData.h
3 /// \brief The ProngTrainingData objects contains a PixelMap and the
4 /// output type within the chosen classification which will
5 /// later go into the CNN
6 // \author psihas -- psihas@fnal.gov
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef CVN_PRONGTRAININGDATA_H
9 #define CVN_PRONGTRAININGDATA_H
10 
11 #include "CVN/func/PixelMap.h"
12 #include "CVN/func/ProngType.h"
13 
14 namespace cvn
15 {
16 
17 
18  /// \brief The TrainingData objects contains a PixelMap and the
19  /// output class type, and any other bit that goes into the ANN
20 
22  {
23 
24  public:
26  ProngTrainingData(const ProngType& pronglabel, const ProngType& pronglabelX,
27  const ProngType& pronglabelY, bool isprimary, double purity3D,
28  double purityX, double purityY, double recE,
29  unsigned int ncellX, unsigned int ncellY,
30  double vX, double vY, double vZ,
31  double length, double angle, double gap, const PixelMap& pMap);
32 
33  ProngType fLabel3D; ///< Class of the 3D prong
34  ProngType fLabelX; ///< Class of the X view prong
35  ProngType fLabelY; ///< Class of the Y view prong
36  bool fIsPrimary;
37  double fPurity3D;
38  double fPurityX;
39  double fPurityY;
40  double fRecE;
41  unsigned int fNCellX;
42  unsigned int fNCellY;
43  double fVertX;
44  double fVertY;
45  double fVertZ;
46  double fPLength;
47  double fPAngle;
48  double fPGap;
49  PixelMap fProngPMap; ///< PixelMap for the event
50  };
51 
52 } // end namespace
53 
54 #endif // CVN_PRONGTRAININGDATA_H
55 //////////////////////////////////////////////////////////////////////////////
Double_t angle
Definition: plot.C:86
enum cvn::PType ProngType
ProngType fLabelY
Class of the Y view prong.
const std::string pronglabel
ProngType fLabelX
Class of the X view prong.
PixelMap for CVN.
Defines an enumeration for prong classification.
length
Definition: demo0.py:21
The TrainingData objects contains a PixelMap and the output class type, and any other bit that goes i...
PixelMap fProngPMap
PixelMap for the event.
ProngType fLabel3D
Class of the 3D prong.
PixelMap, basic input to CVN neural net.
Definition: PixelMap.h:23