Main Page | Class List | Class Members

hcalDCC::Crate Class Reference

VME Crate class. More...

#include <crate.hh>

List of all members.

Public Member Functions

 Crate (VMEBusAdapterInterface &busAdapter, unsigned long int baseAddress=0, bool debug=0) throw (hcalDCC::Exception)
 ~Crate ()
const std::vector< unsigned
char > * 
findMotherboards (unsigned char slotMin=2, unsigned char slotMax=21) throw (hcalDCC::Exception)

Public Attributes

std::vector< unsigned char > m_mbSlotList


Detailed Description

VME Crate class.

Author:
Fernando Varela (Boston University)
Revision
1.1

Date
2005/04/29 19:52:42

The class crate uses HAL to communicate with a VME crate. It provides utility functions to scan the different slot of a VME crate looking for DCC


Constructor & Destructor Documentation

hcalDCC::Crate::Crate VMEBusAdapterInterface &  busAdapter,
unsigned long int  baseAddress = 0,
bool  debug = 0
throw (hcalDCC::Exception)
 

Class constructor

hcalDCC::Crate::~Crate  ) 
 

Class destructor


Member Function Documentation

const std::vector< unsigned char > * hcalDCC::Crate::findMotherboards unsigned char  slotMin = 2,
unsigned char  slotMax = 21
throw (hcalDCC::Exception)
 

Looks for U2 chips in power-up and initialized addresses and sets up the internal list of U2 chips in a crate.

Parameters:
slotMin Minimum slot number where to look for U2 motherboards. Default value is 2
slotMax Maximum slot number where to look for U2 motherboards. Default value is 21
Returns:
STATUS OK or ERROR depending upon the execution of the procedure Throws an exception if errors are met


Member Data Documentation

std::vector<unsigned char> hcalDCC::Crate::m_mbSlotList
 

List of slot numbers with DCC motherboard


The documentation for this class was generated from the following files:
Generated on Fri Jul 8 20:52:04 2005 for HCAL Data Concentrator Card by  doxygen 1.3.9.1