Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:45

0001 #ifndef SimG4Core_DDGeometryReturnType_h
0002 #define SimG4Core_DDGeometryReturnType_h
0003 
0004 #include "SimG4Core/Geometry/interface/G4LogicalVolumeToDDLogicalPartMap.h"
0005 #include "SimG4Core/Geometry/interface/SensitiveDetectorCatalog.h"
0006 
0007 #include "G4LogicalVolume.hh"
0008 
0009 class DDGeometryReturnType {
0010 public:
0011   DDGeometryReturnType(G4LogicalVolume *log,
0012                        const G4LogicalVolumeToDDLogicalPartMap &map,
0013                        const SensitiveDetectorCatalog &catalog);
0014   ~DDGeometryReturnType();
0015 
0016   G4LogicalVolume *logicalVolume() const { return log_; }
0017   G4LogicalVolumeToDDLogicalPartMap lvToDDLPMap() const { return map_; }
0018   SensitiveDetectorCatalog sdCatalog() const { return catalog_; }
0019 
0020 private:
0021   G4LogicalVolume *log_;
0022   G4LogicalVolumeToDDLogicalPartMap map_;
0023   SensitiveDetectorCatalog catalog_;
0024 };
0025 
0026 #endif