7 #ifndef CVN_PIXELMAPPRODUCER_H 8 #define CVN_PIXELMAPPRODUCER_H 41 const std::vector< const recob::Hit* >&
cluster);
44 void GetDUNEGlobalWire(
unsigned int localWire,
unsigned int plane,
unsigned int tpc,
unsigned int& globalWire,
unsigned int& globalPlane)
const;
46 unsigned int localWire,
double localTDC,
unsigned int plane,
unsigned int tpc,
47 unsigned int& globalWire,
unsigned int& globalPlane,
double& globalTDC)
const;
50 unsigned int localWire,
double localTDC,
unsigned int plane,
unsigned int tpc,
51 unsigned int& globalWire,
unsigned int& globalPlane,
double& globalTDC)
const;
52 void GetProtoDUNEGlobalWire(
unsigned int localWire,
unsigned int plane,
unsigned int tpc,
unsigned int& globalWire,
unsigned int& globalPlane)
const;
54 unsigned int& globalWire,
double& globalTDC,
unsigned int& globalPlane)
const;
56 void GetDUNEVertDrift3ViewGlobalWire(
unsigned int localWire,
unsigned int plane,
unsigned int tpc,
unsigned int& globalWire,
unsigned int& globalPlane)
const;
66 const std::vector< const recob::Hit* >& slice);
69 const std::vector< const recob::Hit* >& cluster,
75 std::vector<float>& energies, std::vector<std::string>& processes);
101 #endif // CVN_PIXELMAPPRODUCER_H double fTRes
Timing resolution for pixel map.
unsigned short fUnwrapped
Use unwrapped pixel maps?
unsigned int NTdc() const
Cluster finding and building.
Utility class for truth labels.
unsigned int fNTdc
Number of tdcs, width of pixel map.
void GetDUNE10ktGlobalWireTDC(detinfo::DetectorPropertiesData const &detProp, unsigned int localWire, double localTDC, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane, double &globalTDC) const
PixelMap CreateMapGivenBoundary(detinfo::DetectorPropertiesData const &detProp, const std::vector< const recob::Hit * > &cluster, const Boundary &bound)
void GetProtoDUNEGlobalWire(unsigned int localWire, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane) const
double _getIntercept(geo::WireID wireid) const
void SetUnwrapped(unsigned short unwrap)
bool fProtoDUNE
Do we want to use this for particle extraction from protoDUNE?
Description of geometry of one entire detector.
void GetProtoDUNEGlobalWireTDC(unsigned int localWire, double localTDC, unsigned int plane, unsigned int tpc, unsigned int &globalWire, double &globalTDC, unsigned int &globalPlane) const
Detector simulation of raw signals on wires.
std::vector< double > fVDPlane1
unsigned int fNWire
Number of wires, length for pixel maps.
Declaration of signal hit object.
void GetDUNEGlobalWireTDC(detinfo::DetectorPropertiesData const &detProp, unsigned int localWire, double localTDC, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane, double &globalTDC) const
Contains all timing reference information for the detector.
unsigned int NWire() const
SparsePixelMap CreateSparseMap2D(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > &cluster, bool usePixelTruth=false)
PixelMap, basic input to CVN neural net.
void GetDUNEGlobalWire(unsigned int localWire, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane) const
Function to convert to a global unwrapped wire number.
Sparse pixel map for CVN.
Access the description of detector geometry.
void GetDUNEVertDrift3ViewGlobalWire(unsigned int localWire, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane) const
geo::GeometryCore const * fGeometry
SparsePixelMap CreateSparseMap3D(detinfo::DetectorClocksData const &clockData, std::vector< art::Ptr< recob::SpacePoint > > &sp, std::vector< std::vector< art::Ptr< recob::Hit >>> &hit)
Producer algorithm for PixelMap, input to CVN neural net.
Boundary DefineBoundary(detinfo::DetectorPropertiesData const &detProp, const std::vector< const recob::Hit * > &cluster)
Get boundaries for pixel map representation of cluster.
void GetHitTruth(detinfo::DetectorClocksData const &clockData, art::Ptr< recob::Hit > &hit, std::vector< int > &pdgs, std::vector< int > &tracks, std::vector< float > &energies, std::vector< std::string > &processes)
Create sparse pixel map for SCN applications.
Boundary for CVN PixelMap.
std::vector< double > fVDPlane0
PixelMap CreateMap(detinfo::DetectorPropertiesData const &detProp, const std::vector< art::Ptr< recob::Hit > > &slice)