#ifndef CALCALIB_ADCCARD_HPP #define CALCALIB_ADCCARD_HPP /////////////////////////////////////////////////////////////////////////// // // CalCalib_AdcCard.hpp // // Created: October 21st. 1998 Mrinmoy Bhattacharjee // Purpose: HPP file for Calorimeter ADC Card Data // Definition for Online Calibration // -- Contains ADC Card ID + ADC Card Size // + vector of CalCalib_Chn in a ADC Card // // Output : CalCalib_AdcCard Object // /////////////////////////////////////////////////////////////////////////// // Include Files // #include #include #include #include "l3utilities/l3types.hpp" #include "L3CalCalib/CalCalib_Chn.hpp" using std::cout; using std::endl; using namespace std; //class CalCalib_AdcCard : public d0_Object { class CalCalib_AdcCard { public: // Default Constructor and Destructor // CalCalib_AdcCard (); ~CalCalib_AdcCard(); // Constructor with Arguments // CalCalib_AdcCard(int CrdId, int CrdSiz); // Reader Functions // int getCrdId() const; int getCrdSiz() const; // Get single ADC Channel Object (OVERLOADED) // CalCalib_Chn& get1Chn(int Chid); const CalCalib_Chn& get1Chn(int Chid) const; // Get all ADC Channel Objects (OVERLOADED) // l3vector& getChannelS(); const l3vector& getChannelS() const; // Write back updated Channel Objects // void writeChannelS(l3vector& ChnObj); //D0_OBJECT_SETUP( CalCalib_AdcCard ); private: int _CrdId ; int _CrdSiz; l3vector _ChnObj; }; #endif