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

Functions

 getCTP_Decision (aKey)
 CTP Decision.
 getLVL1_ROI (aKey)
 LVL1 ROI.
 getTrigDecision (aKey)
 TrigDecision.
 getHLTResult (aKey)
 HLTResult.
 getHLTAODConfigData (aKey)
 HLTAODConfigData.
 getLvl1AODConfigData (aKey)
 Lvl1AODConfigData.
 getLvl1AODPrescaleConfigData (aKey)
 Lvl1AODPrescaleConfigData.

Variables

str __docformat__ = "restructuredtext en"

Detailed Description

module to access trigger objects interactively

Examples are in `PyAnalysisExamples/TriggerTest.py`_

.. _PyAnalysisExamples/TriggerTest.py: http://atlas-sw.cern.ch/cgi-bin/viewcvs-atlas.cgi/offline/PhysicsAnalysis/PyAnalysis/PyAnalysisExamples/share/TriggerTest.py?rev=HEAD&content-type=text/vnd.viewcvs-markup

:author: Tadashi Maeno
:contact: Tadashi.Maeno@cern.ch

Function Documentation

◆ getCTP_Decision()

python.PyTriggerTools.getCTP_Decision ( aKey)

CTP Decision.

Retrieve CTP_Decision object from SG

:param aKey: key of the object

**examples**::

  athena> ctp = PyTriggerTools.getCTP_Decision('CTP_Decision')
  athena> dir(ctp)                 # see methods of the CTP_Decision class      
  athena> print ctp.isAccepted()   # see if this event was accepted by LVL1

Definition at line 18 of file PyTriggerTools.py.

18def getCTP_Decision (aKey):
19 """Retrieve CTP_Decision object from SG
20
21 :param aKey: key of the object
22
23 **examples**::
24
25 athena> ctp = PyTriggerTools.getCTP_Decision('CTP_Decision')
26 athena> dir(ctp) # see methods of the CTP_Decision class
27 athena> print ctp.isAccepted() # see if this event was accepted by LVL1
28
29 """
30 return PyK.retrieve(PyK.GNS.CTP_Decision,aKey)
31
32

◆ getHLTAODConfigData()

python.PyTriggerTools.getHLTAODConfigData ( aKey)

HLTAODConfigData.

Retrieve TrigConf::HLTAODConfigData object from SG

:param aKey: key of the object

Definition at line 72 of file PyTriggerTools.py.

72def getHLTAODConfigData (aKey):
73 """Retrieve TrigConf::HLTAODConfigData object from SG
74
75 :param aKey: key of the object
76
77
78 """
79 return PyK.retrieve(PyK.GNS.TrigConf.HLTAODConfigData,aKey)
80

◆ getHLTResult()

python.PyTriggerTools.getHLTResult ( aKey)

HLTResult.

Retrieve HLT::HLTResult object from SG

:param aKey: key of the object

Definition at line 62 of file PyTriggerTools.py.

62def getHLTResult (aKey):
63 """Retrieve HLT::HLTResult object from SG
64
65 :param aKey: key of the object
66
67
68 """
69 return PyK.retrieve(PyK.GNS.HLT.HLTResult,aKey)
70

◆ getLVL1_ROI()

python.PyTriggerTools.getLVL1_ROI ( aKey)

LVL1 ROI.

Retrieve LVL1_ROI object from SG

:param aKey: key of the object

**examples**::

  athena> rois = PyTriggerTools.getLVL1_ROI('LVL1_ROI')
  athena> dir(rois)                # see methods of the LVL1_ROI class
  athena> em = rois.getEmTauROIs() # get EMTau ROIs
  athena> len(em)                  # get length of the EMTau ROI vector
  athena> print em[0].getEta()     # see Eta of the first ROI

Definition at line 34 of file PyTriggerTools.py.

34def getLVL1_ROI (aKey):
35 """Retrieve LVL1_ROI object from SG
36
37 :param aKey: key of the object
38
39 **examples**::
40
41 athena> rois = PyTriggerTools.getLVL1_ROI('LVL1_ROI')
42 athena> dir(rois) # see methods of the LVL1_ROI class
43 athena> em = rois.getEmTauROIs() # get EMTau ROIs
44 athena> len(em) # get length of the EMTau ROI vector
45 athena> print em[0].getEta() # see Eta of the first ROI
46
47 """
48 return PyK.retrieve(PyK.GNS.LVL1_ROI,aKey)
49
50

◆ getLvl1AODConfigData()

python.PyTriggerTools.getLvl1AODConfigData ( aKey)

Lvl1AODConfigData.

Retrieve TrigConf::Lvl1AODConfigData object from SG

:param aKey: key of the object

Definition at line 82 of file PyTriggerTools.py.

82def getLvl1AODConfigData (aKey):
83 """Retrieve TrigConf::Lvl1AODConfigData object from SG
84
85 :param aKey: key of the object
86
87
88 """
89 return PyK.retrieve(PyK.GNS.TrigConf.Lvl1AODConfigData,aKey)
90

◆ getLvl1AODPrescaleConfigData()

python.PyTriggerTools.getLvl1AODPrescaleConfigData ( aKey)

Lvl1AODPrescaleConfigData.

Retrieve TrigConf::Lvl1AODPrescaleConfigData object from SG

:param aKey: key of the object

Definition at line 92 of file PyTriggerTools.py.

92def getLvl1AODPrescaleConfigData (aKey):
93 """Retrieve TrigConf::Lvl1AODPrescaleConfigData object from SG
94
95 :param aKey: key of the object
96
97
98 """
99 return PyK.retrieve(PyK.GNS.TrigConf.Lvl1AODPrescaleConfigData,aKey)

◆ getTrigDecision()

python.PyTriggerTools.getTrigDecision ( aKey)

TrigDecision.

Retrieve TrigDecision object from SG

:param aKey: key of the object

Definition at line 52 of file PyTriggerTools.py.

52def getTrigDecision (aKey):
53 """Retrieve TrigDecision object from SG
54
55 :param aKey: key of the object
56
57
58 """
59 return PyK.retrieve(PyK.GNS.TrigDec.TrigDecision,aKey)
60

Variable Documentation

◆ __docformat__

str python.PyTriggerTools.__docformat__ = "restructuredtext en"
private

Definition at line 13 of file PyTriggerTools.py.