ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, algSeq, dataType=None, isPhyslite=False, geometry=None, dsid=0, campaign=None, runNumber=None, autoconfigFromFlags=None, noSysSuffix=False, noSystematics=None, dataYear=0) |
def | noSystematics (self) |
def | autoconfigFlags (self) |
def | dataType (self) |
def | isPhyslite (self) |
def | geometry (self) |
def | dsid (self) |
def | campaign (self) |
def | runNumber (self) |
def | dataYear (self) |
def | generatorInfo (self) |
def | hltSummary (self) |
def | createAlgorithm (self, type, name, reentrant=False) |
def | createService (self, type, name) |
def | createPublicTool (self, type, name) |
def | addPrivateTool (self, propertyName, toolType) |
def | setSourceName (self, containerName, sourceName, *originalName=None, calibMode=None, isMet=False) |
def | writeName (self, containerName, *isMet=None) |
def | readName (self, containerName) |
def | copyName (self, containerName) |
def | wantCopy (self, containerName) |
def | originalName (self, containerName) |
def | calibMode (self, containerName) |
def | isMetContainer (self, containerName) |
def | readNameAndSelection (self, containerName, *excludeFrom=None) |
def | nextPass (self) |
def | getPreselection (self, containerName, selectionName, *asList=False) |
def | getFullSelection (self, containerName, selectionName, *skipBase=False, excludeFrom=None) |
def | getSelectionCutFlow (self, containerName, selectionName) |
def | addEventCutFlow (self, selection, decorations) |
def | getEventCutFlow (self, selection) |
def | addSelection (self, containerName, selectionName, decoration, **kwargs) |
def | addOutputContainer (self, containerName, outputContainerName) |
def | getOutputContainerOrigin (self, outputContainerName) |
def | addOutputVar (self, containerName, variableName, outputName, *noSys=False, enabled=True) |
def | getOutputVars (self, containerName) |
def | getSelectionNames (self, containerName, excludeFrom=None) |
Public Attributes | |
CA | |
a class that accumulates a configuration from blocks into an algorithm sequence This is used as argument to the ConfigurationBlock methods, which need to be called in the correct order. This class will track all meta-information that needs to be communicated between blocks during configuration, and also add the created algorithms to the sequence. Use/access of containers in the event store is handled via references that this class hands out. This happens in a separate step before the algorithms are created, as the naming of containers will depend on where in the chain the container is used.
Definition at line 94 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.__init__ | ( | self, | |
algSeq, | |||
dataType = None , |
|||
isPhyslite = False , |
|||
geometry = None , |
|||
dsid = 0 , |
|||
campaign = None , |
|||
runNumber = None , |
|||
autoconfigFromFlags = None , |
|||
noSysSuffix = False , |
|||
noSystematics = None , |
|||
dataYear = 0 |
|||
) |
Definition at line 111 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.addEventCutFlow | ( | self, | |
selection, | |||
decorations | |||
) |
register a new event cutflow, adding it to the dictionary with key 'selection' and value 'decorations', a list of decorated selections
Definition at line 572 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.addOutputContainer | ( | self, | |
containerName, | |||
outputContainerName | |||
) |
def python.ConfigAccumulator.ConfigAccumulator.addOutputVar | ( | self, | |
containerName, | |||
variableName, | |||
outputName, | |||
* | noSys = False , |
||
enabled = True |
|||
) |
add an output variable for the given container to the output
Definition at line 625 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.addPrivateTool | ( | self, | |
propertyName, | |||
toolType | |||
) |
def python.ConfigAccumulator.ConfigAccumulator.addSelection | ( | self, | |
containerName, | |||
selectionName, | |||
decoration, | |||
** | kwargs | ||
) |
add another selection decoration to the selection of the given name for the given container
Definition at line 592 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.autoconfigFlags | ( | self | ) |
auto configuration flags
Definition at line 194 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.calibMode | ( | self, | |
containerName | |||
) |
get the calibration mode of the given container
Definition at line 400 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.campaign | ( | self | ) |
the MC campaign we run on
Definition at line 214 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.copyName | ( | self, | |
containerName | |||
) |
register that a copy of the container will be made and return its name
Definition at line 366 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.createAlgorithm | ( | self, | |
type, | |||
name, | |||
reentrant = False |
|||
) |
create a new algorithm and register it as the current algorithm
Definition at line 234 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.createPublicTool | ( | self, | |
type, | |||
name | |||
) |
create a new public tool and register it as the "current algorithm"
Definition at line 287 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.createService | ( | self, | |
type, | |||
name | |||
) |
create a new service and register it as the "current algorithm"
Definition at line 263 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.dataType | ( | self | ) |
the data type we run on (data, fullsim, fastsim)
Definition at line 198 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.dataYear | ( | self | ) |
for data, the corresponding year; for MC, zero
Definition at line 222 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.dsid | ( | self | ) |
the mcChannelNumber or DSID of the sample we run on
Definition at line 210 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.generatorInfo | ( | self | ) |
the dictionary of MC generators and their versions for the sample we run on
Definition at line 226 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.geometry | ( | self | ) |
the LHC Run period we run on
Definition at line 206 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.getEventCutFlow | ( | self, | |
selection | |||
) |
get the list of decorated selections for an event cutflow, corresponding to key 'selection'
Definition at line 584 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.getFullSelection | ( | self, | |
containerName, | |||
selectionName, | |||
* | skipBase = False , |
||
excludeFrom = None |
|||
) |
get the selection string for the given selection on the given container This can handle both individual selections or selection expressions (e.g. `loose||tight`) with the later being properly expanded. Either way the base selection (i.e. the selection without a name) will always be applied on top. containerName --- the container the selection is defined on selectionName --- the name of the selection, or a selection expression based on multiple named selections skipBase --- will avoid the base selection, and should normally not be used by the end-user. excludeFrom --- a set of string names of selection sources to exclude e.g. to exclude OR selections from MET
Definition at line 477 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.getOutputContainerOrigin | ( | self, | |
outputContainerName | |||
) |
Get the name of the actual container, for which an output is registered
Definition at line 614 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.getOutputVars | ( | self, | |
containerName | |||
) |
get the output variables for the given container
Definition at line 639 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.getPreselection | ( | self, | |
containerName, | |||
selectionName, | |||
* | asList = False |
||
) |
get the preselection string for the given selection on the given container
Definition at line 456 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.getSelectionCutFlow | ( | self, | |
containerName, | |||
selectionName | |||
) |
get the individual selections as a list for producing the cutflow for the given selection on the given container This can only handle individual selections, not selection expressions (e.g. `loose||tight`).
Definition at line 543 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.getSelectionNames | ( | self, | |
containerName, | |||
excludeFrom = None |
|||
) |
Retrieve set of unique selections defined for a given container
Definition at line 648 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.hltSummary | ( | self | ) |
the HLTSummary configuration to be used for the trigger decision tool
Definition at line 230 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.isMetContainer | ( | self, | |
containerName | |||
) |
whether the given container is registered as a MET container This is mostly/exclusively used for determining whether to write out the whole container or just a single MET term.
Definition at line 410 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.isPhyslite | ( | self | ) |
whether we run on PHYSLITE
Definition at line 202 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.nextPass | ( | self | ) |
switch to the next configuration pass Configuration happens in two steps, with all the blocks processed twice. This switches from the first to the second pass.
Definition at line 441 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.noSystematics | ( | self | ) |
noSystematics flag used by CommonServices block
Definition at line 190 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.originalName | ( | self, | |
containerName | |||
) |
get the "original" name of the given container This is mostly/exclusively used for jet containers, so that subsequent configurations know which jet container they operate on.
Definition at line 386 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.readName | ( | self, | |
containerName | |||
) |
get the name of the "current copy" of the given container As extra copies get created during processing this will track the correct name of the current copy. Optionally one can pass in the name of the container before the first copy.
Definition at line 354 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.readNameAndSelection | ( | self, | |
containerName, | |||
* | excludeFrom = None |
||
) |
get the name of the "current copy" of the given container, and the selection string This is mostly meant for MET and OR for whom the actual object selection is relevant, and which as such allow to pass in the working point as "ObjectName.WorkingPoint".
Definition at line 421 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.runNumber | ( | self | ) |
the MC runNumber
Definition at line 218 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.setSourceName | ( | self, | |
containerName, | |||
sourceName, | |||
* | originalName = None , |
||
calibMode = None , |
|||
isMet = False |
|||
) |
set the (default) name of the source/original container This is essentially meant to allow using e.g. the muon configuration and the user not having to manually specify that they want to use the Muons/AnalysisMuons container from the input file. In addition it allows to set the original name of the container (which may be different from the source name), which is mostly/exclusively used for jet containers, so that subsequent configurations know which jet container they operate on. CalibMode can also be configured to pass it down to some algs which use this information to be configured, like the METSignificance
Definition at line 317 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.wantCopy | ( | self, | |
containerName | |||
) |
ask whether we want/need a copy of the container This usually only happens if no copy of the container has been made yet and the copy is needed to allow modifications, etc.
Definition at line 375 of file ConfigAccumulator.py.
def python.ConfigAccumulator.ConfigAccumulator.writeName | ( | self, | |
containerName, | |||
* | isMet = None |
||
) |
register that the given container will be made and return its name
Definition at line 339 of file ConfigAccumulator.py.
|
private |
Definition at line 168 of file ConfigAccumulator.py.
|
private |
Definition at line 162 of file ConfigAccumulator.py.
|
private |
Definition at line 112 of file ConfigAccumulator.py.
|
private |
Definition at line 158 of file ConfigAccumulator.py.
|
private |
Definition at line 165 of file ConfigAccumulator.py.
|
private |
Definition at line 169 of file ConfigAccumulator.py.
|
private |
Definition at line 154 of file ConfigAccumulator.py.
|
private |
Definition at line 160 of file ConfigAccumulator.py.
|
private |
Definition at line 157 of file ConfigAccumulator.py.
|
private |
Definition at line 172 of file ConfigAccumulator.py.
|
private |
Definition at line 161 of file ConfigAccumulator.py.
|
private |
Definition at line 156 of file ConfigAccumulator.py.
|
private |
Definition at line 173 of file ConfigAccumulator.py.
|
private |
Definition at line 155 of file ConfigAccumulator.py.
|
private |
Definition at line 164 of file ConfigAccumulator.py.
|
private |
Definition at line 163 of file ConfigAccumulator.py.
|
private |
Definition at line 166 of file ConfigAccumulator.py.
|
private |
Definition at line 167 of file ConfigAccumulator.py.
|
private |
Definition at line 159 of file ConfigAccumulator.py.
|
private |
Definition at line 170 of file ConfigAccumulator.py.
python.ConfigAccumulator.ConfigAccumulator.CA |
Definition at line 178 of file ConfigAccumulator.py.