Cleanup of output messages...
[u/mrichter/AliRoot.git] / Flugg / FGeometryInit.icc
CommitLineData
26911512 1#include <iostream.h>
2#include <FluggNavigator.hh>
3
4FluggNavigator* FGeometryInit::getNavigatorForTracking() {
5 G4Navigator* g4nav = fTransportationManager->GetNavigatorForTracking();
6 return ((FluggNavigator*) g4nav);
7}
8
9void FGeometryInit::setDetConstruction(G4VUserDetectorConstruction* detector) {
10 fDetector = detector;;
11}
12
13void FGeometryInit::setDetector() {
14 myTopNode = fDetector->Construct();
15}
16
17void FGeometryInit::setMotherVolume() {
26911512 18 getNavigatorForTracking()->SetWorldVolume(myTopNode);
19}
20
21G4FieldManager * FGeometryInit::getFieldManager() {
22 return fTransportationManager->GetFieldManager();
23}
24
25void FGeometryInit::DelHistArray() {
26 delete[] ptrArray;
27}
28
29G4int * FGeometryInit::GetHistArray() {
30 return ptrArray;
31}
32
33G4int * FGeometryInit::GetJrLtGeantArray() {
34 return ptrJrLtGeant;
35}
36
37
38G4int FGeometryInit::GetLttcFlagGeant() {
39 return flagLttcGeant;
40}
41
42G4TouchableHistory * FGeometryInit::GetTouchableHistory() {
43 return ptrTouchHist;
44}
45
46G4TouchableHistory * FGeometryInit::GetOldNavHist() {
47 return ptrOldNavHist;
48}
49
50G4TouchableHistory * FGeometryInit::GetTempNavHist() {
51 return ptrTempNavHist;
52}