00001 #include "BDSMagnetOuterFactoryBase.hh" 00002 00003 #include "BDSGlobalConstants.hh" 00004 00005 BDSMagnetOuterFactoryBase::BDSMagnetOuterFactoryBase() 00006 { 00007 lengthSafety = BDSGlobalConstants::Instance()->GetLengthSafety(); 00008 checkOverlaps = BDSGlobalConstants::Instance()->GetCheckOverlaps(); 00009 nSegmentsPerCircle = 50; 00010 maxStepFactor = 0.5; 00011 00012 // initialise variables and pointers that'll be used by the factory 00013 CleanUp(); 00014 } 00015 00016 void BDSMagnetOuterFactoryBase::CleanUp() 00017 { 00018 poleSolid = NULL; 00019 yokeSolid = NULL; 00020 containerSolid = NULL; 00021 poleLV = NULL; 00022 yokeLV = NULL; 00023 containerLV = NULL; 00024 }