|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef G4ATLASTOOLS_USERLIMITSSVC_H
6 #define G4ATLASTOOLS_USERLIMITSSVC_H
21 class UserLimitsSvc final :
public extends<AthService, IUserLimitsSvc> {
36 Gaudi::Property<double>
m_MinEkine{
this,
"MinEkine", -1.,
"Minimum remaining kinetic energy for a track"};
38 Gaudi::Property<double>
m_MaxTrackLength{
this,
"MaxTrackLength", -1.,
"Maximum total track length"};
40 Gaudi::Property<double>
m_MaxTime{
this,
"MaxTime", -1.,
"Maximum global time for a track"};
42 Gaudi::Property<double>
m_MinRange{
this,
"MinRange", -1.,
"Minimum remaining range for a track"};
44 Gaudi::Property<std::string>
m_matchType{
this,
"MatchType",
"isMatch",
"Use 'contains' or 'isMatch' function for string comparison"};
46 Gaudi::Property<std::vector<std::string> >
m_logicalVolumes{
this,
"VolumeList" , {},
"List of Logical volume to which these limits should be applied"};
49 #endif //G4ATLASTOOLS_USERLIMITSSVC_H
bool contains(const std::string &pattern, const std::string &logicalVolume) const
Gaudi::Property< std::vector< std::string > > m_logicalVolumes
List of Logical volume to which these limits should be applied.
Gaudi::Property< double > m_MaxStep
Maximum step length.
Gaudi::Property< double > m_MinEkine
Minimum remaining kinetic energy for a track.
bool const RAWDATA *ch2 const
Support class for PropertyMgr.
Gaudi::Property< double > m_MinRange
Minimum remaining range for a track.
bool isMatch(const std::string &pattern, const std::string &logicalVolume) const
Functions for string comparison.
virtual StatusCode initialize() override final
Gaudi::Property< double > m_MaxTrackLength
Maximum total track length.
Gaudi::Property< double > m_MaxTime
Maximum global time for a track.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~UserLimitsSvc()=default
Gaudi::Property< std::string > m_matchType
Use 'contains' or 'isMatch' function for string comparison.
UserLimitsSvc(const std::string &name, ISvcLocator *pSvcLocator)
=============================================================================