|
BrSiDigclass description - source file - inheritance tree class BrSiDig : public BrDataObjectpublic: Data Membersprivate: Class DescriptionBrSiDig Elementary objects for digitized Mult Si information. The are derived from BrDataObject in order to be attached directly to a BrEventNode. The index into the internal array of ADC and temperature values are the one defined by the DAQ event builder - see also BrRawDataInput. There can be a total of 288 channels from the silicon array. 6 rows * 6 wafers/row * 8 channels/wafer The 8 channels per wafer are composed of 7 strip channels and 1 temperature readout channel Example of reading back the digits: // Calibration BrSiTmpCalibration* calibration = BrSiTmpCalibration::Instance(); // Detector parameters TString tableName(BrDetectorList::GetDetectorName(kBrSi)); BrParameterDbManager* paramManager = parameters = (BrSiParameters*)BrParameterDbManager::Instance() ->GetDetectorParameters("BrSiParameters", tableName.Data()); // Raw data tableName.Prepend("Dig"); BrSiDig* siDig = (BrSiDig*)inNode->GetObject(tableName.Data()); nSi = parameters->GetNoModules(); for (Int_t i = 0; i < nSi; i++) { Int_t ringNo = calibration->GetRingMap(i); Int_t rowNo = calibration->GetRowMap(i); Short_t adc = siDig->GetAdc(i + 1); // Do what ever. } BrSiDig() Default CTOR. Do not use. BrSiDig(const Char_t* name, const Char_t* title) : BrDataObject(name, title) Named CTOR. Short_t GetAdc(const Int_t itube) const Get ADC value. itube is channel number in range [1,fNumSiChan] void SetAdc(const Int_t itube,const Short_t val) Set ADC value. itube is channel number in range [1,fNumSiChan] void Clear(Option_t* option) Set all values to 0 void Print(Option_t* option) const Print information on this object. Options: D Give detailed class information as well R Recursively list internal data (Default) Inline FunctionsInt_t GetNumberOfChannels() const Bool_t IsSortable() const TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrSiDig BrSiDig(BrSiDig&) void ~BrSiDig() |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|