ATLAS Offline Software
TriggerTest.py
Go to the documentation of this file.
1 
6 
7 # init application mgr
8 theApp.initialize()
9 
10 # run 1 event
11 theApp.nextEvent()
12 
13 # CTP
14 ctp = PyTriggerTools.getCTP_Decision ("CTP_Decision")
15 print ("CTP")
16 print (ctp.getTriggerTypeWord())
17 print ("-------------------------")
18 
19 # L1 ROI
20 L1rois = PyTriggerTools.getLVL1_ROI ("LVL1_ROI")
21 
22 print ("Muon")
23 rois = L1rois.getMuonROIs()
24 for roi in rois:
25  print ("Eta:%s" % roi.getEta())
26  print ("Phi:%s" % roi.getPhi())
27 print ("-------------------------")
28 
29 print ("EmTau")
30 rois = L1rois.getEmTauROIs()
31 for roi in rois:
32  print ("Eta:%s" % roi.getEta())
33  print ("Phi:%s" % roi.getPhi())
34 print ("-------------------------")
35 
36 print ("Jet")
37 rois = L1rois.getJetROIs()
38 for roi in rois:
39  print ("Eta:%s" % roi.getEta())
40  print ("Phi:%s" % roi.getPhi())
41 print ("-------------------------")
42 
43 print ("JetET")
44 rois = L1rois.getJetEtROIs()
45 print ("-------------------------")
46 
47 print ("EnergySum")
48 rois = L1rois.getEnergySumROIs()
49 for i in range(len(rois)):
50  print ("EX:%s" % rois[i].getEnergyX())
51  print ("EY:%s" % rois[i].getEnergyY())
52  print ("ET:%s" % rois[i].getEnergyT())
53 print ("-------------------------")
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195