CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/SimG4Core/Notification/interface/DDG4Dispatchable.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_DDG4Dispatchable_H
00002 #define SimG4Core_DDG4Dispatchable_H
00003 
00004 #include "DetectorDescription/Core/interface/DDLogicalPart.h"
00005 
00006 #include "G4LogicalVolume.hh"
00007 
00008 class DDG4Dispatchable
00009 {
00010 public:
00011     DDG4Dispatchable(const DDLogicalPart * ddL, G4LogicalVolume * g4L) 
00012         : ddLogical(ddL), g4Logical(g4L) {}
00013     const DDLogicalPart * getDDLogicalPart() const { return ddLogical; }
00014     G4LogicalVolume * getG4LogicalVolume() const{ return g4Logical; } 
00015 private:
00016     const DDLogicalPart * ddLogical;
00017     G4LogicalVolume * g4Logical;
00018 };
00019 
00020 #endif
00021 
00022