LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "SpacePointAlg_TimeSort.h"
Public Member Functions | |
SpacePointAlg_TimeSort (fhicl::ParameterSet const &pset) | |
void | setTimeOffsets (detinfo::DetectorPropertiesData const &detProp) |
void | fillCoordinatesArrays () |
void | createSpacePoints (detinfo::DetectorPropertiesData const &detProp, 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) const |
Private Attributes | |
float | fTimeDiffMax |
float | fYDiffMax |
Maximum allowed time difference. More... | |
float | fZDiffMax |
Maximum allowed y-coordinate difference. More... | |
bool | TIME_OFFSET_SET {false} |
Maximum allowed z-coordinate difference. More... | |
bool | COORDINATES_FILLED {false} |
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 42 of file SpacePointAlg_TimeSort.h.
|
explicit |
Definition at line 48 of file SpacePointAlg_TimeSort.cxx.
References fTimeDiffMax, fYDiffMax, fZDiffMax, and fhicl::ParameterSet::get().
void sppt::SpacePointAlg_TimeSort::createSpacePoints | ( | detinfo::DetectorPropertiesData const & | detProp, |
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 116 of file SpacePointAlg_TimeSort.cxx.
References util::abs(), COORDINATES_FILLED, coordinates_UV_y, coordinates_UV_z, coordinates_UY_y, coordinates_UY_z, fillCoordinatesArrays(), fTimeDiffMax, fYDiffMax, fZDiffMax, MF_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::setTimeOffsets | ( | detinfo::DetectorPropertiesData const & | detProp | ) |
Definition at line 70 of file SpacePointAlg_TimeSort.cxx.
References detinfo::DetectorPropertiesData::GetXTicksCoefficient(), detinfo::DetectorPropertiesData::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 269 of file SpacePointAlg_TimeSort.cxx.
Referenced by createSpacePoints().
|
private |
Definition at line 63 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 70 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 71 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 72 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 73 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and fillCoordinatesArrays().
|
private |
Definition at line 58 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and SpacePointAlg_TimeSort().
|
private |
Maximum allowed time difference.
Definition at line 59 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and SpacePointAlg_TimeSort().
|
private |
Maximum allowed y-coordinate difference.
Definition at line 60 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and SpacePointAlg_TimeSort().
|
private |
Definition at line 68 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().
|
private |
Maximum allowed z-coordinate difference.
Definition at line 62 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().
|
private |
Definition at line 65 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().
|
private |
Definition at line 66 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().
|
private |
Definition at line 67 of file SpacePointAlg_TimeSort.h.
Referenced by createSpacePoints(), and setTimeOffsets().