7 #ifndef CVN_PIXELMAPSIMPRODUCER_H 8 #define CVN_PIXELMAPSIMPRODUCER_H 32 PixelMapSimProducer(
unsigned int nWire,
unsigned int nTdc,
double tRes,
double threshold = 0.);
40 const std::vector< const sim::SimChannel* >&
cluster);
45 void GetDUNEGlobalWire(
unsigned int localWire,
unsigned int plane,
unsigned int tpc,
unsigned int& globalWire,
unsigned int& globalPlane)
const;
47 unsigned int localWire,
double localTDC,
unsigned int plane,
unsigned int tpc,
48 unsigned int& globalWire,
unsigned int& globalPlane,
double& globalTDC)
const;
51 unsigned int localWire,
double localTDC,
unsigned int plane,
unsigned int tpc,
52 unsigned int& globalWire,
unsigned int& globalPlane,
double& globalTDC)
const;
53 void GetProtoDUNEGlobalWire(
unsigned int localWire,
unsigned int plane,
unsigned int tpc,
unsigned int& globalWire,
unsigned int& globalPlane)
const;
55 unsigned int& globalWire,
double& globalTDC,
unsigned int& globalPlane)
const;
58 void GetDUNEVertDrift3ViewGlobalWire(
unsigned int localWire,
unsigned int plane,
unsigned int tpc,
unsigned int& globalWire,
unsigned int& globalPlane)
const;
68 const std::vector< const sim::SimChannel* >& slice);
71 const std::vector< const sim::SimChannel* >& cluster,
96 #endif // CVN_PixelMapSimProducer_H unsigned int fTotHits
How many ROIs above threshold?
unsigned int NTdc() const
std::vector< double > fVDPlane0
double fThreshold
charge threshold for each time tick, below which isn't added to pixel map
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
unsigned int NWire() const
PixelMap CreateMapGivenBoundary(detinfo::DetectorPropertiesData const &detProp, const std::vector< const sim::SimChannel * > &cluster, const Boundary &bound)
Cluster finding and building.
Utility class for truth labels.
void SetUnwrapped(unsigned short unwrap)
void GetDUNEVertDrift3ViewGlobalWire(unsigned int localWire, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane) const
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
double fTRes
Timing resolution for pixel map.
Description of geometry of one entire detector.
PixelMap CreateMap(detinfo::DetectorPropertiesData const &detProp, const std::vector< art::Ptr< sim::SimChannel > > &slice)
double _getIntercept(geo::WireID wireid) const
unsigned int fNWire
Number of wires, length for pixel maps.
Boundary DefineBoundary(detinfo::DetectorPropertiesData const &detProp, const std::vector< const sim::SimChannel * > &cluster)
Get boundaries for pixel map representation of cluster.
PixelMap, basic input to CVN neural net.
Producer algorithm for PixelMap, input to CVN neural net.
bool fProtoDUNE
Do we want to use this for particle extraction from protoDUNE?
unsigned int fNTdc
Number of tdcs, width of pixel map.
unsigned short fUnwrapped
Use unwrapped pixel maps?
Sparse pixel map for CVN.
Access the description of detector geometry.
void GetProtoDUNEGlobalWire(unsigned int localWire, unsigned int plane, unsigned int tpc, unsigned int &globalWire, unsigned int &globalPlane) const
void GetProtoDUNEGlobalWireTDC(unsigned int localWire, double localTDC, unsigned int plane, unsigned int tpc, unsigned int &globalWire, double &globalTDC, unsigned int &globalPlane) const
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.
geo::GeometryCore const * fGeometry
Boundary for CVN PixelMap.
std::vector< double > fVDPlane1