LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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) const |
Private Member Functions | |
std::vector< int > | InitialTrackLikeSegment (std::map< int, std::unique_ptr< ReconTrack >> &reconTracks) const |
TVector3 | Gradient (const std::vector< TVector3 > &points, const std::unique_ptr< TVector3 > &dir) const |
TVector3 | Gradient (const art::Ptr< recob::Track > &track) const |
TVector3 | Gradient (const std::vector< art::Ptr< recob::SpacePoint >> &spacePoints) const |
TVector3 | ProjPoint (const TVector3 &point, const TVector3 &direction, const TVector3 &origin=TVector3(0, 0, 0)) const |
TVector3 | SpacePointPos (const art::Ptr< recob::SpacePoint > &spacePoint) const |
Return 3D point of this space point. More... | |
double | SpacePointsRMS (const std::vector< art::Ptr< recob::SpacePoint >> &spacePoints) const |
Private Attributes | |
int | fDebug |
double | fConeAngle |
double | fCylinderRadius |
double | fTrackVertexCut |
double | fCylinderCut |
double | fShowerConeCut |
Definition at line 200 of file TrackShowerSeparationAlg.h.
shower::TrackShowerSeparationAlg::TrackShowerSeparationAlg | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 18 of file TrackShowerSeparationAlg.cxx.
References reconfigure().
|
private |
Definition at line 355 of file TrackShowerSeparationAlg.cxx.
Referenced by Gradient(), SelectShowerHits(), and SpacePointsRMS().
|
private |
Definition at line 386 of file TrackShowerSeparationAlg.cxx.
References dir, Gradient(), recob::Track::LocationAtPoint(), recob::Track::NumberTrajectoryPoints(), and recob::Track::VertexDirection().
|
private |
Definition at line 399 of file TrackShowerSeparationAlg.cxx.
References dir, Gradient(), SpacePointPos(), and lar::dump::vector().
|
private |
Definition at line 276 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 414 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 23 of file TrackShowerSeparationAlg.cxx.
References fConeAngle, fCylinderCut, fCylinderRadius, fDebug, fShowerConeCut, fTrackVertexCut, and fhicl::ParameterSet::get().
Referenced by 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 | ||
) | const |
Definition at line 34 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 421 of file TrackShowerSeparationAlg.cxx.
References recob::SpacePoint::XYZ().
Referenced by Gradient(), SelectShowerHits(), and SpacePointsRMS().
|
private |
Definition at line 428 of file TrackShowerSeparationAlg.cxx.
References Gradient(), proj, ProjPoint(), SpacePointPos(), and lar::dump::vector().
|
private |
Definition at line 248 of file TrackShowerSeparationAlg.h.
Referenced by InitialTrackLikeSegment(), reconfigure(), and SelectShowerHits().
|
private |
Definition at line 253 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure(), and SelectShowerHits().
|
private |
Definition at line 249 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure(), and SelectShowerHits().
|
private |
Definition at line 245 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure(), and SelectShowerHits().
|
private |
Definition at line 254 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure().
|
private |
Definition at line 252 of file TrackShowerSeparationAlg.h.
Referenced by reconfigure(), and SelectShowerHits().