47 void Add(
const unsigned int& wire,
const double& tdc,
const unsigned int& view,
const double& pe);
53 const unsigned int& view)
58 const unsigned int& tdc)
64 const unsigned int& view)
80 std::vector<float>
fPE;
102 #endif // CVN_PIXELMAP_H
std::vector< float > fPEY
Vector of Y PE measurements for pixels.
unsigned int NPixel() const
Total number of pixels in map.
TH2F * SingleViewToTH2(const unsigned int &view) const
unsigned int fNWire
Number of wires, length of pixel map.
unsigned int GetTotHits()
std::ostream & operator<<(std::ostream &os, const PixelMapProducer &p)
void FillInputVector(float *input) const
Utility class for truth labels.
void SetTotHits(unsigned int tothits)
TH2F * ToTH2() const
Return the pixel map as a 2D histogram for visualization.
std::vector< float > fPE
Vector of PE measurements for pixels.
unsigned int GlobalToIndexSingle(const unsigned int &wire, const double &tdc, const unsigned int &view)
Take global wire, tdc (detector) and return index in fPE vector.
std::vector< float > fPEZ
Vector of Y PE measurements for pixels.
std::vector< HitType > fLabY
Vector of Y Truth labels for pixels.
void Add(const unsigned int &wire, const double &tdc, const unsigned int &view, const double &pe)
std::vector< float > fPEX
Vector of X PE measurements for pixels.
unsigned int GlobalToIndex(const unsigned int &wire, const double &tdc, const unsigned int &view)
Take global wire, tdc (detector) and return index in fPE vector.
Boundary Bound() const
Map boundary.
unsigned int NTdc() const
Width in tdcs.
PixelMap, basic input to CVN neural net.
std::vector< double > fPurY
Vector of Y purity for pixels.
std::vector< HitType > fLabX
Vector of X Truth labels for pixels.
std::vector< double > fPurZ
Vector of Y purity for pixels.
std::vector< HitType > fLab
Vector of Truth labels for pixels.
unsigned int fTotHits
Number of hits that make up the pixel map.
unsigned int NInput() const
Number of inputs for the neural net.
unsigned int fNTdc
Number of tdcs, width of pixel map.
std::vector< HitType > fLabZ
Vector of Y Truth labels for pixels.
unsigned int NWire() const
Length in wires.
unsigned int LocalToIndex(const unsigned int &wire, const unsigned int &tdc) const
Take local wire, tdc (within map) and return index in fPE vector.
Boundary for CVN PixelMap.
std::vector< double > fPur
Vector of purity for pixels.
std::vector< double > fPurX
Vector of X purity for pixels.