Low-Energy Muon (LEM) Experiment  1.1.0
PTempCalibSensors Class Reference

#include <PTempCalibGui.h>

Inheritance diagram for PTempCalibSensors:
Collaboration diagram for PTempCalibSensors:

Public Member Functions

 PTempCalibSensors (const TGWindow *p, const std::string lakeShore)
 
virtual ~PTempCalibSensors ()
 
virtual TGFrame * GetFrame () const
 
virtual void SetCanvas (TGCanvas *canvas)
 
virtual UInt_t GetNoOfSensors ()
 
virtual Int_t GetCh (UInt_t sensorIdx)
 
virtual Int_t GetSensorType (UInt_t sensorIdx)
 
virtual Int_t GetDataFormat (UInt_t sensorIdx)
 
virtual TString GetSensorName (UInt_t sensorIdx)
 
virtual TString GetSerialNo (UInt_t sensorIdx)
 
virtual void SetNoOfSensors (Long_t)
 

Private Attributes

std::string fLakeShore
 
TGCompositeFrame * fFrame
 
TGCanvas * fCanvas
 
vector< TGGroupFrame * > fCalibSensorFrame
 
vector< PSensorInfo * > fCalibSensorInfo
 
UInt_t fNoOfSensors
 

Detailed Description

Definition at line 279 of file PTempCalibGui.h.

Constructor & Destructor Documentation

PTempCalibSensors::PTempCalibSensors ( const TGWindow *  p,
const std::string  lakeShore 
)

Generates the frame of the to be calibrated sensor field in the Calibrate tab.

Parameters
ppointer to the parent

Definition at line 1447 of file PTempCalibGui.cpp.

References TCG_NO_OF_RAW_DATA_CH.

PTempCalibSensors::~PTempCalibSensors ( )
virtual

Destructor

Definition at line 1478 of file PTempCalibGui.cpp.

Member Function Documentation

Int_t PTempCalibSensors::GetCh ( UInt_t  sensorIdx)
virtual

Returns the channel index of the to be calibrated sensor at position sensorIdx.

Parameters
sensorIdxsensor index

Definition at line 1489 of file PTempCalibGui.cpp.

Int_t PTempCalibSensors::GetDataFormat ( UInt_t  sensorIdx)
virtual

Returns the data format code of the to be calibrated sensor at position sensorIdx.

Parameters
sensorIdxsensor index

Definition at line 1521 of file PTempCalibGui.cpp.

virtual TGFrame* PTempCalibSensors::GetFrame ( ) const
inlinevirtual

Definition at line 287 of file PTempCalibGui.h.

virtual UInt_t PTempCalibSensors::GetNoOfSensors ( )
inlinevirtual

Definition at line 290 of file PTempCalibGui.h.

TString PTempCalibSensors::GetSensorName ( UInt_t  sensorIdx)
virtual

Returns the sensor name of the to be calibrated sensor at position sensorIdx.

Parameters
sensorIdxsensor index

Definition at line 1537 of file PTempCalibGui.cpp.

Int_t PTempCalibSensors::GetSensorType ( UInt_t  sensorIdx)
virtual

Returns the sensor type code of the to be calibrated sensor at position sensorIdx.

Parameters
sensorIdxsensor index

Definition at line 1505 of file PTempCalibGui.cpp.

TString PTempCalibSensors::GetSerialNo ( UInt_t  sensorIdx)
virtual

Returns the serial number of the to be calibrated sensor at position sensorIdx.

Parameters
sensorIdxsensor index

Definition at line 1553 of file PTempCalibGui.cpp.

void PTempCalibSensors::SetCanvas ( TGCanvas *  canvas)
virtual

Keep the canvas pointer.

Definition at line 1568 of file PTempCalibGui.cpp.

Referenced by PTempCalibGui::PTempCalibGui().

void PTempCalibSensors::SetNoOfSensors ( Long_t  val)
virtual

Handles the number of to be calibrated sensor fields to be shown in the Calibrate tab.

Parameters
valnumber of the to be calibrated sensors.

Definition at line 1580 of file PTempCalibGui.cpp.

Field Documentation

vector<TGGroupFrame*> PTempCalibSensors::fCalibSensorFrame
private

Definition at line 306 of file PTempCalibGui.h.

vector<PSensorInfo*> PTempCalibSensors::fCalibSensorInfo
private

Definition at line 307 of file PTempCalibGui.h.

TGCanvas* PTempCalibSensors::fCanvas
private

Definition at line 304 of file PTempCalibGui.h.

TGCompositeFrame* PTempCalibSensors::fFrame
private

Definition at line 303 of file PTempCalibGui.h.

std::string PTempCalibSensors::fLakeShore
private

Definition at line 301 of file PTempCalibGui.h.

UInt_t PTempCalibSensors::fNoOfSensors
private

Definition at line 309 of file PTempCalibGui.h.


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