EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Public Types | Public Member Functions | List of all members
eudaq::StandardPlane Class Reference
Inheritance diagram for eudaq::StandardPlane:
eudaq::Serializable

Public Types

enum  FLAGS {
  FLAG_ZS = 0x1, FLAG_NEEDCDS, FLAG_NEGATIVE = 0x4, FLAG_ACCUMULATE = 0x8,
  FLAG_WITHPIVOT = 0x10000, FLAG_WITHSUBMAT = 0x20000, FLAG_DIFFCOORDS
}
 
typedef double pixel_t
 
typedef double coord_t
 

Public Member Functions

 StandardPlane (unsigned id, const std::string &type, const std::string &sensor="")
 
 StandardPlane (Deserializer &)
 
void Serialize (Serializer &) const
 
void SetSizeRaw (unsigned w, unsigned h, unsigned frames=1, int flags=0)
 
void SetSizeZS (unsigned w, unsigned h, unsigned npix, unsigned frames=1, int flags=0)
 
template<typename T >
void SetPixel (unsigned index, unsigned x, unsigned y, T pix, bool pivot=false, unsigned frame=0)
 
template<typename T >
void SetPixel (unsigned index, unsigned x, unsigned y, T pix, unsigned frame)
 
template<typename T >
void PushPixel (unsigned x, unsigned y, T pix, bool pivot=false, unsigned frame=0)
 
template<typename T >
void PushPixel (unsigned x, unsigned y, T pix, unsigned frame)
 
void SetPixelHelper (unsigned index, unsigned x, unsigned y, double pix, bool pivot, unsigned frame)
 
void PushPixelHelper (unsigned x, unsigned y, double pix, bool pivot, unsigned frame)
 
double GetPixel (unsigned index, unsigned frame) const
 
double GetPixel (unsigned index) const
 
double GetX (unsigned index, unsigned frame) const
 
double GetX (unsigned index) const
 
double GetY (unsigned index, unsigned frame) const
 
double GetY (unsigned index) const
 
bool GetPivot (unsigned index, unsigned frame=0) const
 
void SetPivot (unsigned index, unsigned frame, bool PivotFlag)
 
template<typename T >
std::vector< T > GetPixels () const
 
const std::vector< coord_t > & XVector (unsigned frame) const
 
const std::vector< coord_t > & XVector () const
 
const std::vector< coord_t > & YVector (unsigned frame) const
 
const std::vector< coord_t > & YVector () const
 
const std::vector< pixel_t > & PixVector (unsigned frame) const
 
const std::vector< pixel_t > & PixVector () const
 
void SetXSize (unsigned x)
 
void SetYSize (unsigned y)
 
void SetTLUEvent (unsigned ev)
 
void SetPivotPixel (unsigned p)
 
void SetFlags (FLAGS flags)
 
unsigned ID () const
 
const std::string & Type () const
 
const std::string & Sensor () const
 
unsigned XSize () const
 
unsigned YSize () const
 
unsigned NumFrames () const
 
unsigned TotalPixels () const
 
unsigned HitPixels (unsigned frame) const
 
unsigned HitPixels () const
 
unsigned TLUEvent () const
 
unsigned PivotPixel () const
 
int GetFlags (int f) const
 
bool NeedsCDS () const
 
int Polarity () const
 
void Print (std::ostream &) const
 

The documentation for this class was generated from the following files: