#ifndef ALIEMCALCALIBREFERENCE_H #define ALIEMCALCALIBREFERENCE_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id: $ */ #include #include #include "AliEMCALGeoParams.h" class TString; class TTree; /* Objects of this class contain basis for reference calibrations */ // total calibration factor is a product of // a) overall calibration factor [fAbsoluteGain] // b) individual gain factor per tower [fRelativeGain] // c) time-dependent correction // In this class we store the needed static ingredients for c) // ******* internal class definition ************* // values per single tower class AliEMCALCalibReferenceVal : public TObject { public: AliEMCALCalibReferenceVal() : TObject(), // just init values fHighLow(0), fLEDAmp(0), fLEDAmpRMS(0) { } void Init() { fHighLow = 0; fLEDAmp = 0; fLEDAmpRMS = 0; return; } public: void SetHighLow(Int_t i) { fHighLow = i; }; // Int_t GetHighLow() const { return fHighLow; }; // void SetLEDAmp(Float_t f) { fLEDAmp = f; }; // Float_t GetLEDAmp() const { return fLEDAmp; }; // void SetLEDAmpRMS(Float_t f) { fLEDAmpRMS = f; }; // Float_t GetLEDAmpRMS() const { return fLEDAmpRMS; }; // private: Int_t fHighLow; // 0 (low) or 1 (high) gain, used for LEDAmp info Float_t fLEDAmp; // LED amplitude Float_t fLEDAmpRMS; // RMS ClassDef(AliEMCALCalibReferenceVal, 1) // help class }; // 1 SuperModule's worth of info: info on where the different APDs are class AliEMCALSuperModuleCalibReference : public TObject { public: AliEMCALSuperModuleCalibReference(const int smNum=0) : TObject(), // just init values fSuperModuleNum(smNum), fReferenceTime(0) { for (int iref=0; iref