#ifndef BRAT_BrDetectorDC #define BRAT_BrDetectorDC // $Id: BrDetectorDC.h,v 1.1.1.1 2001/06/21 14:55:07 hagel Exp $ // // $Log: BrDetectorDC.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:07 hagel // Initial revision of brat2 // // Revision 1.6 2000/06/12 16:31:21 sanders // Added ! to comment for f3DPoints; CINT requirement // // Revision 1.5 1999/02/28 22:14:36 hagel // Changes to make event display more robust and seamless // // Revision 1.4 1999/01/21 23:23:22 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 didn't 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 // // Revision 1.3 1998/12/17 22:09:16 hagel // Add CVS headers // /////////////////////////////////////////////////////////// // // BrDetectorDC // // BRAHMS DC Detector Class // // Author : K. Hagel // Created: 5-Nov-1998 // Version: 1.0 // // /////////////////////////////////////////////////////////// // ROOT classes #ifndef ROOT_TPolyMarker3D #include "TPolyMarker3D.h" #endif #ifndef ROOT_TPolyLine3D #include "TPolyLine3D.h" #endif // BRAHMS classes // #ifndef BRAT_BrBaseDetector #include "BrBaseDetector.h" #endif class BrDetectorVolume; class TNode; class BrDataTable; #define MaxTracksToDraw 100 class BrDetectorDC : public BrBaseDetector { public: BrDetectorDC(); BrDetectorDC(const Char_t *name, const Char_t *title,const Char_t *det_name=0); //,BrDetectorVolume *vol,BrDetectorVolume *vol1,BrDetectorVolume *vol2,BrDetectorVolume *vol3); virtual ~BrDetectorDC(); virtual void EventDisplay(); virtual void Clear(); virtual void DrawGeantHits(BrDataTable *ghits[3]); virtual void DrawLocalTracks(BrDataTable *tracktable); private: TShape *fDc1Shape; TShape *fDc2Shape; TShape *fDc3Shape; TNode *fDCSubModule[3]; TPolyMarker3D *fPolyMarker; Float_t *f3DPoints; //!points for the polymarker and polyline TPolyLine3D *fPolyLine[MaxTracksToDraw]; //lines for the polyline public: ClassDef(BrDetectorDC,1) // BRAHMS DC detector definition }; #endif