14 #ifndef RECOTOOL_MCBTALG_H
15 #define RECOTOOL_MCBTALG_H
23 class DetectorClocksData;
38 ch = std::numeric_limits<unsigned int>::max();
39 start =
end = std::numeric_limits<double>::max();
51 typedef std::map<unsigned int, ::btutil::edep_info_t>
59 MCBTAlg(
const std::vector<unsigned int>& g4_trackid_v,
60 const std::vector<sim::SimChannel>& simch_v);
62 void Reset(
const std::vector<unsigned int>& g4_trackid_v,
63 const std::vector<sim::SimChannel>& simch_v);
66 const std::vector<sim::SimChannel>& simch_v);
71 const std::vector<double>&
MCQSum(
const size_t plane_id)
const;
101 const std::vector<btutil::WireRange_t>& hit_v)
const;
111 const std::vector<btutil::WireRange_t>& hit_v)
const;
113 size_t Index(
const unsigned int g4_track_id)
const;
122 void Register(
const unsigned int& g4_track_id);
124 void Register(
const std::vector<unsigned int>& g4_track_id);
const std::vector< double > & MCQSum(const size_t plane_id) const
std::vector< std::vector< double > > _sum_mcq
void Reset(const std::vector< unsigned int > &g4_trackid_v, const std::vector< sim::SimChannel > &simch_v)
std::vector<::btutil::ch_info_t > _event_info
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
size_t Index(const unsigned int g4_track_id) const
std::vector< double > MCQ(detinfo::DetectorClocksData const &clockData, const WireRange_t &hit) const
WireRange_t(unsigned int c, double s, double e)
std::vector< double > edep_info_t
void ProcessSimChannel(const std::vector< sim::SimChannel > &simch_v)
std::vector< size_t > _trkid_to_index
Contains all timing reference information for the detector.
then echo File list $list not found else cat $list while read file do echo $file sed s
std::vector< double > MCQFrac(detinfo::DetectorClocksData const &clockData, const WireRange_t &hit) const
object containing MC truth information necessary for making RawDigits and doing back tracking ...
std::map< unsigned int,::btutil::edep_info_t > ch_info_t
void Register(const unsigned int &g4_track_id)