Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larcorealg
larcorealg
Geometry
geo_vectors_fhicl.h
Go to the documentation of this file.
1
/**
2
* @file geo_vectors_fhicl.h
3
* @brief Helpers for reading vectors from FHiCL files.
4
* @author Gianluca Petrillo (petrillo@fnal.gov)
5
* @date March 24, 2017
6
* @ingroup Geometry
7
*
8
* This library depends on ROOT GenVector.
9
* In the CET link list in `CMakeLists.txt`, link to `${ROOT_GENVECTOR}`.
10
*
11
*/
12
13
#ifndef LARCOREOBJ_SIMPLETYPESANDCONSTANTS_GEO_VECTORS_FHICL_H
14
#define LARCOREOBJ_SIMPLETYPESANDCONSTANTS_GEO_VECTORS_FHICL_H
15
16
// LArSoft libraries
17
#include "
larcoreobj/SimpleTypesAndConstants/geo_vectors.h
"
18
19
// framework libraries
20
#include "
fhiclcpp/types/Atom.h
"
21
#include "
fhiclcpp/types/TupleAs.h
"
22
23
24
namespace
lar
{
25
26
/// LArSoft utilities for interface with FHiCL and its libraries.
27
namespace
fhicl
{
28
29
namespace
geo
{
30
31
/// Atom object for reading length (centimeters).
32
using
Length_t
=
::fhicl::Atom<::geo::Length_t>
;
33
34
35
/// Atom object for reading a 3D point or vector (centimeters).
36
template
<
typename
Po
int
>
37
using
Point3D
=
::fhicl::TupleAs
38
<
Point
(::
geo::Length_t
, ::
geo::Length_t
, ::
geo::Length_t
)>;
39
40
/// Atom object for reading a geometry point (centimeters).
41
using
Vector_t
=
Point3D<::geo::Vector_t>
;
42
43
/// Atom object for reading a geometry vector (centimeters).
44
using
Point_t
=
Point3D<::geo::Point_t>
;
45
46
}
// namespace geo
47
48
}
// namespace fhicl
49
50
}
// namespace lar
51
52
#endif // LARCOREOBJ_SIMPLETYPESANDCONSTANTS_GEO_VECTORS_FHICL_H
TupleAs.h
dcel2d::Point
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
Definition:
DCEL.h:44
fhicl
Definition:
InputSourceFactory.h:7
fhicl::TupleAs
Definition:
type_traits.h:48
fhicl::Atom
Definition:
type_traits.h:25
lar
LArSoft-specific namespace.
Definition:
EnsureOnlyOneSchedule.h:24
Atom.h
geo_vectors.h
Definitions of geometry vector data types.
geo
LArSoft geometry interface.
Definition:
ChannelGeo.h:16
Generated by
1.8.11