7 #ifndef LCVN_PIXELMAPPRODUCER_H 8 #define LCVN_PIXELMAPPRODUCER_H 33 typedef std::vector<std::map<double, double>>
Waveform;
85 template <
class T,
class U>
88 PixelMapProducer(
unsigned int nWire,
unsigned int nTdc,
double tRes,
double threshold = 0.);
95 unsigned int NROI() {
return fTotHits; };
99 const std::vector<const T*>&
cluster);
101 virtual void ConvertLocaltoGlobal(
geo::WireID wireid,
102 unsigned int& globalWire,
103 unsigned int& globalPlane)
const;
105 virtual void ConvertLocaltoGlobalTDC(
geo::WireID wireid,
107 unsigned int& globalWire,
108 unsigned int& globalPlane,
109 double& globalTDC)
const;
111 unsigned int NWire()
const {
return fNWire; }
112 unsigned int NTdc()
const {
return fNTdc; }
113 double TRes()
const {
return fTRes; }
118 const std::vector<const T*>& cluster);
121 const std::vector<const T*>& cluster,
142 #endif // CVN_PIXELMAPPRODUCER_H
PixelMapProducer< sim::SimChannel, lcvn::SimChannelHelper > PixelMapSimProducer
Energy deposited on a readout channel by simulated tracks.
virtual Waveform GetWaveform()
Declaration of signal hit object.
geo::GeometryCore const * fGeometry
PixelMap, basic input to CVN neural net.
Utility class for truth labels.
Cluster finding and building.
Producer algorithm for PixelMap, input to CVN neural net.
HitHelper(recob::Hit hit, double thresh=0.)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
unsigned int NWire() const
WireHelper(recob::Wire wire, double thresh=0.)
SimChannelHelper(sim::SimChannel simchan, double thresh=0.)
PixelMapProducer< recob::Hit, lcvn::HitHelper > PixelMapHitProducer
geo::GeometryCore const * fGeometry
Description of geometry of one entire detector.
PixelMapProducer< recob::Wire, lcvn::WireHelper > PixelMapWireProducer
virtual geo::WireID GetID()
Detector simulation of raw signals on wires.
geo::GeometryCore const * fGeometry
double fThreshold
Charge threshold to consider for hits/waveforms etc.
unsigned int NTdc() const
unsigned int fNTdc
Number of tdcs, width of pixel map.
unsigned int fNWire
Number of wires, length for pixel maps.
object containing MC truth information necessary for making RawDigits and doing back tracking ...
unsigned int fTotHits
Total hits in the pixel map.
Class holding the regions of interest of signal from a channel.
Declaration of basic channel signal object.
2D representation of charge deposited in the TDC/wire plane
double fTRes
Timing resolution for pixel map.
geo::GeometryCore const * fGeometry
std::vector< std::map< double, double > > Waveform
art framework interface to geometry description
Boundary for CVN PixelMap.
bool fMultipleDrifts
True if making the pixel map requires handling for multiple drift regions.