10 #ifndef LARCOREALG_GEOMETRY_LOCALTRANSFORMATION_H
11 #define LARCOREALG_GEOMETRY_LOCALTRANSFORMATION_H
20 #include <type_traits>
31 template <
typename Dest,
typename Src>
40 template <
typename StoredMatrix,
typename ITER>
44 template <
typename StoredMatrix>
63 template <
typename StoredMatrix>
121 template <
typename ITER>
168 typename DestPoint,
typename SrcPoint,
172 {
return LocalToWorldImpl<DestPoint>(
local); }
173 template <
typename Po
int>
175 {
return LocalToWorldImpl<Point>(
local); }
203 typename DestVector,
typename SrcVector,
207 {
return LocalToWorldVectImpl<DestVector>(
local); }
208 template <
typename Vector>
210 {
return LocalToWorldVectImpl<Vector>(
local); }
251 typename DestPoint,
typename SrcPoint,
255 {
return WorldToLocalImpl<DestPoint>(world); }
256 template <
typename Po
int>
258 {
return WorldToLocalImpl<Point>(world); }
287 typename DestVector,
typename SrcVector,
291 {
return WorldToLocalVectImpl<DestVector>(world); }
292 template <
typename Vector>
294 {
return WorldToLocalVectImpl<Vector>(world); }
306 template <
typename DestPo
int,
typename SrcPo
int>
309 template <
typename DestVector,
typename SrcVector>
312 template <
typename DestPo
int,
typename SrcPo
int>
315 template <
typename DestVector,
typename SrcVector>
322 template <
typename Dest,
typename Src>
326 <std::decay_t<Dest>, std::decay_t<Src>>
::convert
327 (std::forward<Src>(trans));
337 #include "LocalTransformation.tcc"
342 #endif // LARCOREALG_GEOMETRY_LOCALTRANSFORMATION_H
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
decltype(auto) convertTransformationMatrix(Src &&trans)
Converts a transformation matrix into Dest format.
std::size_t size(FixedBins< T, C > const &) noexcept
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics path
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
auto end(FixedBins< T, C > const &) noexcept
static StoredMatrix transformationFromPath(ITER begin, ITER end)
Builds a matrix to go from local to world coordinates in one step.
auto begin(FixedBins< T, C > const &) noexcept
TimeTrackTreeStorage::TriggerInputSpec_t convert(TimeTrackTreeStorage::Config::TriggerSpecConfig const &config)
std::vector< TGeoNode const * >::const_iterator GeoNodeIterator_t