/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/TrkExtAlg/TrkExtAlg-00-00-64/src/ExtBesMdcConstruction.cxx

Go to the documentation of this file.
00001 #include "TrkExtAlg/ExtBesMdcConstruction.h"
00002 #include "G4LogicalVolume.hh"
00003 #include "G4PVPlacement.hh"
00004 #include "G4PVReplica.hh"
00005 
00006 #include "G4UserLimits.hh"
00007 
00008 #include "G4ios.hh"
00009 #include "G4Geo/MdcG4Geo.h"
00010 
00011 ExtBesMdcConstruction::ExtBesMdcConstruction() {}
00012 
00013 ExtBesMdcConstruction::~ExtBesMdcConstruction() {}
00014 
00015 void ExtBesMdcConstruction::Construct(G4LogicalVolume* logicBes)
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 }

Generated on Tue Nov 29 23:14:12 2016 for BOSS_7.0.2 by  doxygen 1.4.7