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 = 19.7* Munits::cm |
| const Float_t | kNearModuleHoleRad = 27.9* Munits::cm |
| const Float_t | kFarSteelWidth = 8.0 * Munits::m |
| const Float_t | kCalDetSteelWidth = 1.0 * Munits::m |
| const Float_t | kNearXOffset = -55.78 * Munits::cm |
| const Float_t | kCoilRad = 12.0 * Munits::cm |
| const Float_t | kThroatRad = 13.0 * Munits::cm |
| const Float_t | kNeckRad = 14.0 * Munits::cm |
| const Float_t | kFeHoleRad = 15.0 * Munits::cm |
| const Float_t | kFlangeRad = 17.0 * Munits::cm |
| const Float_t | kDetailRad = 29.8 * Munits::cm |
| const Float_t | kNearFullBypassRad = 27.9 * Munits::cm |
| const Float_t | kNearPartialBypassRad = 18.0 * Munits::cm |
| const Float_t | kFarBypassRad = 19.7 * Munits::cm |
| const Float_t | kNearCoolRad = 0.8255 * Munits::cm |
|
|
Definition at line 66 of file Geo.h. 00066 {
00067 // Geometry application type
00068 kRecons, // for use in minos reconstruction framework
00069 kVMC // for use in virtual monte carlo application
00070 };
|
|
|
Definition at line 47 of file Geo.cxx. References kRecons, kVMC, and MSG. Referenced by UgliLoanPool::BuildGeoGeometry(), UgliLoanPool::GetGeoGeometry(), and GetScale(). 00047 {
00048 // Convert enumerated application type to an application type string
00049
00050 switch (apptype) {
00051
00052 case kRecons:
00053 return "Recons";
00054
00055 case kVMC:
00056 return "VMC";
00057
00058 default:
00059 MSG("Geo",Msg::kWarning) << "Geo::AsString called with unknown apptype "
00060 << (int)apptype << "." << endl;
00061 return "UNKNOWN";
00062 }// end of switch
00063 }
|
|
|
Definition at line 22 of file Geo.cxx. References AsString(), kRecons, kVMC, and MSG. Referenced by GeoStripVolume::AddPstyreneNodes(), GeoShieldGroup::AddVolume(), GeoSteelPlnVolume::BuildCalDetSteelBasic(), GeoGeometry::BuildFarCoilAirGapVolume(), GeoSteelPlnVolume::BuildFarCoilVolume(), GeoScintPlnVolume::BuildFarCoilVolume(), GeoScintPlnVolume::BuildFarVetoActive(), GeoGeometry::BuildNearCoilAirGapVolume(), GeoSteelPlnVolume::BuildNearCoilVolume(), GeoScintPlnVolume::BuildNearCoilVolume(), GeoScintPlnVolume::BuildNearFullActive(), GeoScintMdlVolume::BuildNearlMXtru(), GeoScintMdlVolume::BuildNearLmXtru(), GeoScintPlnVolume::BuildNearPartialActive(), GeoShieldGroup::BuildNode(), 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 // GeoGeometry is now built in cm for both vmc and reconstruction.
00027 // UgliXXXHandle (used by reconstruction) operates in meters, and a
00028 // scale factor is applied as appropriate to "hide" the GeoGeometry
00029 // implementation in cm so that the user of UgliXXXHandle sees a geometry
00030 // built in m.
00031
00032 switch (apptype) {
00033
00034 case kRecons:
00035 return 1./Munits::cm;
00036
00037 case kVMC:
00038 return 1./Munits::cm;
00039
00040 default:
00041 MSG("Geo",Msg::kWarning) << "Scale factor for application type "
00042 << Geo::AsString(apptype) << " unavailable." << endl;
00043 return 1;
00044 }// end of switch
00045 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1