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

Geo Namespace Reference


Enumerations

enum  EAppType { kRecons, kVMC }

Functions

const char * AsString (EAppType apptype)
Float_t GetScale (EAppType apptype)

Variables

const Float_t kStripWidth = 4.1 * Munits::cm
const Float_t kStripThick = 1.0 * Munits::cm
const Float_t kCoexThick = 0.025 * Munits::cm
const Float_t kModuleSkinThick = 0.05 * Munits::cm
const Float_t kFarModuleHoleRad = 15. * Munits::cm
const Float_t kNearModuleHoleRad = 27. * Munits::cm
const Float_t kFarSteelWidth = 8.0 * Munits::m
const Float_t kCalDetSteelWidth = 1.0 * Munits::m
const Float_t kFarSteelHoleRad = 15. * Munits::cm
const Float_t kNearSteelHoleHalfWidth = 18. * Munits::cm
const Float_t kNearXOffset = -55.78 * Munits::cm


Enumeration Type Documentation

enum EAppType
 

Enumeration values:
kRecons 
kVMC 

Definition at line 46 of file Geo.h.

00046                 {
00047     // Geometry application type
00048     kRecons, // for use in minos reconstruction framework
00049     kVMC    // for use in virtual monte carlo application
00050   };


Function Documentation

const char * Geo::AsString EAppType  apptype  ) 
 

Definition at line 41 of file Geo.cxx.

References kRecons, kVMC, and MSG.

Referenced by UgliLoanPool::BuildGeoGeometry(), UgliLoanPool::GetGeoGeometry(), and GetScale().

00041                                              {
00042   // Convert enumerated application type to an application type string
00043   
00044   switch (apptype) {
00045 
00046   case kRecons:
00047     return "Recons";
00048 
00049   case kVMC:
00050     return "VMC";
00051 
00052   default:
00053     MSG("Geo",Msg::kWarning) << "Geo::AsString called with unknown apptype "
00054                              << (int)apptype << "." << endl;
00055     return "UNKNOWN";
00056   }// end of switch
00057 }

Float_t Geo::GetScale EAppType  apptype  ) 
 

Definition at line 22 of file Geo.cxx.

References AsString(), kRecons, kVMC, and MSG.

Referenced by GeoStripVolume::AddPstyreneNodes(), GeoSteelPlnVolume::BuildCalDetSteelBasic(), GeoScintPlnVolume::BuildFarVetoActive(), GeoScintPlnVolume::BuildNearFullActive(), GeoScintMdlVolume::BuildNearlMXtru(), GeoScintMdlVolume::BuildNearLmXtru(), GeoScintPlnVolume::BuildNearPartialActive(), GeoGeometry::GeoGeometry(), GeoStripVolume::GeoStripVolume(), and GeoVolume::GetScale().

00022                                          {
00023   // Return the scale factor to be used when building the detector geometry
00024   // The scale factor will be applied to build the geometry in the units
00025   // appropriate for the given application type.  
00026   switch (apptype) {
00027 
00028   case kRecons:
00029     return 1;
00030 
00031   case kVMC:
00032     return 1./Munits::cm;
00033 
00034   default:
00035     MSG("Geo",Msg::kWarning) << "Scale factor for application type "
00036                 << Geo::AsString(apptype) << " unavailable." << endl;
00037     return 1;
00038   }// end of switch
00039 }


Variable Documentation

const Float_t Geo::kCalDetSteelWidth = 1.0 * Munits::m
 

Definition at line 38 of file Geo.h.

const Float_t Geo::kCoexThick = 0.025 * Munits::cm
 

Definition at line 25 of file Geo.h.

const Float_t Geo::kFarModuleHoleRad = 15. * Munits::cm
 

Definition at line 30 of file Geo.h.

const Float_t Geo::kFarSteelHoleRad = 15. * Munits::cm
 

Definition at line 40 of file Geo.h.

const Float_t Geo::kFarSteelWidth = 8.0 * Munits::m
 

Definition at line 37 of file Geo.h.

const Float_t Geo::kModuleSkinThick = 0.05 * Munits::cm
 

Definition at line 28 of file Geo.h.

const Float_t Geo::kNearModuleHoleRad = 27. * Munits::cm
 

Definition at line 34 of file Geo.h.

const Float_t Geo::kNearSteelHoleHalfWidth = 18. * Munits::cm
 

Definition at line 41 of file Geo.h.

const Float_t Geo::kNearXOffset = -55.78 * Munits::cm
 

Definition at line 44 of file Geo.h.

const Float_t Geo::kStripThick = 1.0 * Munits::cm
 

Definition at line 22 of file Geo.h.

const Float_t Geo::kStripWidth = 4.1 * Munits::cm
 

Definition at line 21 of file Geo.h.


Generated on Thu Nov 1 15:58:50 2007 for loon by  doxygen 1.3.9.1