ATLAS Offline Software
Loading...
Searching...
No Matches
python.JetAnalysisConfig._JvtWorkingPointBase Class Reference
Inheritance diagram for python.JetAnalysisConfig._JvtWorkingPointBase:
Collaboration diagram for python.JetAnalysisConfig._JvtWorkingPointBase:

Public Member Functions

 __init__ (self)
 instanceName (self)
 workingPoint (self)
 suffix (self)

Protected Attributes

 _wpOption

Detailed Description

common base for the Jvt and fJvt working point config blocks

The concrete blocks combine one of these bases with a parameter class
(`_NNJvtParameters` or `_FJvtParameters`).

Definition at line 933 of file JetAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.JetAnalysisConfig._JvtWorkingPointBase.__init__ ( self)

Definition at line 939 of file JetAnalysisConfig.py.

939 def __init__ (self) :
940 super().__init__()
941 self.setBlockName(self.__class__.__name__)
942 self.addOption ('containerName', '', type=str,
943 noneAction='error',
944 info="the name of the input container.",
945 meta={'role':'containerRef'})
946 self.addOption ('selectionName', '', type=str,
947 noneAction='error',
948 info="the name of the jet selection to define (e.g. `tight` or `loose`).",
949 meta={'role':'selection'})
950 self.addOption (self._wpOption, '', type=str,
951 noneAction='error',
952 info=self._wpInfo,
953 meta={'choices':(self._wpChoices,1)})
954 self.addOption ('useSuffix', True, type=bool,
955 info="whether the working point name is to be used as suffix ."
956 "Not to be disabled if multiple working points are scheduled.")
957

Member Function Documentation

◆ instanceName()

python.JetAnalysisConfig._JvtWorkingPointBase.instanceName ( self)

Definition at line 958 of file JetAnalysisConfig.py.

958 def instanceName (self) :
959 return self.containerName + '_' + self.selectionName
960

◆ suffix()

python.JetAnalysisConfig._JvtWorkingPointBase.suffix ( self)

Definition at line 964 of file JetAnalysisConfig.py.

964 def suffix (self) :
965 return f"_{self.workingPoint()}" if self.useSuffix else ""
966
967

◆ workingPoint()

python.JetAnalysisConfig._JvtWorkingPointBase.workingPoint ( self)

Definition at line 961 of file JetAnalysisConfig.py.

961 def workingPoint (self) :
962 return getattr(self, self._wpOption)
963

Member Data Documentation

◆ _wpOption

python.JetAnalysisConfig._JvtWorkingPointBase._wpOption
protected

Definition at line 950 of file JetAnalysisConfig.py.


The documentation for this class was generated from the following file: