class HVmodule : public dbHVinterface

Class that encapsulates a HV module either in real time through EPICS or its history through the database or both

Inheritance:


Public Methods

virtual int getBulkSupplies( list< HVbulkSupply* > &aList )
Fills aList with pointers to the individual bulk supplies if there are any
virtual HVbulkSupply* getBulkSupply( const char* )
Returns a pointer to the bulk supply of that module or NULL
HVchannel* getChannel( const char* pcName )
Returns a pointer to the channel of that module or NULL
int getChannels( list< HVchannel* > &aList )
Fills aList with pointers to the individual channels
pstring getName()
Returns the name of the module
virtual int getNbBulkSupplies()
Returns the number of BulkSupplies of the module
int getNbChannels()
Returns the number of channels of the module
pstring getType()
Returns the type of the module

Protected Methods

HVmodule( const char* Name, const char* Type, const char *SerialNb = NULL )
Constructor

Inherited from dbHVinterface:

Public Methods

static void selectDB( dbHV *pHVDB )

Protected Fields

static dbHV* pDB

Documentation

Class that encapsulates a HV module either in real time through EPICS or its history through the database or both.

Note that the HVmodule is only a physical module that happens to provide the chassis for n HV channels. All the acces to the HV channel (in real time or through the database) are done by the object HVchannel.

Current Handling of the DB access:
We look for the object in the database if we call the constructor with an argument for the serial number. While this is appropriate for the HV test stand (where we use the SerialNumber as identifier for the object) and all the initial user test stands (where we don't have the database), this will not do the job in the long run!).

SUPPORTED MODULES:
1461 mod 104
other PHENIX HV modules will have to be added later
CW July 12, 98

MODIFICATIONS:
Added support for LeCroy 1469 modules using classes hv_module1469, hv_channel1469 and hv_bulksupply classes that inherit from hv_module and hv_channel respectivly.
CW Jan 28, 99

pstring getName()
Returns the name of the module

pstring getType()
Returns the type of the module

int getNbChannels()
Returns the number of channels of the module

HVchannel* getChannel( const char* pcName )
Returns a pointer to the channel of that module or NULL

int getChannels( list< HVchannel* > &aList )
Fills aList with pointers to the individual channels

virtual int getNbBulkSupplies()
Returns the number of BulkSupplies of the module

virtual HVbulkSupply* getBulkSupply( const char* )
Returns a pointer to the bulk supply of that module or NULL

virtual int getBulkSupplies( list< HVbulkSupply* > &aList )
Fills aList with pointers to the individual bulk supplies if there are any

HVmodule( const char* Name, const char* Type, const char *SerialNb = NULL )
Constructor
Parameters:
Name - : name of the module (as given by the user, EPICS, db
Type - : 1461N104, 1469P, you name it
SerialNb - : Serial number of the module. If not NULL, then we go into the database and find the object.


Direct child classes:
HVmodule1469
Author:
C.Witzig
Date: July 6, 98
Version:
Last update Aug 25, 98

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de