9 #ifndef TRAJCLUSTERALG_H
10 #define TRAJCLUSTERALG_H
18 namespace fhicl {
class ParameterSet; }
26 class DetectorClocksData;
30 #include "TMVA/Reader.h"
39 bool SetInputHits(std::vector<recob::Hit>
const& inputHits,
55 std::vector<unsigned int>& hitsInSlice,
59 std::vector<unsigned int>& hitsInSlice,
76 std::vector<recob::Hit>& newHitCol,
77 std::vector<unsigned int>& newHitAssns)
const;
79 std::vector<unsigned int>
const&
84 std::vector<std::string>
const&
122 #endif // ifndef TRAJCLUSTERALG_H
void ClearResults()
Deletes all the results.
const std::vector< std::string > AlgBitNames
Declaration of signal hit object.
void RunTrajClusterAlg(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< unsigned int > &hitsInSlice, int sliceID)
calo::CalorimetryAlg fCaloAlg
bool CreateSlice(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< unsigned int > &hitsInSlice, int sliceID)
bool expectSlicedHits
info passed from the module - used to (not) define wireHitRange
std::vector< std::string > const & GetAlgBitNames() const
std::vector< std::array< unsigned int, 3 > > sptHits
SpacePoint -> Hits assns by plane.
bool SetInputHits(std::vector< recob::Hit > const &inputHits, unsigned int run, unsigned int event)
std::vector< unsigned int > fAlgModCount
void DefineShTree(TTree *t)
recob::Hit MergeTPHitsOnWire(std::vector< unsigned int > &tpHits) const
unsigned short GetSlicesSize() const
std::vector< TCSlice > slices
TCSlice const & GetSlice(unsigned short sliceIndex) const
std::vector< recob::SpacePoint > const * sptHandle
handle to SpacePoints in the event
Contains all timing reference information for the detector.
TrajClusterAlg(fhicl::ParameterSet const &pset)
void MergeTPHits(std::vector< unsigned int > &tpHits, std::vector< recob::Hit > &newHitCol, std::vector< unsigned int > &newHitAssns) const
void SetSourceHits(std::vector< recob::Hit > const &srcHits)
2D representation of charge deposited in the TDC/wire plane
void ChkInTraj(std::string someText, TCSlice &slc)
void ReconstructAllTraj(detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, CTP_t inCTP)
void SetInputSpts(std::vector< recob::SpacePoint > const &sptHandle)
std::vector< std::vector< std::pair< unsigned int, unsigned int > > > wireHitRange
void FindJunkTraj(TCSlice &slc, CTP_t inCTP)
std::vector< unsigned int > const & GetAlgModCount() const