![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "TrackContainmentAlg.hh"
Public Member Functions | |
| TrackContainmentAlg () | |
| Default constructor. More... | |
| void | SetupOutputTree (TTree *) |
| void | Configure (fhicl::ParameterSet const &) |
| void | SetRunEvent (unsigned int const &, unsigned int const &) |
| void | ProcessTracks (std::vector< std::vector< recob::Track >> const &, geo::GeometryCore const &, geo::WireReadoutGeom const &) |
| std::vector< std::vector< int > > const & | GetTrackContainmentValues () |
| std::vector< std::vector< double > > const & | GetTrackMinDistanceValues () |
| std::vector< std::vector< anab::CosmicTag > > const & | GetTrackCosmicTags () |
| void | setMakeCosmicTags (bool flag=true) |
| void | setFillOutputTree (bool flag=true) |
Private Member Functions | |
| bool | IsContained (recob::Track const &, geo::GeometryCore const &) |
| anab::CosmicTagID_t | GetCosmicTagID (recob::Track const &, geo::GeometryCore const &) |
| double | MinDistanceStartPt (recob::Track const &, recob::Track const &) |
| double | MinDistanceEndPt (recob::Track const &, recob::Track const &) |
Private Attributes | |
| double | fZBuffer |
| double | fYBuffer |
| double | fXBuffer |
| double | fIsolation |
| bool | fMakeCosmicTags |
| bool | fDebug |
| bool | fFillOutputTree |
| TTree * | fTrackTree |
| TrackTree_t | fTrackTreeObj |
| unsigned int | fRun |
| unsigned int | fEvent |
| unsigned int | fCollection |
| unsigned int | fTrkID |
| double | fDistance |
| int | fContainment |
| std::vector< std::vector< int > > | fTrackContainmentLevel |
| std::vector< std::vector< std::pair< int, int > > > | fTrackContainmentIndices |
| std::vector< std::vector< double > > | fMinDistances |
| std::vector< std::vector< anab::CosmicTag > > | fCosmicTags |
Definition at line 67 of file TrackContainmentAlg.hh.
| trk::TrackContainmentAlg::TrackContainmentAlg | ( | ) |
| void trk::TrackContainmentAlg::Configure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 26 of file TrackContainmentAlg.cxx.
References fDebug, fFillOutputTree, fIsolation, fMakeCosmicTags, fXBuffer, fYBuffer, fZBuffer, and fhicl::ParameterSet::get().
Referenced by trk::TrackContainmentAnalyzer::TrackContainmentAnalyzer(), and trk::TrackContainmentTagger::TrackContainmentTagger().
|
private |
Definition at line 58 of file TrackContainmentAlg.cxx.
References recob::Track::End(), fXBuffer, fYBuffer, fZBuffer, anab::kGeometry_X, anab::kGeometry_XX, anab::kGeometry_XY, anab::kGeometry_XZ, anab::kGeometry_Y, anab::kGeometry_YY, anab::kGeometry_YZ, anab::kGeometry_Z, anab::kGeometry_ZZ, anab::kNotTagged, anab::kOutsideDrift_Complete, anab::kOutsideDrift_Partial, geo::GeometryCore::TPC(), and recob::Track::Vertex().
Referenced by ProcessTracks().
|
inline |
Definition at line 82 of file TrackContainmentAlg.hh.
| std::vector< std::vector< anab::CosmicTag > > const & trk::TrackContainmentAlg::GetTrackCosmicTags | ( | ) |
Definition at line 323 of file TrackContainmentAlg.cxx.
References fCosmicTags, and fMakeCosmicTags.
Referenced by trk::TrackContainmentTagger::produce().
|
inline |
Definition at line 86 of file TrackContainmentAlg.hh.
|
private |
Definition at line 38 of file TrackContainmentAlg.cxx.
References recob::Track::End(), fXBuffer, fYBuffer, fZBuffer, geo::GeometryCore::TPC(), and recob::Track::Vertex().
Referenced by ProcessTracks().
|
private |
Definition at line 132 of file TrackContainmentAlg.cxx.
References recob::Track::End(), recob::Track::LocationAtPoint(), and recob::Track::NumberTrajectoryPoints().
Referenced by ProcessTracks().
|
private |
Definition at line 121 of file TrackContainmentAlg.cxx.
References recob::Track::LocationAtPoint(), recob::Track::NumberTrajectoryPoints(), and recob::Track::Vertex().
Referenced by ProcessTracks().
| void trk::TrackContainmentAlg::ProcessTracks | ( | std::vector< std::vector< recob::Track >> const & | tracksVec, |
| geo::GeometryCore const & | geo, | ||
| geo::WireReadoutGeom const & | wireReadoutGeom | ||
| ) |
Definition at line 149 of file TrackContainmentAlg.cxx.
References util::end(), fCollection, fContainment, fCosmicTags, fDebug, fDistance, fFillOutputTree, fIsolation, fMakeCosmicTags, fMinDistances, fTrackContainmentIndices, fTrackContainmentLevel, fTrackTree, fTrackTreeObj, fTrkID, fXBuffer, fYBuffer, fZBuffer, GetCosmicTagID(), geo::TPCGeo::HalfWidth(), IsContained(), anab::kNotIsolated, anab::kNotTagged, MinDistanceEndPt(), MinDistanceStartPt(), geo::PlaneGeo::NearestWireID(), geo::WireReadoutGeom::Nplanes(), geo::WireReadoutGeom::Plane(), util::size(), geo::GeometryCore::TPC(), lar::dump::vector(), and geo::WireID::Wire.
Referenced by trk::TrackContainmentAnalyzer::analyze(), and trk::TrackContainmentTagger::produce().
|
inline |
Definition at line 90 of file TrackContainmentAlg.hh.
Referenced by trk::TrackContainmentAnalyzer::TrackContainmentAnalyzer().
|
inline |
Definition at line 89 of file TrackContainmentAlg.hh.
Referenced by trk::TrackContainmentTagger::TrackContainmentTagger().
| void trk::TrackContainmentAlg::SetRunEvent | ( | unsigned int const & | run, |
| unsigned int const & | event | ||
| ) |
Definition at line 143 of file TrackContainmentAlg.cxx.
Referenced by trk::TrackContainmentAnalyzer::analyze(), and trk::TrackContainmentTagger::produce().
| void trk::TrackContainmentAlg::SetupOutputTree | ( | TTree * | tfs_tree_trk | ) |
Definition at line 13 of file TrackContainmentAlg.cxx.
References fCollection, fContainment, fDistance, fEvent, fRun, fTrackTree, fTrackTreeObj, fTrkID, and trk::TrackTree::Leaflist().
Referenced by trk::TrackContainmentAnalyzer::TrackContainmentAnalyzer(), and trk::TrackContainmentTagger::TrackContainmentTagger().
|
private |
Definition at line 105 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks(), and SetupOutputTree().
|
private |
Definition at line 108 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks(), and SetupOutputTree().
|
private |
Definition at line 113 of file TrackContainmentAlg.hh.
Referenced by GetTrackCosmicTags(), and ProcessTracks().
|
private |
Definition at line 98 of file TrackContainmentAlg.hh.
Referenced by Configure(), and ProcessTracks().
|
private |
Definition at line 107 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks(), and SetupOutputTree().
|
private |
Definition at line 104 of file TrackContainmentAlg.hh.
Referenced by SetRunEvent(), and SetupOutputTree().
|
private |
Definition at line 99 of file TrackContainmentAlg.hh.
Referenced by Configure(), and ProcessTracks().
|
private |
Definition at line 96 of file TrackContainmentAlg.hh.
Referenced by Configure(), and ProcessTracks().
|
private |
Definition at line 97 of file TrackContainmentAlg.hh.
Referenced by Configure(), GetTrackCosmicTags(), and ProcessTracks().
|
private |
Definition at line 112 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks().
|
private |
Definition at line 103 of file TrackContainmentAlg.hh.
Referenced by SetRunEvent(), and SetupOutputTree().
|
private |
Definition at line 111 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks().
|
private |
Definition at line 110 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks().
|
private |
Definition at line 101 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks(), and SetupOutputTree().
|
private |
Definition at line 102 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks(), and SetupOutputTree().
|
private |
Definition at line 106 of file TrackContainmentAlg.hh.
Referenced by ProcessTracks(), and SetupOutputTree().
|
private |
Definition at line 95 of file TrackContainmentAlg.hh.
Referenced by Configure(), GetCosmicTagID(), IsContained(), and ProcessTracks().
|
private |
Definition at line 94 of file TrackContainmentAlg.hh.
Referenced by Configure(), GetCosmicTagID(), IsContained(), and ProcessTracks().
|
private |
Definition at line 93 of file TrackContainmentAlg.hh.
Referenced by Configure(), GetCosmicTagID(), IsContained(), and ProcessTracks().