LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "PMAlgCosmicTagger.h"
Classes | |
struct | Config |
Public Member Functions | |
PMAlgCosmicTagger (const pma::PMAlgCosmicTagger::Config &config) | |
bool | tagAny () const |
void | tag (pma::TrkCandidateColl &tracks) |
Private Member Functions | |
size_t | outOfDriftWindow (pma::TrkCandidateColl &tracks) |
size_t | fullHeightCrossing (pma::TrkCandidateColl &tracks) |
size_t | fullWidthCrossing (pma::TrkCandidateColl &tracks) |
size_t | fullLengthCrossing (pma::TrkCandidateColl &tracks) |
size_t | fullCrossingTagger (pma::TrkCandidateColl &tracks, int direction) |
size_t | nonBeamT0Tag (pma::TrkCandidateColl &tracks) |
size_t | tagTopFrontBack (pma::TrkCandidateColl &tracks) |
size_t | tagApparentStopper (pma::TrkCandidateColl &tracks) |
bool | isTopVertex (const TVector3 &pos, double tolerance, short int dirIndx) const |
bool | isFrontBackVertex (const TVector3 &pos, double tolerance, short int dirIndx) const |
void | GetDimensions () |
short int | ConvertDirToInt (const TVector3 &dir) const |
Private Attributes | |
bool | fTagOutOfDriftTracks |
double | fOutOfDriftMargin |
bool | fTagFullHeightTracks |
bool | fTagFullWidthTracks |
bool | fTagFullLengthTracks |
double | fFullCrossingMargin |
bool | fTagNonBeamT0Tracks |
double | fNonBeamT0Margin |
bool | fTagTopFrontBack |
double | fTopFrontBackMargin |
bool | fTagApparentStopper |
double | fApparentStopperMargin |
bool | fVetoActualStopper |
double | fStopperBuffer |
std::vector< double > | fDimensionsMin |
std::vector< double > | fDimensionsMax |
Definition at line 25 of file PMAlgCosmicTagger.h.
|
inline |
Definition at line 93 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 426 of file PMAlgCosmicTagger.cxx.
Referenced by fullHeightCrossing(), fullLengthCrossing(), fullWidthCrossing(), tagAny(), tagApparentStopper(), and tagTopFrontBack().
|
private |
Definition at line 320 of file PMAlgCosmicTagger.cxx.
References fDimensionsMax, fDimensionsMin, fFullCrossingMargin, pma::Track3D::kCosmic, pma::Track3D::kGeometry_XX, pma::Track3D::kGeometry_YY, pma::Track3D::kGeometry_ZZ, pma::Track3D::kNotTagged, n, and pma::TrkCandidateColl::tracks().
Referenced by fullHeightCrossing(), fullLengthCrossing(), fullWidthCrossing(), and tagAny().
|
private |
Definition at line 281 of file PMAlgCosmicTagger.cxx.
References ConvertDirToInt(), dir, fullCrossingTagger(), and n.
Referenced by tag(), and tagAny().
|
private |
Definition at line 307 of file PMAlgCosmicTagger.cxx.
References ConvertDirToInt(), dir, fullCrossingTagger(), and n.
Referenced by tag(), and tagAny().
|
private |
Definition at line 294 of file PMAlgCosmicTagger.cxx.
References ConvertDirToInt(), dir, fullCrossingTagger(), and n.
Referenced by tag(), and tagAny().
|
private |
Definition at line 378 of file PMAlgCosmicTagger.cxx.
References geo::TPCGeo::DriftDistance(), fDimensionsMax, fDimensionsMin, geo::TPCGeo::HalfHeight(), geo::TPCGeo::HalfWidth(), geo::TPCGeo::Length(), geo::TPCGeo::LocalToWorld(), maxY, minY, and geo::origin().
Referenced by tag(), and tagAny().
|
private |
Definition at line 370 of file PMAlgCosmicTagger.cxx.
References fDimensionsMax, and fDimensionsMin.
Referenced by tagAny(), and tagTopFrontBack().
|
private |
Definition at line 364 of file PMAlgCosmicTagger.cxx.
References fDimensionsMax.
Referenced by tagAny(), and tagTopFrontBack().
|
private |
Definition at line 84 of file PMAlgCosmicTagger.cxx.
References fNonBeamT0Margin, pma::Track3D::kBeamIncompatible, pma::Track3D::kCosmic, n, and pma::TrkCandidateColl::tracks().
Referenced by tag(), and tagAny().
|
private |
Definition at line 37 of file PMAlgCosmicTagger.cxx.
References fOutOfDriftMargin, pma::Track3D::kCosmic, pma::Track3D::kOutsideDrift_Complete, pma::Track3D::kOutsideDrift_Partial, max, min, n, pma::Track3D::Nodes(), pma::Track3D::SetTagFlag(), and pma::TrkCandidateColl::tracks().
Referenced by tag(), and tagAny().
void pma::PMAlgCosmicTagger::tag | ( | pma::TrkCandidateColl & | tracks | ) |
Definition at line 16 of file PMAlgCosmicTagger.cxx.
References fTagApparentStopper, fTagFullHeightTracks, fTagFullLengthTracks, fTagFullWidthTracks, fTagNonBeamT0Tracks, fTagOutOfDriftTracks, fTagTopFrontBack, fullHeightCrossing(), fullLengthCrossing(), fullWidthCrossing(), GetDimensions(), n, nonBeamT0Tag(), outOfDriftWindow(), pma::TrkCandidateColl::size(), tagApparentStopper(), and tagTopFrontBack().
Referenced by pma::PMAlgTracker::build(), and tagAny().
|
inline |
Definition at line 112 of file PMAlgCosmicTagger.h.
References ConvertDirToInt(), dir, fTagApparentStopper, fTagFullHeightTracks, fTagFullLengthTracks, fTagFullWidthTracks, fTagNonBeamT0Tracks, fTagOutOfDriftTracks, fTagTopFrontBack, fullCrossingTagger(), fullHeightCrossing(), fullLengthCrossing(), fullWidthCrossing(), GetDimensions(), isFrontBackVertex(), isTopVertex(), nonBeamT0Tag(), outOfDriftWindow(), tag(), tagApparentStopper(), and tagTopFrontBack().
|
private |
Definition at line 159 of file PMAlgCosmicTagger.cxx.
References evd::details::begin(), ConvertDirToInt(), d, evd::details::end(), fApparentStopperMargin, fDimensionsMax, fDimensionsMin, fStopperBuffer, fVetoActualStopper, pma::Track3D::kCosmic, pma::Track3D::kGeometry_Y, pmtana::mean(), n, and pma::TrkCandidateColl::tracks().
Referenced by tag(), and tagAny().
|
private |
Definition at line 115 of file PMAlgCosmicTagger.cxx.
References ConvertDirToInt(), evd::details::end(), fTopFrontBackMargin, isFrontBackVertex(), isTopVertex(), pma::Track3D::kCosmic, pma::Track3D::kGeometry_YZ, n, and pma::TrkCandidateColl::tracks().
Referenced by tag(), and tagAny().
|
private |
Definition at line 151 of file PMAlgCosmicTagger.h.
Referenced by tagApparentStopper().
|
private |
Definition at line 158 of file PMAlgCosmicTagger.h.
Referenced by fullCrossingTagger(), GetDimensions(), isFrontBackVertex(), isTopVertex(), and tagApparentStopper().
|
private |
Definition at line 157 of file PMAlgCosmicTagger.h.
Referenced by fullCrossingTagger(), GetDimensions(), isFrontBackVertex(), and tagApparentStopper().
|
private |
Definition at line 142 of file PMAlgCosmicTagger.h.
Referenced by fullCrossingTagger().
|
private |
Definition at line 145 of file PMAlgCosmicTagger.h.
Referenced by nonBeamT0Tag().
|
private |
Definition at line 137 of file PMAlgCosmicTagger.h.
Referenced by outOfDriftWindow().
|
private |
Definition at line 153 of file PMAlgCosmicTagger.h.
Referenced by tagApparentStopper().
|
private |
Definition at line 150 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 139 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 141 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 140 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 144 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 136 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 147 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 148 of file PMAlgCosmicTagger.h.
Referenced by tagTopFrontBack().
|
private |
Definition at line 152 of file PMAlgCosmicTagger.h.
Referenced by tagApparentStopper().