16 #ifndef EVENTIMAGEDATA_HH 17 #define EVENTIMAGEDATA_HH 34 bool findCrop(
size_t max_area_cut,
unsigned int & w0,
unsigned int & w1,
unsigned int & d0,
unsigned int & d1)
const;
36 const std::vector< std::vector<float> > &
adcData(
void)
const {
return fAdc; }
37 const std::vector<float> &
wireAdc(
size_t widx)
const {
return fAdc[widx]; }
39 const std::vector< std::vector<float> > &
depData(
void)
const {
return fDeposit; }
42 const std::vector< std::vector<int> > &
pdgData(
void)
const {
return fPdg; }
43 const std::vector<int> &
wirePdg(
size_t widx)
const {
return fPdg[widx]; }
54 std::vector< std::vector<int> >
fPdg;
std::vector< std::vector< float > > fAdc
const std::vector< float > & wireDep(size_t widx) const
float getProjX(void) const
float getProjY(void) const
bool findCrop(size_t max_area_cut, unsigned int &w0, unsigned int &w1, unsigned int &d0, unsigned int &d1) const
std::vector< std::vector< float > > fDeposit
std::vector< std::vector< int > > fPdg
EventImageData(size_t w, size_t d, bool saveDep)
const std::vector< std::vector< int > > & pdgData(void) const
const std::vector< int > & wirePdg(size_t widx) const
void setProjXY(const TrainingDataAlg &dataAlg, float x, float y, size_t gw, bool flipw, size_t gd, bool flipd)
const std::vector< std::vector< float > > & depData(void) const
Implementation of the Projection Matching Algorithm.
void addTpc(const TrainingDataAlg &dataAlg, size_t gw, bool flipw, size_t gd, bool flipd)
const std::vector< std::vector< float > > & adcData(void) const
const std::vector< float > & wireAdc(size_t widx) const