// $Id: BrDigitizeTof.h,v 1.3 2001/09/14 11:27:01 trulsml Exp $ // // Tof Digitization Module // #ifndef BRAT_BrDigitizeTof #define BRAT_BrDigitizeTof /////////////////////////////////////////////////////////////////////// // // // 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 //BRAT Includes #ifndef BRAT_BrModule #include "BrModule.h" #endif #ifndef BRAT_BrDetectorParamsTof #include "BrDetectorParamsTof.h" #endif class BrEventNode; //class BrDetectorParamsTof; class BrDetectorVolume; class BrDataTable; class BrDigitizeTof : public BrModule { public: // constructors and destructors // BrDigitizeTof(); BrDigitizeTof(const Text_t *Name, const Char_t *Title); virtual ~BrDigitizeTof(); // // Methods // virtual void Init(); virtual void Event(BrEventNode* InputTable, BrEventNode* OutputTable); private: BrDetectorVolume* fVolumeParamsTof_p; BrDetectorParamsTof* fParamsTof_p; void SetDetectorParamsTof(BrDetectorParamsTof* par); void SetDetectorParamsTof(const BrDetectorParamsTof& par); virtual void SetDetectorVolume(BrDetectorVolume* vol){ fVolumeParamsTof_p = vol;} public: virtual BrDetectorParamsTof* GetDetectorParamsTof() const { return fParamsTof_p;} virtual BrDetectorVolume* GetDetectorVolume() const { return fVolumeParamsTof_p;} BrDetectorVolume* DetectorVolume(){return fVolumeParamsTof_p;} Int_t CheckSlatNo(Int_t slat); void ListDetectorParameters() const; void Print(Option_t* option="B") const; // ClassDef(BrDigitizeTof,0) // BRAHMS Tof digitization routine }; #endif // $Log: BrDigitizeTof.h,v $ // Revision 1.3 2001/09/14 11:27:01 trulsml // Changed class version number from 1 to 0. // // Revision 1.2 2001/08/12 13:33:03 cholm // Changed CTOR prototype to comply with BrModule CTOR (const Char_t*'s instead // of just Char_t*'s). // // Revision 1.1.1.1 2001/06/21 14:55:06 hagel // Initial revision of brat2 // // Revision 1.8 2001/03/07 12:25:18 cholm // * Made the method BrModule::Info() const obsolete in favour of // BrModule::Print(Option_t* option="B") const. Update in other classes. // // Revision 1.7 2001/01/17 02:08:57 hagel // Change to make work with BRAT v2 // // Revision 1.6 2000/05/17 10:28:29 ouerdane // see top of file // // Revision 1.5 1999/04/14 20:10:35 videbaek // Utilize DbManager to get defailt parameters // // Revision 1.4 1999/01/24 02:25:16 hagel // Fixed mistake in #include BrModule // // Revision 1.3 1999/01/21 23:23:25 hagel // 1. Changed convention for checking includes. Current convention is: // BRAT_Br...... eg BRAT_BrModule ala ROOT. // 2. Added CVS logs to .h files that didnot have them. // 3. Moved checking of include definition to first line for easier reading // 4. Put checks before all includes in the include files as per BRAT specifications // 5. Added BrGeantHeader to Geant Makefile // 6. All changes have been checked to compile on NT ala Cygnus //