53 void Crawl (
unsigned int apa );
79 std::map< raw::ChannelID_t, std::vector< art::Ptr< recob::Hit > > >
fChannelToHits;
81 std::map< unsigned int, std::vector< art::Ptr< recob::Hit > > >
fAPAToHits;
83 std::map< unsigned int, std::vector< art::Ptr< recob::Hit > > >
fAPAToEndPHits;
123 #endif // ifndef DisambigAlg_H
bool HitsReasonablyMatch(art::Ptr< recob::Hit > hitA, art::Ptr< recob::Hit > hitB)
std::map< std::pair< double, double >, geo::WireID > fChanTimeToWid
If a hit is disambiguated, map its chan and peak time to the chosen wireID.
double fCloseHitsRadius
Distance (cm) away from a hit to look when checking if it's an endpoint.
std::map< unsigned int, unsigned int > fnDVSoFar
apa::APAGeometryAlg fAPAGeo
Declaration of signal hit object.
std::map< unsigned int, unsigned int > fnVSoFar
void Crawl(unsigned int apa)
Extend what we disambiguation we do have in apa.
bool HitsOverlapInTime(art::Ptr< recob::Hit > hitA, art::Ptr< recob::Hit > hitB)
std::vector< std::pair< art::Ptr< recob::Hit >, geo::WireID > > fDisambigHits
The final list of hits to pass back to be made.
art::ServiceHandle< cheat::BackTrackerService > bt_serv
For TEMPORARY monitering of potential problems.
void TrivialDisambig(unsigned int apa)
Make the easiest and safest disambiguations in apa.
std::map< unsigned int, std::vector< art::Ptr< recob::Hit > > > fAPAToEndPHits
\ todo: Channel/APA to hits can be done in a unified way
void AssessDisambigSoFar(unsigned int apa)
See how much disambiguation has been done in this apa so far.
std::map< raw::ChannelID_t, std::vector< art::Ptr< recob::Hit > > > fChannelToHits
DisambigAlg(fhicl::ParameterSet const &pset)
std::map< unsigned int, double > fVeffSoFar
Declaration of cluster object.
unsigned int fNChanJumps
Number of channels the crawl can jump over.
Definition of data types for geometry description.
void reconfigure(fhicl::ParameterSet const &p)
unsigned int FindChanTimeEndPts(unsigned int apa)
Basic endpoint-hit finder per apa.
Detector simulation of raw signals on wires.
unsigned int CompareViews(unsigned int apa)
Compare U and V to see if one says something about the other.
void UseEndPts(unsigned int apa)
Try to associate endpoint hits and crawl from there.
std::map< unsigned int, std::map< std::pair< double, double >, bool > > fHasBeenDisambiged
Convenient way to keep track of disambiguation so far.
std::map< unsigned int, std::vector< art::Ptr< recob::Hit > > > fAPAToHits
std::map< unsigned int, std::vector< art::Ptr< recob::Hit > > > fAPAToUVHits
bool fCrawl
\ todo: Write function that compares hits more detailedly
std::map< unsigned int, std::vector< std::pair< art::Ptr< recob::Hit >, geo::WireID > > > fAPAToDHits
Hold the disambiguations per APA.
std::map< unsigned int, std::vector< art::Ptr< recob::Hit > > > fAPAToZHits
Declaration of basic channel signal object.
std::map< unsigned int, double > fUeffSoFar
void MakeDisambigHit(art::Ptr< recob::Hit > hit, geo::WireID, unsigned int apa)
Makes a disambiguated hit while keeping track of what has already been disambiguated.
art::ServiceHandle< geo::Geometry > geom
std::map< unsigned int, unsigned int > fnUSoFar
unsigned int MakeCloseHits(int ext, geo::WireID wid, double Dmin, double Dmax)
Having disambiguated a time range on a wireID, extend to neighboring channels.
art framework interface to geometry description
const detinfo::DetectorProperties * detprop
void RunDisambig(art::Handle< std::vector< recob::Hit > > GausHits)
Run disambiguation as currently configured.
std::map< unsigned int, unsigned int > fnDUSoFar