FEDRA emulsion software from the OPERA Collaboration
EdbCamera Class Reference

#include <EdbRunHeader.h>

Inheritance diagram for EdbCamera:
Collaboration diagram for EdbCamera:

Public Member Functions

 EdbCamera (float w=0, float h=0, int r=0, int c=0)
 
Int_t GetColumns () const
 
Float_t GetHeight () const
 
Int_t GetRows () const
 
Float_t GetWidth () const
 
void Print () const
 
void SetCamera (float w=0, float h=0, int r=0, int c=0)
 
virtual ~EdbCamera ()
 

Private Attributes

Int_t eColumns
 number of columns in the matrix More...
 
Float_t eHeight
 dimension of the image along columns More...
 
Int_t eRows
 number of rows in the matrix More...
 
Float_t eWidth
 dimension of the image along rows More...
 

Constructor & Destructor Documentation

◆ EdbCamera()

EdbCamera::EdbCamera ( float  w = 0,
float  h = 0,
int  r = 0,
int  c = 0 
)
inline
79 :
80 eWidth(w), eHeight(h), eRows(r), eColumns(c) {}
Float_t eWidth
dimension of the image along rows
Definition: EdbRunHeader.h:73
Int_t eRows
number of rows in the matrix
Definition: EdbRunHeader.h:75
Float_t eHeight
dimension of the image along columns
Definition: EdbRunHeader.h:74
Int_t eColumns
number of columns in the matrix
Definition: EdbRunHeader.h:76
void w(int rid=2, int nviews=2)
Definition: test.C:27
void r(int rid=2)
Definition: test.C:201

◆ ~EdbCamera()

virtual EdbCamera::~EdbCamera ( )
inlinevirtual
81{ }

Member Function Documentation

◆ GetColumns()

Int_t EdbCamera::GetColumns ( ) const
inline
89{ return eColumns; }

◆ GetHeight()

Float_t EdbCamera::GetHeight ( ) const
inline
87{ return eHeight; }

◆ GetRows()

Int_t EdbCamera::GetRows ( ) const
inline
88{ return eRows; }

◆ GetWidth()

Float_t EdbCamera::GetWidth ( ) const
inline
86{ return eWidth; }

◆ Print()

void EdbCamera::Print ( ) const
128{
129 printf("\nEdbCamera: \t\t %s \n", GetTitle() );
130 printf("%s \t\t\t %d %d %d %d\n", GetName(),
131 (int)eWidth, (int)eHeight, eRows, eColumns);
132}

◆ SetCamera()

void EdbCamera::SetCamera ( float  w = 0,
float  h = 0,
int  r = 0,
int  c = 0 
)
119{
120 if(w!=0) eWidth = w;
121 if(h!=0) eHeight = h;
122 if(r!=0) eRows = r;
123 if(c!=0) eColumns = c;
124}

Member Data Documentation

◆ eColumns

Int_t EdbCamera::eColumns
private

number of columns in the matrix

◆ eHeight

Float_t EdbCamera::eHeight
private

dimension of the image along columns

◆ eRows

Int_t EdbCamera::eRows
private

number of rows in the matrix

◆ eWidth

Float_t EdbCamera::eWidth
private

dimension of the image along rows


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