LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PMAlgCosmicTagger.h"
Classes | |
struct | Config |
Public Member Functions | |
PMAlgCosmicTagger (const pma::PMAlgCosmicTagger::Config &config) | |
bool | tagAny () const |
void | tag (detinfo::DetectorClocksData const &clockData, pma::TrkCandidateColl &tracks) |
Private Member Functions | |
size_t | outOfDriftWindow (pma::TrkCandidateColl &tracks) const |
size_t | fullHeightCrossing (pma::TrkCandidateColl &tracks) const |
size_t | fullWidthCrossing (pma::TrkCandidateColl &tracks) const |
size_t | fullLengthCrossing (pma::TrkCandidateColl &tracks) const |
size_t | fullCrossingTagger (pma::TrkCandidateColl &tracks, int direction) const |
size_t | nonBeamT0Tag (detinfo::DetectorClocksData const &clockData, pma::TrkCandidateColl &tracks) const |
size_t | tagTopFrontBack (pma::TrkCandidateColl &tracks) const |
size_t | tagApparentStopper (pma::TrkCandidateColl &tracks) const |
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 geo::Vector_t &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 29 of file PMAlgCosmicTagger.h.
|
inline |
Definition at line 82 of file PMAlgCosmicTagger.h.
|
private |
Definition at line 444 of file PMAlgCosmicTagger.cxx.
Referenced by fullHeightCrossing(), fullLengthCrossing(), fullWidthCrossing(), tagApparentStopper(), and tagTopFrontBack().
|
private |
Definition at line 339 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(), and fullWidthCrossing().
|
private |
Definition at line 297 of file PMAlgCosmicTagger.cxx.
References ConvertDirToInt(), dir, fullCrossingTagger(), and n.
Referenced by tag().
|
private |
Definition at line 325 of file PMAlgCosmicTagger.cxx.
References ConvertDirToInt(), dir, fullCrossingTagger(), and n.
Referenced by tag().
|
private |
Definition at line 311 of file PMAlgCosmicTagger.cxx.
References ConvertDirToInt(), dir, fullCrossingTagger(), and n.
Referenced by tag().
|
private |
Definition at line 402 of file PMAlgCosmicTagger.cxx.
References fDimensionsMax, fDimensionsMin, maxY, and minY.
Referenced by tag().
|
private |
Definition at line 391 of file PMAlgCosmicTagger.cxx.
References fDimensionsMax, and fDimensionsMin.
Referenced by tagTopFrontBack().
|
private |
Definition at line 383 of file PMAlgCosmicTagger.cxx.
References fDimensionsMax.
Referenced by tagTopFrontBack().
|
private |
Definition at line 104 of file PMAlgCosmicTagger.cxx.
References fNonBeamT0Margin, pma::Track3D::kBeamIncompatible, pma::Track3D::kCosmic, n, pma::TrkCandidateColl::tracks(), and detinfo::trigger_offset().
Referenced by tag().
|
private |
Definition at line 44 of file PMAlgCosmicTagger.cxx.
References util::abs(), fOutOfDriftMargin, pma::Track3D::kCosmic, pma::Track3D::kOutsideDrift_Complete, pma::Track3D::kOutsideDrift_Partial, n, pma::Track3D::Nodes(), pma::Track3D::SetTagFlag(), and pma::TrkCandidateColl::tracks().
Referenced by tag().
void pma::PMAlgCosmicTagger::tag | ( | detinfo::DetectorClocksData const & | clockData, |
pma::TrkCandidateColl & | tracks | ||
) |
Definition at line 22 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().
|
inline |
Definition at line 103 of file PMAlgCosmicTagger.h.
References dir.
|
private |
Definition at line 171 of file PMAlgCosmicTagger.cxx.
References util::begin(), ConvertDirToInt(), d, util::end(), fApparentStopperMargin, fDimensionsMax, fDimensionsMin, fStopperBuffer, fVetoActualStopper, pma::Track3D::kCosmic, pma::Track3D::kGeometry_Y, pmtana::mean(), n, sum, and pma::TrkCandidateColl::tracks().
Referenced by tag().
|
private |
Definition at line 128 of file PMAlgCosmicTagger.cxx.
References ConvertDirToInt(), util::end(), fTopFrontBackMargin, isFrontBackVertex(), isTopVertex(), pma::Track3D::kCosmic, pma::Track3D::kGeometry_YZ, n, and pma::TrkCandidateColl::tracks().
Referenced by tag().
|
private |
Definition at line 147 of file PMAlgCosmicTagger.h.
Referenced by tagApparentStopper().
|
private |
Definition at line 156 of file PMAlgCosmicTagger.h.
Referenced by fullCrossingTagger(), GetDimensions(), isFrontBackVertex(), isTopVertex(), and tagApparentStopper().
|
private |
Definition at line 155 of file PMAlgCosmicTagger.h.
Referenced by fullCrossingTagger(), GetDimensions(), isFrontBackVertex(), and tagApparentStopper().
|
private |
Definition at line 137 of file PMAlgCosmicTagger.h.
Referenced by fullCrossingTagger().
|
private |
Definition at line 141 of file PMAlgCosmicTagger.h.
Referenced by nonBeamT0Tag().
|
private |
Definition at line 131 of file PMAlgCosmicTagger.h.
Referenced by outOfDriftWindow().
|
private |
Definition at line 149 of file PMAlgCosmicTagger.h.
Referenced by tagApparentStopper().
|
private |
Definition at line 146 of file PMAlgCosmicTagger.h.
Referenced by tag().
|
private |
Definition at line 134 of file PMAlgCosmicTagger.h.
Referenced by tag().
|
private |
Definition at line 136 of file PMAlgCosmicTagger.h.
Referenced by tag().
|
private |
Definition at line 135 of file PMAlgCosmicTagger.h.
Referenced by tag().
|
private |
Definition at line 140 of file PMAlgCosmicTagger.h.
Referenced by tag().
|
private |
Definition at line 130 of file PMAlgCosmicTagger.h.
Referenced by tag().
|
private |
Definition at line 143 of file PMAlgCosmicTagger.h.
Referenced by tag().
|
private |
Definition at line 144 of file PMAlgCosmicTagger.h.
Referenced by tagTopFrontBack().
|
private |
Definition at line 148 of file PMAlgCosmicTagger.h.
Referenced by tagApparentStopper().