/** * @file SolidUtils.hh * @author: Ibrahin Pinera * @date 2017 SoLid - University of Antwerp */ #ifndef SolidUtils_h #define SolidUtils_h 1 #include "G4ThreeVector.hh" #include "G4LogicalVolume.hh" #include "G4VisAttributes.hh" G4bool FindVolume(G4String Vname); G4String IsPointInsideVolume(G4ThreeVector& point); void ListOfLogVolumes(); bool IsVolInsideDetector(G4String volName); bool IsVolInsideCubeMod(G4String volName); bool IsVolInsideFibre(G4String volName); int GetVolID(G4String volName, G4int LiID); double CubesDistance(int cube1, int cube2); G4int GetProcessID(G4String procname); ///< get the process code ID G4LogicalVolume *AlExtrusionConstruction(G4int type, G4double length, G4double width, G4VisAttributes* vis); G4LogicalVolume *AlternativeExtrusionConstruction(G4int type, G4double length, G4double width, G4VisAttributes* vis); #endif