![]() |
|
|||
File indexing completed on 2025-02-23 09:21:58
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 /// file:DNAWorld.hh 0028 /// brief : 0029 /* 0030 * This class contains the physical placements of DNA volumes. 0031 * In order to keep all the volume placement in the same place, volumes 0032 * are defined and placed in DNAGeometry, and their parent volume 0033 * is passed to this class via SetDNAVolumePointer() 0034 * 0035 * This volume is then placed in the world volume. 0036 * It is important that a physics process is created to ensure that this 0037 * world functions as a layered mass geometry. 0038 * 0039 * The aim of this function is to allow the chemistry to run without seeing 0040 * DNA volumes, in the geometry, but still allowing the chemistry to access 0041 * the volume positions through an alternate data structure. 0042 */ 0043 0044 #ifndef MOLECULAR_DNA_WORLD_HH 0045 #define MOLECULAR_DNA_WORLD_HH 0046 0047 #include "G4RotationMatrix.hh" 0048 #include "G4ThreeVector.hh" 0049 #include "G4VUserParallelWorld.hh" 0050 0051 class G4LogicalVolume; 0052 0053 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0054 0055 class DNAWorld : public G4VUserParallelWorld 0056 { 0057 public: 0058 DNAWorld(); 0059 0060 ~DNAWorld() override; 0061 0062 void Construct() override; 0063 0064 void SetDNAVolumePointer(G4LogicalVolume* lv) { fpDNAVolumePointer = lv; }; 0065 0066 void SetDNAVolumeTranslation(G4ThreeVector* t) { fpDNAVolumeTranslation = t; }; 0067 0068 void SetDNAVolumeRotation(G4RotationMatrix* rot) { fpDNAVolumeRotation = rot; }; 0069 0070 private: 0071 G4LogicalVolume* fpDNAVolumePointer = nullptr; 0072 G4ThreeVector* fpDNAVolumeTranslation = nullptr; 0073 G4RotationMatrix* fpDNAVolumeRotation = nullptr; 0074 }; 0075 0076 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0077 0078 #endif // MOLECULAR_DNA_WORLD_HH
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |