15 #include "art_root_io/TFileDirectory.h" 16 #include "art_root_io/TFileService.h" 85 fTdcWidth (pset.get<
unsigned short> (
"TdcWidth")),
86 fWireLength (pset.get<
unsigned short> (
"WireLength")),
120 std::vector< art::Ptr< recob::Hit > > hitlist;
124 unsigned short nhits = hitlist.size();
127 std::unique_ptr< std::vector<cvn::PixelMap> >
128 pmCol(
new std::vector<cvn::PixelMap>);
134 pmCol->push_back(pm);
unsigned short fTdcWidth
Width of pixel map in tdcs.
Handle< PROD > getHandle(SelectorBase const &) const
EDProducer(fhicl::ParameterSet const &pset)
PixelMapProducer fProducer
PixelMapProducer does the work for us.
unsigned short fWireLength
Length of pixel map in wires.
Utility class for truth labels.
void SetTotHits(unsigned int tothits)
CVNMapper(fhicl::ParameterSet const &pset)
unsigned short fMinClusterHits
Minimum number of hits for cluster to be converted to pixel map.
#define DEFINE_ART_MODULE(klass)
void SetUnwrapped(unsigned short unwrap)
ProductID put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
std::string fClusterPMLabel
Instance lablel for cluster pixelmaps.
Declaration of signal hit object.
double fTimeResolution
Length of pixel map in wires.
unsigned short fUnwrappedPixelMap
Use unwrapped pixel maps?
std::string fHitsModuleLabel
Module lablel for input clusters.
PixelMap, basic input to CVN neural net.
PixelMapProducer for CVN.
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
Producer algorithm for PixelMap, input to CVN neural net.
void produce(art::Event &evt)
PixelMap CreateMap(detinfo::DetectorPropertiesData const &detProp, const std::vector< art::Ptr< recob::Hit > > &slice)