// -*- mode: c++ -*- // // $Id: BrBbDumpCalModule.h,v 1.1 2001/11/04 01:54:04 ouerdane Exp $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrBbDumpCalModule #define BRAT_BrBbDumpCalModule #ifndef BRAT_BrModule #include "BrModule.h" #endif #ifndef ROOT_TString #include "TString.h" #endif #ifndef ROOT_BrBbCalibration #include "BrBbCalibration.h" #endif #ifndef ROOT_BrDetectorParamsBB #include "BrDetectorParamsBB.h" #endif class BrBbDumpCalModule : public BrModule { protected: // parameters BrBbCalibration* fCalibration[2]; BrDetectorParamsBB* fParamsBb; void DumpCalibration(Int_t array, Int_t ntubes, Int_t runno); public: BrBbDumpCalModule(); BrBbDumpCalModule(const Char_t* name, const Char_t* title); virtual ~BrBbDumpCalModule () {} virtual void Init(); virtual void Begin(); ClassDef(BrBbDumpCalModule,0) // Base class for a BB array calibration module }; #endif //____________________________________________________________________ // // $Log: BrBbDumpCalModule.h,v $ // Revision 1.1 2001/11/04 01:54:04 ouerdane // Added a new class, BrBbDumpCalModule to be able to have some // back up ascii files that the cal hits module can load in case // of bad connection with the SQL db (Steve Sander's suggestion) // // A script is available in brat/scripts/calib/bb/ called BbDumpSqlCal.C // // Usage: bratmain BbDumpSqlCal.C -r // It will create 2 ascii files with all the cal. found in the SQL db. // One is for BB Left, the other is for BB Right // //