12 #ifndef TrackShowerSeparationAlg_hxx 13 #define TrackShowerSeparationAlg_hxx 37 #include "TPrincipal.h" 39 #include "TPolyLine3D.h" 43 class TrackShowerSeparationAlg;
84 const std::vector<art::Ptr<recob::Hit> >&
Hits()
const {
return fHits; }
139 return TMath::Mean(distances.begin(), distances.end()); }
149 std::vector<art::Ptr<recob::Hit> >
fHits;
177 std::vector<art::Ptr<recob::Hit> > SelectShowerHits(
int event,
189 std::vector<int> InitialTrackLikeSegment(std::map<
int,std::unique_ptr<ReconTrack> >& reconTracks);
192 TVector3 Gradient(
const std::vector<TVector3>& points,
const std::unique_ptr<TVector3>&
dir);
202 TVector3 ProjPoint(
const TVector3& point,
const TVector3& direction,
const TVector3&
origin = TVector3(0,0,0));
void SetDirection(TVector3 direction)
bool ShowerTrackCandidate() const
const std::vector< art::Ptr< recob::SpacePoint > > & SpacePoints() const
void SetEnd(TVector3 end)
const std::vector< int > & ForwardConeTracks() const
double CylinderSpacePointRatio() const
const std::vector< int > & ShowerTracks() const
void AddForwardSpacePoint(int spacePoint)
Declaration of signal hit object.
void SetLength(double length)
void AddBackwardTrack(int track)
double IsolationSpacePointDistance() const
int NumCylinderSpacePoints() const
int ForwardSpacePoints() const
std::map< int, double > fIsolationSpacePoints
void SetSpacePoints(std::vector< art::Ptr< recob::SpacePoint > > spacePoints)
void AddForwardTrack(int track)
std::vector< int > fBackwardSpacePoints
bool IsShowerTrack() const
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void SetVertex(TVector3 vertex)
std::vector< int > fForwardConeTracks
std::vector< art::Ptr< recob::SpacePoint > > fSpacePoints
const std::vector< art::Ptr< recob::Hit > > & Hits() const
std::vector< int > fSphereSpacePoints
Declaration of cluster object.
Provides recob::Track data product.
void SetVertexDir(TVector3 vertexDir)
void AddCylinderSpacePoint(int spacePoint)
std::vector< int > fShowerTracks
std::vector< int > fForwardSpacePoints
TVector3 VertexDirection() const
bool IsUndetermined() const
double SphereSpacePointDensity(double scale) const
std::vector< art::Ptr< recob::Hit > > fHits
void AddSphereSpacePoint(int spacePoint)
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)
void AddIsolationSpacePoint(int spacePoint, double distance)
void SetHits(std::vector< art::Ptr< recob::Hit > > hits)
int TrackConeSize() const
TVector3 Direction() const
void AddShowerTrack(int track)
void AddBackwardSpacePoint(int spacePoint)
bool IsShowerCone() const
std::vector< int > fCylinderSpacePoints
constexpr Point origin()
Returns a origin position with a point of the specified type.
Event finding and building.
std::vector< int > fBackwardConeTracks
int NumSphereSpacePoints() const