// $Id: BrDigitizeTof.h,v 1.2 1998/08/21 19:50:29 videbaek Exp $ // $Log // // Tof Digitization Module // #ifndef _BRDIGITIZETOF_H #define _BRDIGITIZETOF_H /////////////////////////////////////////////////////////////////////// // // // BrDigitizeTof // // // // BRAHMS Tof digitization class - slow simulator // // // // manages information and operations related to the // // detector geometry // // // // Author : F.Videbaek // // Created : 2/7/98 // // Version : 1.0 // // Changed : // // // /////////////////////////////////////////////////////////////////////// //ROOT Classes // class TH1F; //Brat Classes class BrEventNode; class BrDetectorParamsTof; class BrDetectorVolume; #include "BrModule.h" class BrDigitizeTof : public BrModule { public: // constructors and destructors // BrDigitizeTof(); BrDigitizeTof(Text_t *Name, Char_t *Title); virtual ~BrDigitizeTof(); // // Methods // virtual void Init(); virtual void Event(BrEventNode* InputTable, BrEventNode* OutputTable); private: BrDetectorVolume* fVolumeParamsTof_p; BrDetectorParamsTof* fParamsTof_p; public: virtual BrDetectorParamsTof* GetDetectorParamsTof() const { return (BrDetectorParamsTof*) fParamsTof_p;} virtual BrDetectorVolume* GetDetectorVolume() const { return fVolumeParamsTof_p;} void SetDetectorParamsTof(BrDetectorParamsTof* par); void SetDetectorParamsTof(const BrDetectorParamsTof& par); BrDetectorVolume* DetectorVolume(){return fVolumeParamsTof_p;} virtual void SetDetectorVolume(BrDetectorVolume* vol){ fVolumeParamsTof_p = vol;} void ListDetectorParameters() const; void Info() const; // ClassDef(BrDigitizeTof,1) // BRAHMS Tof digitization routine }; #endif