Analysis Software
Documentation for sPHENIX simulation software
|
Struct that selects G4VPhysicalVolume objects that match one of the provided names, exact or partially. More...
#include <acts/blob/sPHENIX/Plugins/Geant4/include/Acts/Plugins/Geant4/Geant4PhysicalVolumeSelectors.hpp>
Public Member Functions | |
NameSelector (const std::vector< std::string > &ns, bool e=false) | |
bool | select (const G4VPhysicalVolume &g4PhysVol) const final |
Public Member Functions inherited from Acts::IGeant4PhysicalVolumeSelector | |
virtual | ~IGeant4PhysicalVolumeSelector ()=default |
Public Attributes | |
std::vector< std::string > | names = {} |
bool | exact = false |
Struct that selects G4VPhysicalVolume objects that match one of the provided names, exact or partially.
Definition at line 39 of file Geant4PhysicalVolumeSelectors.hpp.
View newest version in sPHENIX GitHub at line 39 of file Geant4PhysicalVolumeSelectors.hpp
|
inline |
Constructor with arguments
ns | the provided list of names |
e | whether to select them exact or not |
Definition at line 46 of file Geant4PhysicalVolumeSelectors.hpp.
View newest version in sPHENIX GitHub at line 46 of file Geant4PhysicalVolumeSelectors.hpp
|
inlinefinalvirtual |
Secect function for the volume
g4PhysVol | the volume that is checked |
Implements Acts::IGeant4PhysicalVolumeSelector.
Definition at line 52 of file Geant4PhysicalVolumeSelectors.hpp.
View newest version in sPHENIX GitHub at line 52 of file Geant4PhysicalVolumeSelectors.hpp
References exact, perf_headwind::name, and names.
bool Acts::Geant4PhysicalVolumeSelectors::NameSelector::exact = false |
Definition at line 41 of file Geant4PhysicalVolumeSelectors.hpp.
View newest version in sPHENIX GitHub at line 41 of file Geant4PhysicalVolumeSelectors.hpp
Referenced by select().
std::vector<std::string> Acts::Geant4PhysicalVolumeSelectors::NameSelector::names = {} |
Definition at line 40 of file Geant4PhysicalVolumeSelectors.hpp.
View newest version in sPHENIX GitHub at line 40 of file Geant4PhysicalVolumeSelectors.hpp
Referenced by cpp.ast.Using::__str__(), and select().