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 |
|
|
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 };
|
|
|
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 }
|
|
|
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 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1