Skip to content

Commit

Permalink
ShipCave.cxx: Don't include unneeded (or nonexistent!) headers
Browse files Browse the repository at this point in the history
  • Loading branch information
olantwin committed Sep 5, 2024
1 parent 3f6f347 commit abc37cf
Showing 1 changed file with 20 additions and 35 deletions.
55 changes: 20 additions & 35 deletions passive/ShipCave.cxx
Original file line number Diff line number Diff line change
@@ -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 <stddef.h> // 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;
}

0 comments on commit abc37cf

Please sign in to comment.