10 #ifndef CLUSTERMATCHALG_H 11 #define CLUSTERMATCHALG_H 34 class DetectorClocksData;
35 class DetectorPropertiesData;
87 cluster_index = index;
91 start_time_max = peak_time_max = end_time_max = -1.;
92 start_time_min = peak_time_min = end_time_min = 1.e9;
105 void ReportConfig()
const;
133 std::vector<std::vector<unsigned int>> GetMatchedClusters()
const;
138 return _matched_sps_v;
145 void ClearEventInfo();
149 void ClearMatchInputInfo();
152 void ClearMatchOutputInfo();
155 void ClearTTreeInfo();
206 std::vector<recob::SpacePoint>& sps_v);
212 double _overlay_tratio_cut;
224 std::vector<std::vector<recob::SpacePoint>>
230 bool _match_methods[kMATCH_METHOD_MAX];
241 std::vector<art::PtrVector<recob::Hit>>
243 std::vector<art::PtrVector<recob::Hit>>
245 std::vector<art::PtrVector<recob::Hit>>
std::vector< uint16_t > _w_nhits_v
Use summed charge comparison ... see Match_SumCharge() description.
trkf::SpacePointAlg * _sps_algo
SpacePointFinder algorithm pointer.
double peak_time_max
Maximum "peak time" among all hits in this cluster.
std::vector< art::PtrVector< recob::Hit > > _vhits_v
Local Hit pointer vector container ... V-plane.
void SetMCTruthModName(std::string name)
Method to specify input MCTruth's module name (optional)
double _time_offset_wplane
Reconstruction base classes.
double end_time_min
Minimum "end time" among all hits in this cluster.
std::vector< double > _vw_tratio_v
unsigned short wire_min
Minimum wire number in this cluster.
std::vector< art::PtrVector< recob::Hit > > _whits_v
Local Hit pointer vector container ... W-plane.
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
double _time_offset_uplane
double end_time_max
Maximum "end time" among all hits in this cluster.
unsigned short _tot_pass_t
Declaration of signal hit object.
std::vector< double > _wu_tratio_v
std::vector< double > _qratio_v
bool _store_sps
Boolean to enable storage of SpacePoint vector.
MatchMethod_t
Enum switch for various matching methods.
Set of hits with a 2D structure.
Use SpacePoint finder algorithm ... see Match_SpacePoint() description.
std::vector< cluster_match_info > _wcluster_v
Local cluster data container... W-plane.
Cluster finding and building.
unsigned short _tot_pass_sps
bool StoreSpacePoints() const
Method to check if it is configured to store SpacePoint.
std::vector< double > _tpeak_max_v
double _time_offset_vplane
std::vector< double > _charge_v
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
std::vector< uint16_t > _nhits_v
unsigned short cluster_index
Cluster's index position in the input cluster vector array.
cluster_match_info()
Default constructor.
std::vector< double > _tend_max_v
std::vector< double > _tend_min_v
std::vector< uint16_t > _nsps
double peak_time_min
Minimum "peak time" among all hits in this cluster.
double sum_charge
Summed charge among all hits in this cluster.
Rough-Time comparison method ... see Match_RoughTime() description.
std::string _ModName_MCTruth
MCTruth producer's module name.
std::vector< art::PtrVector< recob::Hit > > _uhits_v
Local Hit pointer vector container ... U-plane.
std::vector< uint16_t > _u_nhits_v
General LArSoft Utilities.
Definition of data types for geometry description.
std::vector< double > _tstart_max_v
std::vector< cluster_match_info > _vcluster_v
Local cluster data container... V-plane.
std::vector< double > _tstart_min_v
std::vector< double > _uv_tratio_v
bool _debug_mode
Boolean to enable debug mode (call all enabled matching methods)
const std::vector< std::vector< recob::SpacePoint > > & GetMatchedSpacePoints() const
Method to retrieve matched SpacePoint for each combinations.
std::vector< uint16_t > _view_v
unsigned short _tot_pass_qsum
Contains all timing reference information for the detector.
unsigned short wire_max
Maximum wire number in this cluster.
bool _det_params_prepared
std::vector< uint16_t > _v_nhits_v
std::vector< std::vector< recob::SpacePoint > > _matched_sps_v
Local SpacePoint vector container.
std::vector< unsigned int > _matched_uclusters_v
U plane matched clusters' index.
unsigned int nhits
Number of hits.
unsigned short _tot_pass_z
double start_time_max
Maximum "start time" among all hits in this cluster.
geo::View_t view
Wire plane ID.
cluster_match_info(unsigned short index)
Constructor with cluster's index ID.
std::vector< unsigned int > _matched_wclusters_v
W plane matched clusters' index.
std::vector< unsigned int > _matched_vclusters_v
V plane matched clusters' index.
std::vector< double > _tpeak_min_v
std::vector< cluster_match_info > _ucluster_v
Local cluster data container... U-plane.
double start_time_min
Minimum "start time" among all hits in this cluster.