REROOT_GeomMisc Class Reference

#include <REROOT_GeomMisc.h>

List of all members.

Public Member Functions

 REROOT_GeomMisc (GEOMMISC_DEF *)
 REROOT_GeomMisc ()
 ~REROOT_GeomMisc ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t NearFar () const
Int_t NSupmdl () const
Int_t NPlanes () const
const Float_t * VMARS () const
const Float_t * VHall () const
Float_t LINRThick () const
Float_t HallXmin () const
Float_t HallXmax () const
Float_t HallYmin () const
Float_t HallYmax () const
Float_t HallZmin () const
Float_t HallZmax () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_NearFar
Int_t m_NSupmdl
Int_t m_NPlanes
Float_t m_VMARS [3]
Float_t m_VHall [3]
Float_t m_LINRThick
Float_t m_HallXmin
Float_t m_HallXmax
Float_t m_HallYmin
Float_t m_HallYmax
Float_t m_HallZmin
Float_t m_HallZmax

Friends

class REROOT_Geom


Detailed Description

Definition at line 17 of file REROOT_GeomMisc.h.


Constructor & Destructor Documentation

REROOT_GeomMisc::REROOT_GeomMisc ( GEOMMISC_DEF  ) 

Definition at line 60 of file REROOT_GeomMisc.cxx.

References init().

00061 {
00062   m_ID        = nr->ID - 1;                                   // C index
00063   m_NearFar   = nr->NearFar;
00064   m_NSupmdl   = nr->NSupmdl;
00065   m_NPlanes   = nr->NPlanes;
00066   m_LINRThick = nr->LINRThick;
00067   if (nr->HallXmin != 2147483647) m_HallXmin = nr->HallXmin;
00068   else                            m_HallXmin = 0;
00069   if (nr->HallXmax != 2147483647) m_HallXmax = nr->HallXmax;
00070   else                            m_HallXmax = 0;
00071   if (nr->HallYmin != 2147483647) m_HallYmin = nr->HallYmin;
00072   else                            m_HallYmin = 0;
00073   if (nr->HallYmax != 2147483647) m_HallYmax = nr->HallYmax;
00074   else                            m_HallYmax = 0;
00075   if (nr->HallZmin != 2147483647) m_HallZmin = nr->HallZmin;
00076   else                            m_HallZmin = 0;
00077   if (nr->HallZmax != 2147483647) m_HallZmax = nr->HallZmax;
00078   else                            m_HallZmax = 0;
00079 
00080 // Fill simple arrays from GeomMisc struct.
00081   int i;
00082   for (i=0; i<3; i++) {
00083         m_VMARS[i] = nr->VMARS[i];
00084         m_VHall[i] = nr->VHall[i];
00085   }
00086 
00087   init();
00088 }

REROOT_GeomMisc::REROOT_GeomMisc (  ) 

Definition at line 91 of file REROOT_GeomMisc.cxx.

00092 {
00093 }

REROOT_GeomMisc::~REROOT_GeomMisc (  ) 

Definition at line 101 of file REROOT_GeomMisc.cxx.

00102 {
00103 }


Member Function Documentation

virtual void REROOT_GeomMisc::accept ( REROOT_Visitor v  )  [inline, virtual]

Definition at line 46 of file REROOT_GeomMisc.h.

References REROOT_Visitor::visit().

00046 {v.visit(this);}

void REROOT_GeomMisc::clear (  ) 

Definition at line 106 of file REROOT_GeomMisc.cxx.

00107 {
00108 }

Float_t REROOT_GeomMisc::HallXmax (  )  const [inline]

Definition at line 60 of file REROOT_GeomMisc.h.

References m_HallXmax.

Referenced by UgliGeometryReroot::BuildShapes(), and UgliGeometryReroot::MakeTempDbiGeometry().

00060 {return m_HallXmax;}          // HallXmax

Float_t REROOT_GeomMisc::HallXmin (  )  const [inline]

Definition at line 59 of file REROOT_GeomMisc.h.

References m_HallXmin.

Referenced by UgliGeometryReroot::BuildShapes(), and UgliGeometryReroot::MakeTempDbiGeometry().

00059 {return m_HallXmin;}          // HallXmin

Float_t REROOT_GeomMisc::HallYmax (  )  const [inline]

Definition at line 62 of file REROOT_GeomMisc.h.

References m_HallYmax.

Referenced by UgliGeometryReroot::BuildShapes(), and UgliGeometryReroot::MakeTempDbiGeometry().

00062 {return m_HallYmax;}          // HallYmax

Float_t REROOT_GeomMisc::HallYmin (  )  const [inline]

Definition at line 61 of file REROOT_GeomMisc.h.

References m_HallYmin.

Referenced by UgliGeometryReroot::BuildShapes(), and UgliGeometryReroot::MakeTempDbiGeometry().

00061 {return m_HallYmin;}          // HallYmin

Float_t REROOT_GeomMisc::HallZmax (  )  const [inline]

Definition at line 64 of file REROOT_GeomMisc.h.

References m_HallZmax, and zoffset_REROOT().

Referenced by UgliGeometryReroot::BuildShapes(), and UgliGeometryReroot::MakeTempDbiGeometry().

