ExtBesTofConstruction Class Reference

#include <ExtBesTofConstruction.h>

Inheritance diagram for ExtBesTofConstruction:

ExtBesSubdetector List of all members.

Public Member Functions

 ExtBesTofConstruction ()
virtual ~ExtBesTofConstruction ()
void Construct (G4LogicalVolume *logicBes)
void ConstructETF (G4LogicalVolume *logicBes)
G4LogicalVolume * FindLogicalVolume (const G4String &vn)

Private Attributes

G4LogicalVolume * logicalTof
G4VPhysicalVolume * physicalTof

Detailed Description

Definition at line 11 of file ExtBesTofConstruction.h.


Constructor & Destructor Documentation

ExtBesTofConstruction::ExtBesTofConstruction (  ) 

Definition at line 15 of file ExtBesTofConstruction.cxx.

00017 {
00018 }

ExtBesTofConstruction::~ExtBesTofConstruction (  )  [virtual]

Definition at line 20 of file ExtBesTofConstruction.cxx.

00020 {}


Member Function Documentation

void ExtBesTofConstruction::Construct ( G4LogicalVolume *  logicBes  )  [virtual]

Implements ExtBesSubdetector.

Definition at line 22 of file ExtBesTofConstruction.cxx.

References SubDetectorG4Geo::GetTopVolume(), logicalTof, and physicalTof.

Referenced by ExtBesDetectorConstruction::Construct().

00023 {
00024 
00025         TofG4Geo* aTofG4Geo = new TofG4Geo();
00026         logicalTof = aTofG4Geo->GetTopVolume();
00027         if(!logicalTof)  G4cout<<"ExtBesTofConstruction::Construct(), logicalTof not found"<<G4endl;
00028         physicalTof = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,"physicalTof",logicBes,false,0);
00029 }

void ExtBesTofConstruction::ConstructETF ( G4LogicalVolume *  logicBes  ) 

Definition at line 32 of file ExtBesTofConstruction.cxx.

References SubDetectorG4Geo::GetTopVolume(), logicalTof, and physicalTof.

Referenced by ExtBesDetectorConstruction::Construct().

00032                                                                   {
00033 
00034   MRPCG4Geo* aTofG4Geo = new MRPCG4Geo();
00035   logicalTof = aTofG4Geo->GetTopVolume();
00036   if(!logicalTof)  G4cout<<"ExtBesTofConstruction::Construct(), logicalTof not found"<<G4endl;
00037   physicalTof = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,"physicalTof",logicBes,false,0);
00038 }

G4LogicalVolume * ExtBesSubdetector::FindLogicalVolume ( const G4String &  vn  )  [inline, inherited]

Definition at line 21 of file ExtBesSubdetector.h.

Referenced by ExtBesMucConstruction::Construct().

00022 {
00023         return const_cast<G4LogicalVolume*>( GDMLProcessor::GetInstance()->GetLogicalVolume(vn) );
00024 }


Member Data Documentation

G4LogicalVolume* ExtBesTofConstruction::logicalTof [private]

Definition at line 21 of file ExtBesTofConstruction.h.

Referenced by Construct(), and ConstructETF().

G4VPhysicalVolume* ExtBesTofConstruction::physicalTof [private]

Definition at line 22 of file ExtBesTofConstruction.h.

Referenced by Construct(), and ConstructETF().


Generated on Tue Nov 29 23:19:34 2016 for BOSS_7.0.2 by  doxygen 1.4.7