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

Functions

 TrigEgammaMonConfig (inputFlags, emulator=None, onlyHLT=False)

Variables

 log_trigeg = logging.getLogger( 'TrigEgammaMonitorAlgorithm' )
str path = '/afs/cern.ch/work/j/jodafons/public/valid_sampleA/valid1.361106.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zee.recon.AOD.e5112_s3214_d1731_r13252_tid27512952_00'
 flags = initConfigFlags()
 Files
 isMC
 HISTFileName
 cfg = MainServicesCfg(flags)
 trigEgammaMonitorAcc = TrigEgammaMonConfig(flags)
 withDetails

Detailed Description

@file TrigEgammaMonitorAlgorithm.py
@author J. Pinto (jodafons)
@author D. Maximov
@author E. Bergeaas Kuutmann
@author T. Bold
@date 2019-06-28
@brief Egamma trigger python configuration for the Run III AthenaMonitoring package, based on the example by E. Bergeaas Kuutmann

Function Documentation

◆ TrigEgammaMonConfig()

python.TrigEgammaMonitorAlgorithm.TrigEgammaMonConfig ( inputFlags,
emulator = None,
onlyHLT = False )
Function to configures some algorithms in the monitoring system.

Definition at line 17 of file TrigEgammaMonitorAlgorithm.py.

17def TrigEgammaMonConfig(inputFlags, emulator=None, onlyHLT = False):
18 '''Function to configures some algorithms in the monitoring system.'''
19
20 # The following class will make a sequence, configure algorithms, and link
21 from AthenaMonitoring import AthMonitorCfgHelper
22 helper = AthMonitorCfgHelper(inputFlags,'TrigEgammaAthMonitorCfg')
23
24 from TrigConfigSvc.TriggerConfigAccess import getHLTMonitoringAccess
25 moniAccess=getHLTMonitoringAccess(inputFlags)
26
27 if emulator: # add emulator as public
28 acc = helper.resobj
29 acc.addPublicTool(emulator.core())
30
31 # configure alg and ana tools
32 from TrigEgammaMonitoring.TrigEgammaMonitoringConfig import TrigEgammaMonAlgBuilder
33 monAlgCfg = TrigEgammaMonAlgBuilder( helper, '2018', moniAccess, detailedHistograms=False, emulator=emulator, onlyHLT = onlyHLT, ComputeEffLH = inputFlags.Trigger.egamma.monitorEffLH, ComputeEffDNN = inputFlags.Trigger.egamma.monitorEffDNN ) # Using 2018 e/g tunings
34 # build monitor and book histograms
35 monAlgCfg.configure()
36
37 # Finalize. The return value should be a tuple of the ComponentAccumulator
38 # and the sequence containing the created algorithms. If we haven't called
39 # any configuration other than the AthMonitorCfgHelper here, then we can
40 # just return directly (and not create "result" above)
41 # return the componenet accumulator to the main call
42 return helper.result()
43
44
45

Variable Documentation

◆ cfg

python.TrigEgammaMonitorAlgorithm.cfg = MainServicesCfg(flags)

Definition at line 63 of file TrigEgammaMonitorAlgorithm.py.

◆ Files

python.TrigEgammaMonitorAlgorithm.Files

Definition at line 54 of file TrigEgammaMonitorAlgorithm.py.

◆ flags

python.TrigEgammaMonitorAlgorithm.flags = initConfigFlags()

Definition at line 53 of file TrigEgammaMonitorAlgorithm.py.

◆ HISTFileName

python.TrigEgammaMonitorAlgorithm.HISTFileName

Definition at line 56 of file TrigEgammaMonitorAlgorithm.py.

◆ isMC

python.TrigEgammaMonitorAlgorithm.isMC

Definition at line 55 of file TrigEgammaMonitorAlgorithm.py.

◆ log_trigeg

python.TrigEgammaMonitorAlgorithm.log_trigeg = logging.getLogger( 'TrigEgammaMonitorAlgorithm' )

Definition at line 14 of file TrigEgammaMonitorAlgorithm.py.

◆ path

str python.TrigEgammaMonitorAlgorithm.path = '/afs/cern.ch/work/j/jodafons/public/valid_sampleA/valid1.361106.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zee.recon.AOD.e5112_s3214_d1731_r13252_tid27512952_00'

Definition at line 51 of file TrigEgammaMonitorAlgorithm.py.

◆ trigEgammaMonitorAcc

python.TrigEgammaMonitorAlgorithm.trigEgammaMonitorAcc = TrigEgammaMonConfig(flags)

Definition at line 66 of file TrigEgammaMonitorAlgorithm.py.

◆ withDetails

python.TrigEgammaMonitorAlgorithm.withDetails

Definition at line 73 of file TrigEgammaMonitorAlgorithm.py.