CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cass::pixeldetector::Frame Struct Reference

A Frame of an advance Pixel Detector. More...

#include <advanced_pixeldetector.h>

+ Collaboration diagram for cass::pixeldetector::Frame:

Public Member Functions

Detector::shape_t shape () const
 return the shape of the frame More...
 

Static Public Member Functions

static Detector::shape_t shapeFromName (const std::string &name)
 try to retrive the right shape of the detector from the name More...
 

Public Attributes

uint16_t columns
 how many columns More...
 
uint16_t rows
 how many rows More...
 
Detector::frame_t data
 the frame data More...
 

Detailed Description

A Frame of an advance Pixel Detector.

the frame consists of the data and columns and rows

Author
Lutz Foucar

Definition at line 40 of file advanced_pixeldetector.h.

Member Function Documentation

Detector::shape_t cass::pixeldetector::Frame::shape ( ) const
inline

return the shape of the frame

Definition at line 52 of file advanced_pixeldetector.h.

Referenced by shapeFromName().

static Detector::shape_t cass::pixeldetector::Frame::shapeFromName ( const std::string &  name)
inlinestatic

try to retrive the right shape of the detector from the name

in case the shape cannot be deduced from the name, 0,0 will be returned

Returns
the shape of the detector
Parameters
namethe name of the detector

Definition at line 64 of file advanced_pixeldetector.h.

References shape().

Referenced by cass::pixeldetector::CommonData::loadSettings().

Member Data Documentation

uint16_t cass::pixeldetector::Frame::columns
Detector::frame_t cass::pixeldetector::Frame::data
uint16_t cass::pixeldetector::Frame::rows

The documentation for this struct was generated from the following file: