diff --git a/passive/ShipCave.cxx b/passive/ShipCave.cxx index 28b691afff..90adfa2fb9 100644 --- a/passive/ShipCave.cxx +++ b/passive/ShipCave.cxx @@ -1,46 +1,31 @@ /* Generated by Together */ #include "ShipCave.h" -#include "ShipGeoCave.h" // for ShipGeoCave -#include "FairGeoInterface.h" // for FairGeoInterface -#include "FairGeoLoader.h" // for FairGeoLoader -#include "FairGeoNode.h" // for FairGeoNode -#include "FairGeoPassivePar.h" // for FairGeoPassivePar -#include "FairGeoVolume.h" // for FairGeoVolume -#include "FairRun.h" // for FairRun -#include "FairRuntimeDb.h" // for FairRuntimeDb - -#include "TList.h" // for TListIter, TList (ptr only) -#include "TObjArray.h" // for TObjArray -#include "TString.h" // for TString - -#include // for NULL - +#include "FairGeoInterface.h" // for FairGeoInterface +#include "FairGeoLoader.h" // for FairGeoLoader +#include "ShipGeoCave.h" // for ShipGeoCave void ShipCave::ConstructGeometry() { - FairGeoLoader* loader=FairGeoLoader::Instance(); - FairGeoInterface* GeoInterface =loader->getGeoInterface(); - ShipGeoCave* MGeo=new ShipGeoCave(); - MGeo->setGeomFile(GetGeometryFileName()); - GeoInterface->addGeoModule(MGeo); - Bool_t rc = GeoInterface->readSet(MGeo); - if ( rc ) { MGeo->create(loader->getGeoBuilder()); } - + FairGeoLoader* loader = FairGeoLoader::Instance(); + FairGeoInterface* GeoInterface = loader->getGeoInterface(); + ShipGeoCave* MGeo = new ShipGeoCave(); + MGeo->setGeomFile(GetGeometryFileName()); + GeoInterface->addGeoModule(MGeo); + Bool_t rc = GeoInterface->readSet(MGeo); + if (rc) { + MGeo->create(loader->getGeoBuilder()); + } } ShipCave::ShipCave() -:FairModule() -{ -} - -ShipCave::~ShipCave() -{ + : FairModule() +{} -} -ShipCave::ShipCave(const char* name, const char* Title) - : FairModule(name ,Title) +ShipCave::~ShipCave() {} +ShipCave::ShipCave(const char* name, const char* Title) + : FairModule(name, Title) { - world[0] = 0; - world[1] = 0; - world[2] = 0; + world[0] = 0; + world[1] = 0; + world[2] = 0; }