class HVmodule

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

Inheritance:


Public Methods

inline const ooHandle ( CFHVModule )()
Returns the ooHandle of the CFHVModule that cooresponds to this module
static HVmodule* createModule( const char* Type, const char *SerialNb, HVDatabaseSet *aDBSet )
Create a HVmodule using its SN
static HVmodule* createModule( ooHandle( CFHVModule )& tempModH, HVDatabaseSet *aDBSet )
Create a HVmodule using a Handle
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
inline HVDatabaseSet* getDBSet()
Return the pointer to the Database Set associated with this Module
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
int getReadbacks( list< pair< HVchannel*, HVreadback> > &aListofRBs )
Get a list of Readbacks for each channel of this module
pstring getType()
Returns the type of the module

Public

Used to create modules with non-default Channel names -- OBSOLETE, since this info

Protected Methods

HVmodule( const char *SerialNb, HVDatabaseSet *aDBSet )
Constructor
HVmodule( ooHandle( CFHVModule )& tempModH, HVDatabaseSet *aDBSet )
Constructor

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 access to the HV channel (in real time) are done by the object HVchannel. Storage to the OBJY database is done by the HVgranule object.

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

MODIFICATIONS:

static HVmodule* createModule( ooHandle( CFHVModule )& tempModH, HVDatabaseSet *aDBSet )
Create a HVmodule using a Handle

static HVmodule* createModule( const char* Type, const char *SerialNb, HVDatabaseSet *aDBSet )
Create a HVmodule using its SN

Used to create modules with non-default Channel names -- OBSOLETE, since this info

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

inline const ooHandle ( CFHVModule )()
Returns the ooHandle of the CFHVModule that cooresponds to this 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

int getReadbacks( list< pair< HVchannel*, HVreadback> > &aListofRBs )
Get a list of Readbacks for each channel of this module

inline HVDatabaseSet* getDBSet()
Return the pointer to the Database Set associated with this Module

HVmodule( ooHandle( CFHVModule )& tempModH, HVDatabaseSet *aDBSet )
Constructor
Parameters:
tempModH - : a ooHandle to a CFHVModule in a Configuration database that this HVmodule will represent.
pDBSet - : a pointer to the DB Set that controls this module

HVmodule( const char *SerialNb, HVDatabaseSet *aDBSet )
Constructor
Parameters:
SerialNb - : Serial number of the module. If not NULL, then we go into the database and find the object.
pDBSet - : a pointer to the DB Set that controls this module


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

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