00064 {return m_HallZmax + zoffset_REROOT();} // HallZmax

Float_t REROOT_GeomMisc::HallZmin (  )  const [inline]

Definition at line 63 of file REROOT_GeomMisc.h.

References m_HallZmin, and zoffset_REROOT().

Referenced by UgliGeometryReroot::BuildShapes(), and UgliGeometryReroot::MakeTempDbiGeometry().

00063 {return m_HallZmin + zoffset_REROOT();} // HallZmin

Int_t REROOT_GeomMisc::ID (  )  const [inline]

Definition at line 52 of file REROOT_GeomMisc.h.

References m_ID.

00052 {return m_ID;}                      // ID

void REROOT_GeomMisc::init (  )  [private]

Definition at line 96 of file REROOT_GeomMisc.cxx.

00097 {
00098 }

Float_t REROOT_GeomMisc::LINRThick (  )  const [inline]

Definition at line 58 of file REROOT_GeomMisc.h.

References m_LINRThick.

00058 {return m_LINRThick;}        // LINRThick

Int_t REROOT_GeomMisc::NearFar (  )  const [inline]

Definition at line 53 of file REROOT_GeomMisc.h.

References m_NearFar.

Referenced by MINFDetGeom::BuildDetectorGeometry(), RerootExodus::GetDetector(), and MINFast::GetEvent().

00053 {return m_NearFar;}            // NearFar

Int_t REROOT_GeomMisc::NPlanes (  )  const [inline]

Definition at line 55 of file REROOT_GeomMisc.h.

References m_NPlanes.

Referenced by UgliGeometryReroot::MakeTempDbiPosInfo(), and UgliGeometryReroot::MakeTempDbiScintStruct().

00055 {return m_NPlanes;}            // NPlanes

Int_t REROOT_GeomMisc::NSupmdl (  )  const [inline]

Definition at line 54 of file REROOT_GeomMisc.h.

References m_NSupmdl.

Referenced by UgliGeometryReroot::BuildShapes().

00054 {return m_NSupmdl;}            // NSupmdl

void REROOT_GeomMisc::printEvent ( std::ostream &   )  const

Definition at line 111 of file REROOT_GeomMisc.cxx.

00112 {
00113   pstream << "======================= GeomMisc =====================\n";
00114 }

const Float_t* REROOT_GeomMisc::VHall (  )  const [inline]

Definition at line 57 of file REROOT_GeomMisc.h.

References m_VHall.

Referenced by MINFDetGeom::BuildDetectorGeometry(), and UgliGeometryReroot::BuildShapes().

00057 {return m_VHall;}             // VHall[3]

const Float_t* REROOT_GeomMisc::VMARS (  )  const [inline]

Definition at line 56 of file REROOT_GeomMisc.h.

References m_VMARS.

Referenced by MINFDetGeom::BuildDetectorGeometry().

00056 {return m_VMARS;}             // VMARS[3]


Friends And Related Function Documentation

friend class REROOT_Geom [friend]

Definition at line 21 of file REROOT_GeomMisc.h.


Member Data Documentation

Float_t REROOT_GeomMisc::m_HallXmax [private]

Definition at line 32 of file REROOT_GeomMisc.h.

Referenced by HallXmax().

Float_t REROOT_GeomMisc::m_HallXmin [private]

Definition at line 31 of file REROOT_GeomMisc.h.

Referenced by HallXmin().

Float_t REROOT_GeomMisc::m_HallYmax [private]

Definition at line 34 of file REROOT_GeomMisc.h.

Referenced by HallYmax().

Float_t REROOT_GeomMisc::m_HallYmin [private]

Definition at line 33 of file REROOT_GeomMisc.h.

Referenced by HallYmin().

Float_t REROOT_GeomMisc::m_HallZmax [private]

Definition at line 36 of file REROOT_GeomMisc.h.

Referenced by HallZmax().

Float_t REROOT_GeomMisc::m_HallZmin [private]

Definition at line 35 of file REROOT_GeomMisc.h.

Referenced by HallZmin().

Int_t REROOT_GeomMisc::m_ID [private]

Definition at line 24 of file REROOT_GeomMisc.h.

Referenced by ID().

Float_t REROOT_GeomMisc::m_LINRThick [private]

Definition at line 30 of file REROOT_GeomMisc.h.

Referenced by LINRThick().

Int_t REROOT_GeomMisc::m_NearFar [private]

Definition at line 25 of file REROOT_GeomMisc.h.

Referenced by NearFar().

Int_t REROOT_GeomMisc::m_NPlanes [private]

Definition at line 27 of file REROOT_GeomMisc.h.

Referenced by NPlanes().

Int_t REROOT_GeomMisc::m_NSupmdl [private]

Definition at line 26 of file REROOT_GeomMisc.h.

Referenced by NSupmdl().

Float_t REROOT_GeomMisc::m_VHall[3] [private]

Definition at line 29 of file REROOT_GeomMisc.h.

Referenced by VHall().

Float_t REROOT_GeomMisc::m_VMARS[3] [private]

Definition at line 28 of file REROOT_GeomMisc.h.

Referenced by VMARS().


The documentation for this class was generated from the following files:
Generated on Wed Dec 10 22:50:28 2014 for loon by  doxygen 1.4.7