14 #ifndef RECOTOOL_MCMATCHALG_H 15 #define RECOTOOL_MCMATCHALG_H 44 bool BuildMap(
const std::vector< unsigned int> &g4_trackid_v,
45 const std::vector<sim::SimChannel> &simch_v,
50 const std::vector<sim::SimChannel> &simch_v,
58 const std::vector<int>&
BestClusters(
const size_t mcshower_index)
const;
65 const size_t mcshower_index)
const;
73 std::pair<size_t,double>
ShowerCorrectness(
const std::vector<unsigned int> cluster_indices)
const;
77 std::pair<double,double>
ClusterEP(
const size_t cluster_index,
78 const size_t mcshower_index)
const;
85 std::pair<double,double>
BestClusterEP(
const size_t mcshower_index,
86 const size_t plane_id)
const;
virtual ~MCMatchAlg()
Default destructor.
std::pair< double, double > BestClusterEP(const size_t mcshower_index, const size_t plane_id) const
Declaration of signal hit object.
Class def header for a class MCBTAlg.
const MCBTAlg & BTAlg() const
BTAlgo getter.
std::vector< std::vector< double > > _summed_mcq
std::vector< unsigned char > _cluster_plane_id
std::vector< std::vector< double > > _cluster_mcq_v
bool BuildMap(const std::vector< unsigned int > &g4_trackid_v, const std::vector< sim::SimChannel > &simch_v, const std::vector< std::vector< art::Ptr< recob::Hit > > > &cluster_v)
Constructs needed information for Reco=>MC matching.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
double ClusterCorrectness(const size_t cluster_index, const size_t mcshower_index) const
MCBTAlg fBTAlgo
MCBTAlg instance.
std::pair< double, double > ClusterEP(const size_t cluster_index, const size_t mcshower_index) const
For a specified cluster, compute cluster efficiency and purity in terms of specified MC object...
const std::vector< int > & BestClusters(const size_t mcshower_index) const
std::vector< size_t > _view_to_plane
MCMatchAlg()
Default constructor.
object containing MC truth information necessary for making RawDigits and doing back tracking ...
std::pair< size_t, double > ShowerCorrectness(const std::vector< unsigned int > cluster_indices) const
std::vector< std::vector< int > > _bmatch_id
art framework interface to geometry description