// -*- mode: c++ -*- #ifndef BRAT_BrGeantHeader #define BRAT_BrGeantHeader // // $Id: BrGeantHeader.h,v 1.1.1.1 2001/06/21 14:55:00 hagel Exp $ // $Log: BrGeantHeader.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:00 hagel // Initial revision of brat2 // // Revision 1.4 2000/04/06 20:19:57 cholm // Added the class BrGeantDigitize, which is a full-blown // GBRAHMS digitizer // // Revision 1.3 1999/02/11 22:27:26 hagel // Changes to make run on Solaris // // Revision 1.2 1999/01/21 23:23:23 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.1 1999/01/15 16:32:06 videbaek // Added new class BrGeantHeader to take care of additional gbrahms functionality // // /////////////////////////////////////////////////////////////////////// // // // BrGeantHeader // // // // BRAHMS Geant information class // // // // BrGeantHeader will maintain additional information from // // the geant runs as stored in the eventheader. This is the // // kind of information that normally would no go into the regular // // BrEventHeader // // // // Author : F.Videbaek // // Created : January 99 // // Version : 1.0 // // Changed : // // // /////////////////////////////////////////////////////////////////////// // Root Classes #ifndef ROOT_TObject #include "TObject.h" #endif // Brahms Classes // #ifndef BRAT_BrDataObject #include "BrDataObject.h" #endif class BrGeantHeader : public BrDataObject { public: BrGeantHeader(); BrGeantHeader(Char_t* name, Char_t* title=0); virtual ~BrGeantHeader() { }; void SetVertex(Double_t val){fVertex=val;} void SetImpactParameter(Double_t val) {fImpactParameter=val;} Double_t GetVertex() const {return fVertex;} Double_t GetImpactParameter() const {return fImpactParameter;} private: Double_t fVertex; // Vertex position (in cm) Double_t fImpactParameter; // Impact parameter (in fm) ClassDef(BrGeantHeader,1) // BRAHMS geant header data class }; #endif