22 void AddHit(
unsigned int view, std::vector<float> coordinates, std::vector<float> features, std::vector<int>
pdgs,
23 std::vector<int>
tracks, std::vector<float> energies, std::vector<std::string> processes);
55 ret.insert(ret.end(), it.begin(), it.end());
64 std::vector<std::vector<std::vector<float>>>
fFeatures;
68 std::vector<std::vector<std::vector<std::string>>>
fProcesses;
std::vector< std::vector< std::vector< int > > > GetPixelTrackIDs() const
std::vector< std::vector< int > > GetPixelTrackIDs(size_t view) const
void AddHit(unsigned int view, std::vector< float > coordinates, std::vector< float > features)
Default AddHit implementation, which just adds pixel value and coordinates.
std::vector< std::vector< std::vector< std::string > > > fProcesses
std::vector< std::vector< float > > GetFeatures(size_t view) const
unsigned int fViews
Number of views.
std::vector< std::vector< std::vector< std::string > > > GetProcesses() const
std::vector< std::vector< int > > GetPixelPDGs(size_t view) const
std::vector< std::vector< std::vector< int > > > fPixelPDGs
True particle PDG responsible for pixel.
std::vector< std::vector< std::vector< int > > > fPixelTrackIDs
G4 track IDs responsible for pixelel.
std::vector< std::vector< std::vector< float > > > fFeatures
Features of non-zero pixels.
Utility class for truth labels.
std::vector< std::vector< std::vector< float > > > GetFeatures() const
std::vector< T > FlattenVector(std::vector< std::vector< T >> vec) const
std::vector< unsigned int > GetNPixels() const
std::vector< std::vector< std::vector< float > > > fCoordinates
Coordinates of non-zero pixels.
unsigned int GetDim() const
unsigned int GetNPixels(size_t view) const
std::vector< std::vector< std::vector< float > > > fPixelEnergies
bool fUsePixelTruth
Whether to use a per-pixel ground truth for pixel segmentation.
std::vector< std::vector< float > > GetPixelEnergies(size_t view) const
std::vector< std::vector< std::vector< float > > > GetCoordinates() const
std::vector< std::vector< std::vector< int > > > GetPixelPDGs() const
std::vector< std::vector< std::string > > GetProcesses(size_t view) const
std::vector< std::vector< float > > GetCoordinates(size_t view) const
unsigned int GetViews() const
std::vector< std::vector< std::vector< float > > > GetPixelEnergies() const
unsigned int fDim
Dimensionality of each pixel map.