ExtBesMdcConstruction Class Reference

#include <ExtBesMdcConstruction.h>

Inheritance diagram for ExtBesMdcConstruction:

ExtBesSubdetector List of all members.

Public Member Functions

 ExtBesMdcConstruction ()
 ~ExtBesMdcConstruction ()
void Construct (G4LogicalVolume *)
G4LogicalVolume * FindLogicalVolume (const G4String &vn)

Private Attributes

G4VPhysicalVolume * physicalMdc
G4LogicalVolume * logicalMdc

Detailed Description

Definition at line 9 of file ExtBesMdcConstruction.h.


Constructor & Destructor Documentation

ExtBesMdcConstruction::ExtBesMdcConstruction (  ) 

Definition at line 11 of file ExtBesMdcConstruction.cxx.

00011 {}

ExtBesMdcConstruction::~ExtBesMdcConstruction (  ) 

Definition at line 13 of file ExtBesMdcConstruction.cxx.

00013 {}


Member Function Documentation

void ExtBesMdcConstruction::Construct ( G4LogicalVolume *   )  [virtual]

Implements ExtBesSubdetector.

Definition at line 15 of file ExtBesMdcConstruction.cxx.

References SubDetectorG4Geo::GetTopVolume(), logicalMdc, and physicalMdc.

Referenced by ExtBesDetectorConstruction::Construct().

00016 {
00017         MdcG4Geo* aMdcG4Geo = new MdcG4Geo();
00018         G4LogicalVolume* logicalMdc = aMdcG4Geo->GetTopVolume();
00019         if(!logicalMdc){
00020            G4cout<<"ExtBesMdcConstruction::Construct(), logicalMdc not found"<<G4endl;
00021         }
00022         else{//construct Mdc
00023            physicalMdc = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalMdc, "physicalMdc",logicBes, false, 0);}
00024 }

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* ExtBesMdcConstruction::logicalMdc [private]

Definition at line 19 of file ExtBesMdcConstruction.h.

Referenced by Construct().

G4VPhysicalVolume* ExtBesMdcConstruction::physicalMdc [private]

Definition at line 18 of file ExtBesMdcConstruction.h.

Referenced by Construct().


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