1 #ifndef CRTTRACKRECOALG_H_SEEN
2 #define CRTTRACKRECOALG_H_SEEN
13 #include "art/Framework/Principal/Event.h"
14 #include "art/Framework/Core/ModuleMacros.h"
15 #include "fhiclcpp/ParameterSet.h"
16 #include "art/Framework/Principal/Handle.h"
17 #include "canvas/Persistency/Common/Ptr.h"
18 #include "canvas/Persistency/Common/PtrVector.h"
19 #include "art/Framework/Services/Registry/ServiceHandle.h"
20 #include "messagefacility/MessageLogger/MessageLogger.h"
21 #include "canvas/Persistency/Common/FindManyP.h"
30 #include "messagefacility/MessageLogger/MessageLogger.h"
31 #include "fhiclcpp/ParameterSet.h"
32 #include "fhiclcpp/types/Table.h"
33 #include "fhiclcpp/types/Atom.h"
34 #include "cetlib/pow.h"
54 #include "TGeoManager.h"
72 Name(
"AverageHitDistance"),
73 Comment(
"Distance to average hits over on same plane")
77 Name(
"DistanceLimit"),
78 Comment(
"Distance to combine CRT hits into track")
101 std::vector<std::pair<sbn::crt::CRTHit, std::vector<int>>>
AverageHits(
std::vector<art::Ptr<sbn::crt::CRTHit>> hits, std::map<art::Ptr<sbn::crt::CRTHit>,
int> hitIds);
109 std::vector<sbn::crt::CRTTrack>
CreateTracks(std::vector<sbn::crt::CRTHit> hits);
Declaration of signal hit object.
fhicl::Atom< double > AverageHitDistance
std::vector< std::pair< sbn::crt::CRTTrack, std::vector< int > > > CreateTracks(std::vector< std::pair< sbn::crt::CRTHit, std::vector< int >>> hits)
std::vector< std::pair< sbn::crt::CRTHit, std::vector< int > > > AverageHits(std::vector< art::Ptr< sbn::crt::CRTHit >> hits, std::map< art::Ptr< sbn::crt::CRTHit >, int > hitIds)
std::vector< std::vector< art::Ptr< sbn::crt::CRTHit > > > CreateCRTTzeros(std::vector< art::Ptr< sbn::crt::CRTHit >>)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
fhicl::Atom< double > DistanceLimit
BEGIN_PROLOG vertical distance to the surface Name
sbn::crt::CRTHit DoAverage(std::vector< art::Ptr< sbn::crt::CRTHit >> hits)
Provides recob::Track data product.
void reconfigure(const Config &config)
sbn::crt::CRTTrack FillCrtTrack(sbn::crt::CRTHit hit1, sbn::crt::CRTHit hit2, bool complete)
fhicl::Atom< double > TimeLimit
double fAverageHitDistance
stream1 can override from command line with o or output services user sbnd
CRTTrackRecoAlg(const fhicl::ParameterSet &pset)
CRTTrackRecoAlg(const Config &config)