ATLAS Offline Software
Functions | Variables
python.PyTriggerTools Namespace Reference

Functions

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

Variables

string __docformat__ = "restructuredtext en"
 

Function Documentation

◆ getCTP_Decision()

def 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.

18 def 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()

def 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.

72 def 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()

def 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.

62 def 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()

def 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.

34 def 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()

def 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.

82 def 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()

def 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.

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()

def python.PyTriggerTools.getTrigDecision (   aKey)

TrigDecision.

Retrieve TrigDecision object from SG

:param aKey: key of the object

Definition at line 52 of file PyTriggerTools.py.

52 def 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__

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

Definition at line 13 of file PyTriggerTools.py.

python.PyTriggerTools.getHLTResult
def getHLTResult(aKey)
HLTResult.
Definition: PyTriggerTools.py:62
python.PyTriggerTools.getHLTAODConfigData
def getHLTAODConfigData(aKey)
HLTAODConfigData.
Definition: PyTriggerTools.py:72
python.PyTriggerTools.getCTP_Decision
def getCTP_Decision(aKey)
CTP Decision.
Definition: PyTriggerTools.py:18
python.PyTriggerTools.getTrigDecision
def getTrigDecision(aKey)
TrigDecision.
Definition: PyTriggerTools.py:52
python.PyTriggerTools.getLvl1AODPrescaleConfigData
def getLvl1AODPrescaleConfigData(aKey)
Lvl1AODPrescaleConfigData.
Definition: PyTriggerTools.py:92
python.PyTriggerTools.getLVL1_ROI
def getLVL1_ROI(aKey)
LVL1 ROI.
Definition: PyTriggerTools.py:34
python.PyTriggerTools.getLvl1AODConfigData
def getLvl1AODConfigData(aKey)
Lvl1AODConfigData.
Definition: PyTriggerTools.py:82