15 #include "art_root_io/TFileDirectory.h" 16 #include "art_root_io/TFileService.h" 88 fTdcWidth (pset.get<
unsigned short> (
"TdcWidth")),
89 fWireLength (pset.get<
unsigned short> (
"WireLength")),
124 std::vector< art::Ptr< sim::SimChannel > > hitlist;
131 std::unique_ptr< std::vector<cvn::PixelMap> >
132 pmCol(
new std::vector<cvn::PixelMap>);
138 pmCol->push_back(pm);
std::string fHitsModuleLabel
Module lablel for input clusters.
unsigned short fMinClusterHits
Minimum number of hits for cluster to be converted to pixel map.
Handle< PROD > getHandle(SelectorBase const &) const
EDProducer(fhicl::ParameterSet const &pset)
void produce(art::Event &evt)
PixelMapSimProducer fProducer
PixelMapProducer does the work for us.
Utility class for truth labels.
void SetUnwrapped(unsigned short unwrap)
unsigned short fWireLength
Length of pixel map in wires.
PixelMapSimProducer for CVN.
#define DEFINE_ART_MODULE(klass)
std::string fClusterPMLabel
Instance lablel for cluster pixelmaps.
ProductID put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
PixelMap CreateMap(detinfo::DetectorPropertiesData const &detProp, const std::vector< art::Ptr< sim::SimChannel > > &slice)
unsigned short fUnwrappedPixelMap
Use unwrapped pixel maps?
double fThreshold
ADC threshold for calculating charge from wires directly.
PixelMap, basic input to CVN neural net.
Producer algorithm for PixelMap, input to CVN neural net.
CVNMapperSim(fhicl::ParameterSet const &pset)
double fTimeResolution
Length of pixel map in wires.
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
QTextStream & endl(QTextStream &s)
unsigned short fTdcWidth
Width of pixel map in tdcs.