Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MJGeometryDetector.hh

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------//
00002 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
00003 //                                                                           //
00004 //                         MAJORANA Simulation                               //
00005 //                                                                           //
00006 //      This code implementation is the intellectual property of the         //
00007 //      MAJORANA Collaboration. It is based on Geant4, an intellectual       //
00008 //      property of the RD44 GEANT4 collaboration.                           //
00009 //                                                                           //
00010 //                        *********************                              //
00011 //                                                                           //
00012 //    Neither the authors of this software system, nor their employing       //
00013 //    institutes, nor the agencies providing financial support for this      //
00014 //    work  make  any representation or  warranty, express or implied,       //
00015 //    regarding this software system or assume any liability for its use.    //
00016 //    By copying, distributing or modifying the Program (or any work based   //
00017 //    on on the Program) you indicate your acceptance of this statement,     //
00018 //    and all its terms.                                                     //
00019 //                                                                           //
00020 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
00021 //---------------------------------------------------------------------------//
00032 // Begin description of class here
00039 // End class description
00040 //
00046 // 
00047 // --------------------------------------------------------------------------//
00061 // --------------------------------------------------------------------------//
00062 
00063 #ifndef _MJGEOMETRYDETECTOR_HH
00064 #define _MJGEOMETRYDETECTOR_HH
00065 
00066 //---------------------------------------------------------------------------//
00067 
00068 //  GEANT4 headers
00069 #include "globals.hh"
00070 
00071 //  Forward declarations
00072 //class G4String;
00073 class G4LogicalVolume;
00074 
00075 //---------------------------------------------------------------------------//
00076 
00077 class MJGeometryDetector {
00078         public:
00079 
00080                 //default constructor
00081                 MJGeometryDetector( G4String );
00082 
00083                 //copy constructor
00084 //              MJGeometryDetector(const MJGeometryDetector &);
00085 
00086                 //destructor
00087                 virtual ~MJGeometryDetector();
00088 
00089   // RH addition:
00090   virtual void ConstructDetector() {;}
00091   
00092   //public interface
00093   inline G4String GetSerialNumber() { return serialNumber; };
00094   inline G4LogicalVolume *GetDetectorLogical() { return theDetectorLogical; };
00095   inline void SetDetectorLogical(G4LogicalVolume* dlogic) {theDetectorLogical = dlogic;}
00096   inline void SetDetectorName(G4String name) {detectorName = name;}
00097   inline G4String GetDetectorName() {return detectorName;}
00098 
00099         //protected members
00100 protected:
00101   G4String serialNumber;
00102   G4LogicalVolume *theDetectorLogical;
00103 
00104 
00105         //private  members
00106 private:
00107   G4String detectorName;
00108 };
00109 #endif

Generated on Mon Nov 29 16:58:51 2004 for Majorana Simulation by  doxygen 1.3.9.1