TrackIoniz.h
Go to the documentation of this file.
1 //
2 // TrackIoniz.h
3 //
4 // Created by Leo Bellantoni on 22 Feb 2019.
5 // Track ionization data -- use associations with tracks to find them.
6 //
7 
8 #ifndef GAR_RECONSTRUCTIONDATAPRODUCTS_TrackIoniz_h
9 #define GAR_RECONSTRUCTIONDATAPRODUCTS_TrackIoniz_h
10 
11 #include <vector>
12 
13 
14 
15 namespace gar {
16  namespace rec {
17 
18  class TrackIoniz {
19 
20  public:
21  TrackIoniz();
22  inline const std::vector<std::pair<float,float>> getFWD_dSigdXs() const {return fFWD_dSigdXs;};
23  inline const std::vector<std::pair<float,float>> getBAK_dSigdXs() const {return fBAK_dSigdXs;};
24 
25  // let the compiler provide the dtor
26 
27  private:
28  std::vector<std::pair<float,float>> fFWD_dSigdXs; ///< Segment values ordered by forward fit
29  std::vector<std::pair<float,float>> fBAK_dSigdXs; ///< Segment values ordered by backward fit
30 
31 
32 
33 #ifndef __GCCXML__
34 
35  public:
36 
37  void setData(std::vector<std::pair<float,float>> dSigdX_FWD,std::vector<std::pair<float,float>> dSigdX_BAK);
38 
39 #endif
40 
41  };
42 
43 
44 
45 
46 
47 
48  } // rec
49 } // gar
50 
51 
52 #endif
rec
Definition: tracks.py:88
struct vector vector
std::vector< std::pair< float, float > > fBAK_dSigdXs
Segment values ordered by backward fit.
Definition: TrackIoniz.h:29
std::vector< std::pair< float, float > > fFWD_dSigdXs
Segment values ordered by forward fit.
Definition: TrackIoniz.h:23
General GArSoft Utilities.
void setData(std::vector< std::pair< float, float >> dSigdX_FWD, std::vector< std::pair< float, float >> dSigdX_BAK)
Definition: TrackIoniz.cxx:20
const std::vector< std::pair< float, float > > getBAK_dSigdXs() const
Definition: TrackIoniz.h:23
const std::vector< std::pair< float, float > > getFWD_dSigdXs() const
Definition: TrackIoniz.h:22