SND@LHC Software
Loading...
Searching...
No Matches
ShipCave Class Reference

#include <ShipCave.h>

Inheritance diagram for ShipCave:
Collaboration diagram for ShipCave:

Public Member Functions

 ShipCave (const char *name, const char *Title="Exp Cave")
 
 ShipCave ()
 
virtual ~ShipCave ()
 
virtual void ConstructGeometry ()
 

Private Attributes

Double_t world [3]
 

Detailed Description

Definition at line 8 of file ShipCave.h.

Constructor & Destructor Documentation

◆ ShipCave() [1/2]

ShipCave::ShipCave ( const char *  name,
const char *  Title = "Exp Cave" 
)

Definition at line 26 of file ShipCave.cxx.

27 : FairModule(name ,Title)
28{
29 world[0] = 0;
30 world[1] = 0;
31 world[2] = 0;
32}
Double_t world[3]
Definition ShipCave.h:18

◆ ShipCave() [2/2]

ShipCave::ShipCave ( )

Definition at line 17 of file ShipCave.cxx.

18:FairModule()
19{
20}

◆ ~ShipCave()

ShipCave::~ShipCave ( )
virtual

Definition at line 22 of file ShipCave.cxx.

23{
24
25}

Member Function Documentation

◆ ConstructGeometry()

void ShipCave::ConstructGeometry ( )
virtual

Definition at line 6 of file ShipCave.cxx.

7{
8 FairGeoLoader* loader=FairGeoLoader::Instance();
9 FairGeoInterface* GeoInterface =loader->getGeoInterface();
10 ShipGeoCave* MGeo=new ShipGeoCave();
11 MGeo->setGeomFile(GetGeometryFileName());
12 GeoInterface->addGeoModule(MGeo);
13 Bool_t rc = GeoInterface->readSet(MGeo);
14 if ( rc ) { MGeo->create(loader->getGeoBuilder()); }
15
16}

Member Data Documentation

◆ world

Double_t ShipCave::world[3]
private

Definition at line 18 of file ShipCave.h.


The documentation for this class was generated from the following files: