ATLAS Offline Software
Loading...
Searching...
No Matches
python.AsgAnalysisConfig Namespace Reference

Classes

class  CommonServicesConfig
class  EventCutFlowBlock
class  GeneratorAnalysisBlock
class  IFFLeptonDecorationBlock
class  IOStatsBlock
class  MCTCLeptonDecorationBlock
class  ObjectCutFlowBlock
class  OutputThinningBlock
class  PerEventSFBlock
class  PileupReweightingBlock
class  PtEtaSelectionBlock
class  SelectionDecorationBlock
class  SystematicsCategories

Functions

 CommonServices (seq)
 makeEventCutFlowConfig (seq, containerName, *, postfix=None, selectionName, customSelections=None)

Function Documentation

◆ CommonServices()

python.AsgAnalysisConfig.CommonServices ( seq)

Definition at line 173 of file AsgAnalysisConfig.py.

173def CommonServices(seq):
174 seq.append(CommonServicesConfig())
175 from AsgAnalysisAlgorithms.TruthCollectionsFixerConfig import TruthCollectionsFixerBlock
176 seq.append(TruthCollectionsFixerBlock())
177

◆ makeEventCutFlowConfig()

python.AsgAnalysisConfig.makeEventCutFlowConfig ( seq,
containerName,
* ,
postfix = None,
selectionName,
customSelections = None )
Create an event-level cutflow config

Keyword arguments:
containerName -- name of the container
postfix -- a postfix to apply to decorations and algorithm names.
selectionName -- the name of the selection to do the cutflow for
customSelections -- a list of decorations to use in the cutflow, to override the retrieval of all decorations

Definition at line 882 of file AsgAnalysisConfig.py.

883 *, postfix=None, selectionName, customSelections=None):
884 """Create an event-level cutflow config
885
886 Keyword arguments:
887 containerName -- name of the container
888 postfix -- a postfix to apply to decorations and algorithm names.
889 selectionName -- the name of the selection to do the cutflow for
890 customSelections -- a list of decorations to use in the cutflow, to override the retrieval of all decorations
891 """
892
893 config = EventCutFlowBlock()
894 config.setOptionValue('containerName', containerName)
895 config.setOptionValue('selectionName', selectionName)
896 config.setOptionValue('postfix', postfix)
897 config.setOptionValue('customSelections', customSelections)
898 seq.append(config)