16 #include "cetlib_except/exception.h" 39 catch (std::runtime_error
const&
e) {
41 <<
"Error in PointIsolationAlg configuration: " << e.what() <<
"\n";
45 else isolationAlg = std::make_unique<PointIsolationAlg_t>(config);
Coord_t radius2
square of isolation radius [cm^2]
double MinX() const
Returns the world x coordinate of the start of the box.
Coord_t radius2
square of isolation radius [cm^2]
Range_t rangeY
range in Y of the covered volume
double MaxX() const
Returns the world x coordinate of the end of the box.
Range_t rangeX
range in X of the covered volume
void initialize()
Initialises the algorithm with the current configuration and setup.
TPC_iterator begin_TPC() const
Returns an iterator pointing to the first TPC in the detector.
Access the description of detector geometry.
Algorithm(s) dealing with space point isolation in space.
void fillAlgConfigFromGeometry(PointIsolationAlg_t::Configuration_t &config)
Detects the boundaries of the volume to be sorted from the geometry.
std::unique_ptr< PointIsolationAlg_t > isolationAlg
the actual generic algorithm
Type containing all configuration parameters of the algorithm.
double MinZ() const
Returns the world z coordinate of the start of the box.
double MaxY() const
Returns the world y coordinate of the end of the box.
static void validateConfiguration(Configuration_t const &config)
A base class aware of world box coordinatesAn object describing a simple shape can inherit from this ...
Range_t rangeZ
range in Z of the covered volume
double MaxZ() const
Returns the world z coordinate of the end of the box.
void ExtendToInclude(Coord_t x, Coord_t y, Coord_t z)
Extends the current box to also include the specified point.
double MinY() const
Returns the world y coordinate of the start of the box.
cet::coded_exception< error, detail::translate > exception
TPC_iterator end_TPC() const
Returns an iterator pointing after the last TPC in the detector.
geo::GeometryCore const * geom
Pointer to the geometry to be used.