Created
September 23, 2016 23:02
-
-
Save JeremyMcCormick/41ed7065a48ac6552e575cd43866e8f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G4PhysicalVolumeStore* pvs = G4PhysicalVolumeStore::GetInstance(); | |
std::cout << "Dumping PV store ..." << std::endl; | |
for (G4PhysicalVolumeStore::iterator it = pvs->begin(); | |
it != pvs->end(); it++) { | |
G4VPhysicalVolume* pv = (*it); | |
std::cout << "volume: " << pv->GetName() << ", pos: " << pv->GetTranslation() << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment