LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "SpacePointAlg_TimeSort.h"
Public Member Functions | |
SpacePointAlg_TimeSort (fhicl::ParameterSet const &pset) | |
~SpacePointAlg_TimeSort () | |
void | reconfigure (fhicl::ParameterSet const &pset) |
void | setTimeOffsets () |
void | fillCoordinatesArrays () |
void | createSpacePoints (std::vector< art::Ptr< recob::Hit > > &hitVec_U, std::vector< art::Ptr< recob::Hit > > &hitVec_V, std::vector< art::Ptr< recob::Hit > > &hitVec_Y, std::unique_ptr< std::vector< recob::SpacePoint > > &spptCollection, std::unique_ptr< std::vector< std::vector< art::Ptr< recob::Hit > > > > &spptAssociatedHits) |
Private Member Functions | |
void | sortHitsByTime (std::vector< art::Ptr< recob::Hit > > &hits_handle) |
Private Attributes | |
float | fTimeDiffMax |
float | fYDiffMax |
Maximum allowed time difference. More... | |
float | fZDiffMax |
Maximum allowed y-coordinate difference. More... | |
bool | TIME_OFFSET_SET |
Maximum allowed z-coordinate difference. More... | |
bool | COORDINATES_FILLED |
double | TIME_OFFSET_U |
double | TIME_OFFSET_V |
double | TIME_OFFSET_Y |
double | TICKS_TO_X |
boost::multi_array< double, 2 > | coordinates_UV_y |
boost::multi_array< double, 2 > | coordinates_UV_z |
boost::multi_array< double, 2 > | coordinates_UY_y |
boost::multi_array< double, 2 > | coordinates_UY_z |
Definition at line 34 of file SpacePointAlg_TimeSort.h.
sppt::SpacePointAlg_TimeSort::SpacePointAlg_TimeSort | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 37 of file SpacePointAlg_TimeSort.cxx.
References COORDINATES_FILLED, reconfigure(), and TIME_OFFSET_SET.
sppt::SpacePointAlg_TimeSort::~SpacePointAlg_TimeSort | ( | ) |
Definition at line 44 of file SpacePointAlg_TimeSort.cxx.
void sppt::SpacePointAlg_TimeSort::createSpacePoints | ( | std::vector< art::Ptr< recob::Hit > > & | hitVec_U, |
std::vector< art::Ptr< recob::Hit > > & | hitVec_V, | ||
std::vector< art::Ptr< recob::Hit > > & | hitVec_Y, | ||
std::unique_ptr< std::vector< recob::SpacePoint > > & | spptCollection, | ||
std::unique_ptr< std::vector< std::vector< art::Ptr< recob::Hit > > > > & | spptAssociatedHits | ||
) |
Definition at line 113 of file SpacePointAlg_TimeSort.cxx.
References COORDINATES_FILLED, coordinates_UV_y, coordinates_UV_z, coordinates_UY_y, coordinates_UY_z, fillCoordinatesArrays(), fTimeDiffMax, fYDiffMax, fZDiffMax, LOG_DEBUG, setTimeOffsets(), sortHitsByTime(), TICKS_TO_X, TIME_OFFSET_SET, TIME_OFFSET_U, TIME_OFFSET_V, and TIME_OFFSET_Y.
Referenced by sppt::TTSpacePointFinder::produce().
void sppt::SpacePointAlg_TimeSort::fillCoordinatesArrays | ( | ) |
Definition at line 81 of file SpacePointAlg_TimeSort.cxx.
References COORDINATES_FILLED, coordinates_UV_y, coordinates_UV_z, coordinates_UY_y, coordinates_UY_z, geo::GeometryCore::IntersectionPoint(), geo::kU, geo::kV, geo::kZ, and geo::GeometryCore::Nwires().
Referenced by sppt::TTSpacePointFinder::beginRun(), and createSpacePoints().
void sppt::SpacePointAlg_TimeSort::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 47 of file SpacePointAlg_TimeSort.cxx.
References fTimeDiffMax, fYDiffMax, fZDiffMax, and fhicl::ParameterSet::get().
Referenced by sppt::TTSpacePointFinder::reconfigure(), and SpacePointAlg_TimeSort().
void sppt::SpacePointAlg_TimeSort::setTimeOffsets | ( | ) |
Definition at line 69 of file SpacePointAlg_TimeSort.cxx.
References detinfo::DetectorProperties::GetXTicksCoefficient(), detinfo::DetectorProperties::GetXTicksOffset(), geo::kU, geo::kV, geo::kZ, TICKS_TO_X, TIME_OFFSET_SET, TIME_OFFSET_U, TIME_OFFSET_V, and TIME_OFFSET_Y.
Referenced by sppt::TTSpacePointFinder::beginRun(), and createSpacePoints().
|
private |
Definition at line 274 of file SpacePointAlg_TimeSort.cxx.
References sppt::HitTimeComparison().
Referenced by createSpacePoints().
|
private |
Definition at line 57 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), fillCoordinatesArrays(), and SpacePointAlg_TimeSort().
|
private |
Definition at line 64 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 65 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 66 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 67 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 52 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and reconfigure().
|
private |
Maximum allowed time difference.
Definition at line 53 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and reconfigure().
|
private |
Maximum allowed y-coordinate difference.
Definition at line 54 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and reconfigure().
|
private |
Definition at line 62 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().
|
private |
Maximum allowed z-coordinate difference.
Definition at line 56 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), setTimeOffsets(), and SpacePointAlg_TimeSort().
|
private |
Definition at line 59 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().
|
private |
Definition at line 60 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().
|
private |
Definition at line 61 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().