// -*- mode: c++ -*- #ifndef BRAT_BrCalibrateTof #define BRAT_BrCalibrateTof // $Id: BrCalibrateTof.h,v 1.1.1.1 2001/06/21 14:55:09 hagel Exp $ // // Tof Digitization Module // /////////////////////////////////////////////////////////////////////// // // // BrCalibrateTof // // // // BRAHMS Tof analysis class // // // // Take digitized data and get TOF for use in PID in MDC-II // // // // Author : K. Hagel // // Created : 1/12/99 // // Version : 1.0 // // Changed : Tue Mar 14 19:08:45 2000 by Ian Bearden // // // // // /////////////////////////////////////////////////////////////////////// //ROOT Includes #ifndef ROOT_TH2 #include "TH2.h" #endif //BRAT Includes #ifndef BRAT_BrModule #include "BrModule.h" #endif class BrEventNode; //class BrDetectorParamsTof; #ifndef BRAT_BrDetectorParamsTof #include "BrDetectorParamsTof.h" #endif class BrCalibrateTof : public BrModule { public: // constructors and destructors // BrCalibrateTof(); BrCalibrateTof(Text_t *Name, Char_t *Title); virtual ~BrCalibrateTof(); // // Methods // virtual void Init(); virtual void Event(BrEventNode* InputTable, BrEventNode* OutputTable); private: BrDetectorParamsTof* fParamsTof_p; TH2F *hT1vsT2; // Following moved to private since BrGeometryDbManager and // BrParameterDbManager // are now implemented. void SetDetectorParamsTof(BrDetectorParamsTof* par); void SetDetectorParamsTof(const BrDetectorParamsTof& par); public: virtual BrDetectorParamsTof* GetDetectorParamsTof() const { return (BrDetectorParamsTof*) fParamsTof_p;} void ListDetectorParameters() const; void Print(Option_t* option="B") const; // ClassDef(BrCalibrateTof,1) // BRAHMS Tof calibration routine }; #endif // $Log: BrCalibrateTof.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:09 hagel // Initial revision of brat2 // // Revision 1.5 2001/03/07 12:25:16 cholm // * Made the method BrModule::Info() const obsolete in favour of // BrModule::Print(Option_t* option="B") const. Update in other classes. // // Revision 1.4 2001/01/17 01:53:46 hagel // Changes to make work with BRAT v2 // // Revision 1.7 2000/05/17 10:28:28 ouerdane