FEDRA emulsion software from the OPERA Collaboration
EdbCCD Class Reference

CCD camera specification. More...

#include <EdbStage.h>

Inheritance diagram for EdbCCD:
Collaboration diagram for EdbCCD:

Public Member Functions

 EdbCCD (float px=0, float py=0, int nx=0, int ny=0)
 
Int_t GetNx () const
 
Int_t GetNy () const
 
Float_t GetPixX () const
 
Float_t GetPixY () const
 
void Print (Option_t *opt="") const
 
int ReadParameters (const char *str)
 
void Set (int nx=0, int ny=0, float px=0, float py=0)
 
virtual ~EdbCCD ()
 

Private Attributes

Int_t eNx
 number of pixels along X (number of columns) More...
 
Int_t eNy
 number of pixels along Y (number of rows) More...
 
Float_t ePixX
 physical pixel size in microns along X More...
 
Float_t ePixY
 physical pixel size in microns along Y More...
 

Detailed Description

CCD camera specification.

//////////////////////////////////////////////////////////////////////// // EdbStage // // Stage and microscop parameters // // ////////////////////////////////////////////////////////////////////////

Constructor & Destructor Documentation

◆ EdbCCD()

EdbCCD::EdbCCD ( float  px = 0,
float  py = 0,
int  nx = 0,
int  ny = 0 
)
inline
30 : TNamed(),
31 eNx(nx), eNy(ny), ePixX(px), ePixY(py) {}
Float_t ePixY
physical pixel size in microns along Y
Definition: EdbStage.h:27
Float_t ePixX
physical pixel size in microns along X
Definition: EdbStage.h:26
Int_t eNy
number of pixels along Y (number of rows)
Definition: EdbStage.h:25
Int_t eNx
number of pixels along X (number of columns)
Definition: EdbStage.h:24

◆ ~EdbCCD()

virtual EdbCCD::~EdbCCD ( )
inlinevirtual
32{}

Member Function Documentation

◆ GetNx()

Int_t EdbCCD::GetNx ( ) const
inline
37{ return eNx; }

◆ GetNy()

Int_t EdbCCD::GetNy ( ) const
inline
38{ return eNy; }

◆ GetPixX()

Float_t EdbCCD::GetPixX ( ) const
inline
39{ return ePixX; }

◆ GetPixY()

Float_t EdbCCD::GetPixY ( ) const
inline
40{ return ePixY; }

◆ Print()

void EdbCCD::Print ( Option_t *  opt = "") const
110{
111 printf("\nEdbCCD: \t\t %s \n", GetTitle() );
112 printf("%s: \t\t %d %d \t %f %f\n", GetName(),
113 eNx, eNy, ePixX, ePixY );
114}

◆ ReadParameters()

int EdbCCD::ReadParameters ( const char *  str)
95{
96 char name[256];
97 char title[256];
98
99 int npar = 0;
100 npar = sscanf(str,"%d %d %f %f %s %s ", &eNx, &eNy, &ePixX, &ePixY, name, title );
101 // npar = sscanf(str,"%d %d %f %f", &eNx, &eNy, &ePixX, &ePixY);
102
103 SetName(name);
104 SetTitle(title);
105 return npar;
106}
graph SetName("Graph")
NbBT SetTitle("Number of BT per shower")
const char * name
Definition: merge_Energy_SytematicSources_Electron.C:24

◆ Set()

void EdbCCD::Set ( int  nx = 0,
int  ny = 0,
float  px = 0,
float  py = 0 
)
inline
35 { eNx=nx; eNy=ny; ePixX=px; ePixY=py; }

Member Data Documentation

◆ eNx

Int_t EdbCCD::eNx
private

number of pixels along X (number of columns)

◆ eNy

Int_t EdbCCD::eNy
private

number of pixels along Y (number of rows)

◆ ePixX

Float_t EdbCCD::ePixX
private

physical pixel size in microns along X

◆ ePixY

Float_t EdbCCD::ePixY
private

physical pixel size in microns along Y


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