ExtBesMucConstruction Class Reference

#include <ExtBesMucConstruction.h>

Inheritance diagram for ExtBesMucConstruction:

ExtBesSubdetector List of all members.

Public Member Functions

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

Private Attributes

G4VPhysicalVolume * physicalMuc
G4LogicalVolume * logicalMuc

Detailed Description

Definition at line 9 of file ExtBesMucConstruction.h.


Constructor & Destructor Documentation

ExtBesMucConstruction::ExtBesMucConstruction (  ) 

Definition at line 4 of file ExtBesMucConstruction.cxx.

00004 {}

ExtBesMucConstruction::~ExtBesMucConstruction (  )  [virtual]

Definition at line 6 of file ExtBesMucConstruction.cxx.

00006 {}


Member Function Documentation

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

Implements ExtBesSubdetector.

Definition at line 8 of file ExtBesMucConstruction.cxx.

References ExtBesSubdetector::FindLogicalVolume(), SubDetectorG4Geo::GetTopVolume(), logicalMuc, and physicalMuc.

Referenced by ExtBesDetectorConstruction::Construct().

00009 {
00010         MucG4Geo *aMucG4Geo = new MucG4Geo();
00011         logicalMuc = aMucG4Geo->GetTopVolume();
00012         logicalMuc  = FindLogicalVolume("logicalMuc");
00013         if(logicalMuc)  physicalMuc = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalMuc,"PhysicalMuc",logicBes,false,0);
00014         else G4cout<<"ExtBesMucConstruction::Construct() 1, logicalMuc not found!"<<G4endl;
00015 
00016 }

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

Definition at line 21 of file ExtBesSubdetector.h.

Referenced by Construct().

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


Member Data Documentation

G4LogicalVolume* ExtBesMucConstruction::logicalMuc [private]

Definition at line 20 of file ExtBesMucConstruction.h.

Referenced by Construct().

G4VPhysicalVolume* ExtBesMucConstruction::physicalMuc [private]

Definition at line 19 of file ExtBesMucConstruction.h.

Referenced by Construct().


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