lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
SegGeometry.hh File Reference

Declares geometry::SegGeometry, the abstract interface to one detector segment's pixel geometry, and the min_of_arr/max_of_arr helpers. More...

Classes

class  geometry::SegGeometry
 Abstract interface to one segment's geometry: size, rows, cols, shape, pixel scale size, the pixel area, size, coordinate (per AXIS) and mask arrays, and the coordinate minimum and maximum. More...
 

Namespaces

namespace  geometry
 Usage.
 

Functions

template<typename T >
T geometry::min_of_arr (const T *arr, gsize_t size)
 Global method, returns minimal value of the array of specified length.
 
template<typename T >
T geometry::max_of_arr (const T *arr, gsize_t size)
 Global method, returns maximal value of the array of specified length.
 

Variables

static const angle_t geometry::DEG_TO_RAD = 3.141592653589793238463 / 180
 Abstract base class SegGeometry defines the interface to access segment pixel coordinates.
 

Detailed Description

Declares geometry::SegGeometry, the abstract interface to one detector segment's pixel geometry, and the min_of_arr/max_of_arr helpers.