LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "TrackShowerSeparationAlg.h"
Public Member Functions | |
TrackShowerSeparationAlg (fhicl::ParameterSet const &pset) | |
void | reconfigure (fhicl::ParameterSet const &pset) |
Read in configurable parameters from provided parameter set. More... | |
std::vector< art::Ptr< recob::Hit > > | SelectShowerHits (int event, const std::vector< art::Ptr< recob::Hit > > &hits, const std::vector< art::Ptr< recob::Track > > &tracks, const std::vector< art::Ptr< recob::SpacePoint > > &spacePoints, const art::FindManyP< recob::Hit > &fmht, const art::FindManyP< recob::Track > &fmth, const art::FindManyP< recob::SpacePoint > &fmspt, const art::FindManyP< recob::Track > &fmtsp) |
Private Member Functions | |
std::vector< int > | InitialTrackLikeSegment (std::map< int, std::unique_ptr< ReconTrack > > &reconTracks) |
TVector3 | Gradient (const std::vector< TVector3 > &points, const std::unique_ptr< TVector3 > &dir) |
TVector3 | Gradient (const art::Ptr< recob::Track > &track) |
TVector3 | Gradient (const std::vector< art::Ptr< recob::SpacePoint > > &spacePoints) |
TVector3 | ProjPoint (const TVector3 &point, const TVector3 &direction, const TVector3 &origin=TVector3(0, 0, 0)) |
TVector3 | SpacePointPos (const art::Ptr< recob::SpacePoint > &spacePoint) |
Return 3D point of this space point. More... | |
double | SpacePointsRMS (const std::vector< art::Ptr< recob::SpacePoint > > &spacePoints) |
Private Attributes | |
int | fDebug |
double | fConeAngle |
double | fCylinderRadius |
double | fTrackVertexCut |
double | fCylinderCut |
double | fShowerConeCut |
Definition at line 169 of file TrackShowerSeparationAlg.h.
shower::TrackShowerSeparationAlg::TrackShowerSeparationAlg | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 14 of file TrackShowerSeparationAlg.cxx.
References reconfigure().
|
private |
Definition at line 346 of file TrackShowerSeparationAlg.cxx.
Referenced by Gradient(), SelectShowerHits(), and SpacePointsRMS().
|
private |
Definition at line 378 of file TrackShowerSeparationAlg.cxx.
References dir, Gradient(), recob::Track::LocationAtPoint(), recob::Track::NumberTrajectoryPoints(), and recob::Track::VertexDirection().
|
private |
Definition at line 391 of file TrackShowerSeparationAlg.cxx.
References dir, Gradient(), SpacePointPos(), and lar::dump::vector().
|
private |
Definition at line 280 of file TrackShowerSeparationAlg.cxx.
References fConeAngle.
|
private |
Projects the 3D point given along the line defined by the specified direction Coordinate system is assumed to be centred at the origin unless a difference point is specified
Definition at line 403 of file TrackShowerSeparationAlg.cxx.
References geo::origin().
Referenced by SelectShowerHits(), and SpacePointsRMS().
void shower::TrackShowerSeparationAlg::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Read in configurable parameters from provided parameter set.
Definition at line 18 of file TrackShowerSeparationAlg.cxx.
References fConeAngle, fCylinderCut, fCylinderRadius, fDebug, fShowerConeCut, fTrackVertexCut, and fhicl::ParameterSet::get().
Referenced by cluster::BlurredClustering::reconfigure(), and TrackShowerSeparationAlg().
std::vector< art::Ptr< recob::Hit > > shower::TrackShowerSeparationAlg::SelectShowerHits | ( | int | event, |
const std::vector< art::Ptr< recob::Hit > > & | hits, | ||
const std::vector< art::Ptr< recob::Track > > & | tracks, | ||
const std::vector< art::Ptr< recob::SpacePoint > > & | spacePoints, | ||
const art::FindManyP< recob::Hit > & | fmht, | ||
const art::FindManyP< recob::Track > & | fmth, | ||
const art::FindManyP< recob::SpacePoint > & | fmspt, | ||
const art::FindManyP< recob::Track > & | fmtsp | ||
) |
Definition at line 28 of file TrackShowerSeparationAlg.cxx.
References fConeAngle, fCylinderCut, fCylinderRadius, fDebug, for(), fTrackVertexCut, Gradient(), hits(), proj, ProjPoint(), SpacePointPos(), track, and lar::dump::vector().
Referenced by cluster::BlurredClustering::produce().
|
private |
Return 3D point of this space point.
Definition at line 407 of file TrackShowerSeparationAlg.cxx.
References recob::SpacePoint::XYZ().
Referenced by Gradient(), SelectShowerHits(), and SpacePointsRMS().
|
private |
Definition at line 412 of file TrackShowerSeparationAlg.cxx.
References Gradient(), proj, ProjPoint(), SpacePointPos(), and lar::dump::vector().
|
private |
Definition at line 214 of file TrackShowerSeparationAlg.h.
Referenced by InitialTrackLikeSegment(), reconfigure(), and SelectShowerHits().
|
private |
Definition at line 219 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure(), and SelectShowerHits().
|
private |
Definition at line 215 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure(), and SelectShowerHits().
|
private |
Definition at line 211 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure(), and SelectShowerHits().
|
private |
Definition at line 220 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure().
|
private |
Definition at line 218 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure(), and SelectShowerHits().