Proxy class for the DCMs
Accessors common to all PU
Architectural common member functions for all PU
Simple implementation of RTTI (see note above)
State transitions
virtual functions for generic configuring, starting/updating/continuing a state transition
Proxy class for the DCMs. It comes in several flavors: 1. generic DCM (of type FE1), 2. DCM of type FE2 (slightly different hardware and a few more configuration options), 3. dcm_dsp5 for the fifth dsp on the DCB board.The following things happen at the state transitions
- initialise:
1. load dsp code, 2. load fpga code.
(Note that these things have to happen between PAR_RESET and PAR_ONLINE command to the partition module.)- download:
load listmemory, pedestal file etc, (FE2 only!!!)- start_run:
check that the GLink is locked- end_run:
Do nothing.
static DCM* createDCM( const char *type, const char *name, const char *pud_name, const char *server_name )
static void listAll( ostream &os = cout )
static void dump_all( ostream &os = cout )
inline void identify( ostream &os = cout )
virtual void dump( ostream &os = cout )
DCM* castToDCM()
Relation to DCBs and FEMs
Accessor member functions
virtual int configure( const char *cmd, const char *value, const char* aux_param)
void setDspCode( const char* dsp_code )
void setFpgaCode( const char* fpga_code )
void setFakeData( const char* fake_data_file )
pstring getDspCode()
pstring getFpgaCode()
pstring getFakeData()
void setReadoutMode( const char* pDest )
inline pstring getReadoutMode()
bool isEnabled( const char* pccTransition = NULL )
state transition functions - to be invoked by the PRST
virtual int connect()
virtual int initialise()
virtual int download()
virtual int start_run()
virtual int end_run()
virtual bool updatePu( int iStatus, int eState_on_success )
int startInitialiseFromPar()
int startInitialiseAfterGtmOk()
int resetBoard()
DCM* getDsp5()
virtual bool isDsp5()
int createInVxWorks()
virtual int sendDcmEvent( int iEventId )
int iLastCmdSent
DCB* myDcb
long iUnitOnBoard
enum eToSimulateDcms
enum eDcmReadoutModes
static const char* pcDcmReadoutModes[]
pstring psReadoutMode
Par* myPar
bool bCheckGlinkLockedAtSOR
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de