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

Declares detector-level types: detector::CALIB_TYPE, element-type aliases, the AREADETTYPE enum and the name-to-type map with its lookup functions. More...

#include "psalg/calib/CalibParsTypes.hh"
#include <string>
#include <map>

Namespaces

namespace  detector
 Namespace of the psalg detector classes and types (Detector, AreaDetector and subclasses, AREADETTYPE, ...).
 

Typedefs

typedef uint32_t detector::shape_t
 uint32_t; element type of shape arrays (e.g.
 
typedef uint32_t detector::size_t
 uint32_t.
 
typedef uint16_t detector::raw_t
 uint16_t; element type of AreaDetector::raw(const event_t&).
 
typedef float detector::event_t
 float; the type of the event argument of the AreaDetector accessors.
 
typedef float detector::calib_t
 float; element type of AreaDetector::calib().
 
typedef float detector::image_t
 float; element type of AreaDetector::image().
 

Enumerations

enum  detector::CALIB_TYPE {
  detector::PEDESTALS =0 , detector::PIXEL_RMS , detector::PIXEL_STATUS , detector::PIXEL_GAIN ,
  detector::PIXEL_OFFSET , detector::PIXEL_MASK , detector::PIXEL_BKGD , detector::COMMON_MODE
}
 Calibration types (values 0..7). More...
 
enum  detector::AREADETTYPE {
  detector::UNDEFINED = 0 , detector::CSPAD , detector::CSPAD2X2 , detector::PRINCETON ,
  detector::PNCCD , detector::TM6740 , detector::OPAL1000 , detector::OPAL2000 ,
  detector::OPAL4000 , detector::OPAL8000 , detector::ORCAFL40 , detector::EPIX ,
  detector::EPIX10KA , detector::EPIX10KA2M , detector::EPIX100A , detector::EPIXS ,
  detector::EPIXUHR , detector::FCCD960 , detector::FCCD , detector::ANDOR3D ,
  detector::ANDOR , detector::DUALANDOR , detector::ACQIRIS , detector::IMP ,
  detector::QUARTZ4A150 , detector::RAYONIX , detector::EVR , detector::TIMEPIX ,
  detector::FLI , detector::PIMAX , detector::JUNGFRAU , detector::ZYLA ,
  detector::EPICSCAM , detector::PIXIS , detector::UXI , detector::STREAKC7700 ,
  detector::ARCHON
}
 Area detector types (0..36). More...
 

Functions

const AREADETTYPE detector::find_area_dettype (const std::string &detname)
 Return the type of the first key of map_area_detname_to_dettype, in alphabetical key order, that occurs (case-sensitively) in detname, or UNDEFINED if none does.
 
void detector::print_map_area_detname_to_dettype ()
 Log all entries of map_area_detname_to_dettype as one INFO message, one "key => value" line each.
 

Variables

static std::map< std::string, AREADETTYPE > detector::map_area_detname_to_dettype
 Map from a lower-case name fragment to AREADETTYPE, searched by find_area_dettype().
 

Detailed Description

Declares detector-level types: detector::CALIB_TYPE, element-type aliases, the AREADETTYPE enum and the name-to-type map with its lookup functions.