/*************************** * Class for control of VME crates * Perfoms intialization, runs data taking, etc... * ****************************/ #ifndef __VMEUtilities__ #define __VMEUtilities__ #include #include #include #include #include "CCDBInterface.h" using namespace std; class VMEUtilities{ public: VMEUtilities(); ~VMEUtilities(){;} int InitializeADCs(); float TakeRandomTriggerData(unsigned int); // This is the method to take data, Starts the Random trigger and takes nTriggers float TakePulserData(unsigned int); // Here we want to use the built in pulser void PowerDown(); void ChangePulserSettings(int, int, int, int, int); void SetAllDAC(int); void SetDACDefaults(); unsigned int NADCS; unsigned int NADCSAMPLES; int fPulserOffset; int fPulseHeight; protected: void GetHostName(); }; #endif