Producer algorithm for RegPixelMap, input to CVN neural net. More...
#include <RegPixelMapProducer.h>
Public Member Functions | |
RegPixelMapProducer (unsigned int nWire, unsigned int wRes, unsigned int nTdc, double tRes, int Global, bool ProngOnly, bool ByHit) | |
RegCNNBoundary | DefineBoundary (detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster) |
Get boundaries for pixel map representation of cluster. More... | |
RegCNNBoundary | DefineBoundary (detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster, const std::vector< float > &vtx) |
double | GetGlobalWire (const geo::WireID &wireID) |
Function to convert to a global unwrapped wire number. More... | |
void | GetDUNEGlobalWireTDC (detinfo::DetectorPropertiesData const &detProp, const geo::WireID &wireID, double localTDC, unsigned int &globalWire, unsigned int &globalPlane, double &globalTDC) |
unsigned int | NWire () const |
unsigned int | NTdc () const |
double | TRes () const |
double | WRes () const |
RegPixelMap | CreateMap (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster, art::FindManyP< recob::Wire > const &fmwire) |
RegPixelMap | CreateMap (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster, art::FindManyP< recob::Wire > const &fmwire, const std::vector< float > &vtx) |
RegPixelMap | CreateMapGivenBoundary (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster, const RegCNNBoundary &bound, art::FindManyP< recob::Wire > const &fmwire) |
RegPixelMap | CreateMap (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster, art::FindManyP< recob::Wire > const &fmwire, art::FindManyP< recob::Track > const &fmtrkhit, const std::vector< float > &vtx) |
RegPixelMap | CreateMapGivenBoundaryByHit (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster, const RegCNNBoundary &bound, art::FindManyP< recob::Wire > const &fmwire, art::FindManyP< recob::Track > const &fmtrkhit, const bool &ProngOnly) |
RegPixelMap | CreateMap (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster, art::FindManyP< recob::Wire > const &fmwire, art::FindManyP< recob::Shower > const &fmshwhit, const std::vector< float > &vtx) |
RegPixelMap | CreateMapGivenBoundaryByHit (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > const &cluster, const RegCNNBoundary &bound, art::FindManyP< recob::Wire > const &fmwire, art::FindManyP< recob::Shower > const &fmshwhit, const bool &ProngOnly) |
void | ShiftGlobalWire (std::vector< art::Ptr< recob::Hit > > const &cluster) |
Private Attributes | |
unsigned int | fNWire |
Number of wires, length for pixel maps. More... | |
unsigned int | fWRes |
unsigned int | fNTdc |
Number of tdcs, width of pixel map. More... | |
unsigned int | fTRes |
int | fGlobalWireMethod |
bool | fProngOnly |
bool | fByHit |
double | fOffset [2] |
std::vector< int > | hitwireidx |
std::vector< int > | tmin_each_wire |
std::vector< int > | tmax_each_wire |
std::vector< float > | trms_max_each_wire |
art::ServiceHandle< geo::Geometry > | geom |
Producer algorithm for RegPixelMap, input to CVN neural net.
Definition at line 46 of file RegPixelMapProducer.h.
cnn::RegPixelMapProducer::RegPixelMapProducer | ( | unsigned int | nWire, |
unsigned int | wRes, | ||
unsigned int | nTdc, | ||
double | tRes, | ||
int | Global, | ||
bool | ProngOnly, | ||
bool | ByHit | ||
) |
Definition at line 24 of file RegPixelMapProducer.cxx.
RegPixelMap cnn::RegPixelMapProducer::CreateMap | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit > > const & | cluster, | ||
art::FindManyP< recob::Wire > const & | fmwire | ||
) |
Definition at line 35 of file RegPixelMapProducer.cxx.
RegPixelMap cnn::RegPixelMapProducer::CreateMap | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit > > const & | cluster, | ||
art::FindManyP< recob::Wire > const & | fmwire, | ||
const std::vector< float > & | vtx | ||
) |
Definition at line 54 of file RegPixelMapProducer.cxx.
RegPixelMap cnn::RegPixelMapProducer::CreateMap | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit > > const & | cluster, | ||
art::FindManyP< recob::Wire > const & | fmwire, | ||
art::FindManyP< recob::Track > const & | fmtrkhit, | ||
const std::vector< float > & | vtx | ||
) |
Definition at line 72 of file RegPixelMapProducer.cxx.
RegPixelMap cnn::RegPixelMapProducer::CreateMap | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit > > const & | cluster, | ||
art::FindManyP< recob::Wire > const & | fmwire, | ||
art::FindManyP< recob::Shower > const & | fmshwhit, | ||
const std::vector< float > & | vtx | ||
) |
Definition at line 96 of file RegPixelMapProducer.cxx.
RegPixelMap cnn::RegPixelMapProducer::CreateMapGivenBoundary | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit > > const & | cluster, | ||
const RegCNNBoundary & | bound, | ||
art::FindManyP< recob::Wire > const & | fmwire | ||
) |
Definition at line 121 of file RegPixelMapProducer.cxx.
RegPixelMap cnn::RegPixelMapProducer::CreateMapGivenBoundaryByHit | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit > > const & | cluster, | ||
const RegCNNBoundary & | bound, | ||
art::FindManyP< recob::Wire > const & | fmwire, | ||
art::FindManyP< recob::Track > const & | fmtrkhit, | ||
const bool & | ProngOnly | ||
) |
Definition at line 196 of file RegPixelMapProducer.cxx.
RegPixelMap cnn::RegPixelMapProducer::CreateMapGivenBoundaryByHit | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit > > const & | cluster, | ||
const RegCNNBoundary & | bound, | ||
art::FindManyP< recob::Wire > const & | fmwire, | ||
art::FindManyP< recob::Shower > const & | fmshwhit, | ||
const bool & | ProngOnly | ||
) |
Definition at line 252 of file RegPixelMapProducer.cxx.
RegCNNBoundary cnn::RegPixelMapProducer::DefineBoundary | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::vector< art::Ptr< recob::Hit > > const & | cluster | ||
) |
Get boundaries for pixel map representation of cluster.
Definition at line 319 of file RegPixelMapProducer.cxx.
RegCNNBoundary cnn::RegPixelMapProducer::DefineBoundary | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::vector< art::Ptr< recob::Hit > > const & | cluster, | ||
const std::vector< float > & | vtx | ||
) |
Definition at line 436 of file RegPixelMapProducer.cxx.
void cnn::RegPixelMapProducer::GetDUNEGlobalWireTDC | ( | detinfo::DetectorPropertiesData const & | detProp, |
const geo::WireID & | wireID, | ||
double | localTDC, | ||
unsigned int & | globalWire, | ||
unsigned int & | globalPlane, | ||
double & | globalTDC | ||
) |
Definition at line 616 of file RegPixelMapProducer.cxx.
double cnn::RegPixelMapProducer::GetGlobalWire | ( | const geo::WireID & | wireID | ) |
Function to convert to a global unwrapped wire number.
Definition at line 521 of file RegPixelMapProducer.cxx.
|
inline |
Definition at line 68 of file RegPixelMapProducer.h.
|
inline |
Definition at line 67 of file RegPixelMapProducer.h.
void cnn::RegPixelMapProducer::ShiftGlobalWire | ( | std::vector< art::Ptr< recob::Hit > > const & | cluster | ) |
Definition at line 556 of file RegPixelMapProducer.cxx.
|
inline |
Definition at line 69 of file RegPixelMapProducer.h.
|
inline |
Definition at line 70 of file RegPixelMapProducer.h.
|
private |
Definition at line 129 of file RegPixelMapProducer.h.
|
private |
Definition at line 127 of file RegPixelMapProducer.h.
|
private |
Number of tdcs, width of pixel map.
Definition at line 125 of file RegPixelMapProducer.h.
|
private |
Number of wires, length for pixel maps.
Definition at line 123 of file RegPixelMapProducer.h.
|
private |
Definition at line 130 of file RegPixelMapProducer.h.
|
private |
Definition at line 128 of file RegPixelMapProducer.h.
|
private |
Definition at line 126 of file RegPixelMapProducer.h.
|
private |
Definition at line 124 of file RegPixelMapProducer.h.
|
private |
Definition at line 136 of file RegPixelMapProducer.h.
|
private |
Definition at line 131 of file RegPixelMapProducer.h.
|
private |
Definition at line 133 of file RegPixelMapProducer.h.
|
private |
Definition at line 132 of file RegPixelMapProducer.h.
|
private |
Definition at line 134 of file RegPixelMapProducer.h.