FEDRA emulsion software from the OPERA Collaboration
EdbCCD Class Reference

#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
 
Int_t eNy
 
Float_t ePixX
 
Float_t ePixY
 

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
Definition: EdbStage.h:27
Float_t ePixX
Definition: EdbStage.h:26
Int_t eNy
Definition: EdbStage.h:25
Int_t eNx
Definition: EdbStage.h:24
int nx
Definition: emthickness.cpp:60
int ny
Definition: emthickness.cpp:62

◆ ~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
109 {
110  printf("\nEdbCCD: \t\t %s \n", GetTitle() );
111  printf("%s: \t\t %d %d \t %f %f\n", GetName(),
112  eNx, eNy, ePixX, ePixY );
113 }

◆ ReadParameters()

int EdbCCD::ReadParameters ( const char *  str)
94 {
95  char name[256];
96  char title[256];
97 
98  int npar = 0;
99  npar = sscanf(str,"%d %d %f %f %s %s ", &eNx, &eNy, &ePixX, &ePixY, name, title );
100  // npar = sscanf(str,"%d %d %f %f", &eNx, &eNy, &ePixX, &ePixY);
101 
102  SetName(name);
103  SetTitle(title);
104  return npar;
105 }
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

◆ eNy

Int_t EdbCCD::eNy
private

◆ ePixX

Float_t EdbCCD::ePixX
private

◆ ePixY

Float_t EdbCCD::ePixY
private

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