Transcript CTP
CTP Training
A.Jusko, M. Krivda and R.Lietava.
1
Outlook
•
•
•
•
•
Introduction
Basic Concepts
Control
Configuration
Monitoring
2
LHC Basics
• 2 rings
• protons/ions are in bunches
• protons’ velocity ~ speed of light
• bunches are separated
• 7.5 m in space
•25ns in time = 40 MHz
• LHC clock – 40 MHz
•Interaction Point (IP): crossing of
rings
•ORBIT
•1 full round ~ 89 microsecs
•3564 bunches
• Bunch Crossing (BC): crossing of
two bunches in IP
•LHC filling scheme:
•how many bunches are injected
•their position in the ORBIT
3
What is trigger?
Detector
BUSY
LHC clock
TTC
FERO
Read Out
LTU
Electronics
Central
Trigger
Processor
Trigger
Electronics
CTP input
Detector Data
Physicists
Data
D
A
Q
O
F
F
L
I
N
E
ESD
4
Basic Concepts
•
•
•
•
•
•
•
CTP – Central Trigger Processor
LTU - Local Trigger Unit
DAQ – Data Acquisition system
ECS – Experiment Control System
TTC – Trigger and Timing Control
FERO – Front End Read Out electronics
Global run
– Detector fully in ECS control
– CTP provides triggers
• Standalone run
– Detector in local control (e.g. testing)
5
CTP control
Computer programs controls trigger hardware
ECS
ltuproxy
ctpproxy
Detector
miclock
BUSY
FERO
Read Out
LHC clock
TTC
LTU
Electronics
Central
Trigger
Processor
Trigger
Electronics
CTP input
6
CPUs layout in P2
7
Basic Concepts
• Detector:
– V0, TPC, SPD
• Trigger Cluster = Group of detectors to be read out
togeteher
• CTP Input or Trigger Input:
– Fast binary signal from detector 0VBA, 0VBC, 0SMB
– Internal CTP or DAQ generators used in technical runs
• Trigger Descriptor = Logical Function of CTP inputs
– defines physics to be taken by a class
– D0VBA 0VBA
– DINT7 0VBA 0VBC 0SMB (logical and of inputs)
– L0 function l0fINT1 0VBA | 0VBC | 0SMB
• Trigger Class = Descriptor + Cluster
8
Naming Conventions
• Input
names n<3-char code>
• n = 0,1,2 (trigger level)
• Descriptor starts with D
• Class starts with C
9
CTP configuration
Descriptors
Classes
Clusters
DINT7WU
0VBA & 0VBC & 0HWU
Class CINT7WU
ALL
Class CEMC7WU
SPD SDD SSD TPC TRD TOF HMPID
PHOS MUON_TRK MUON_TRG FMD
T0 V0 ZDC ACORDE EMCal
0VBA & 0VBC
Class CINT7
ALLNOTRD
DEMC7
Class CEMC7
DEMC7WU
0VBA & 0VBC & 0HWU & 0EMC
DINT7
SPD SDD SSD TPC TOF HMPID
PHOS MUON_TRK MUON_TRG FMD
T0 V0ZDC ACORDE EMCal
0VBA & 0VBC & 0EMC
DMUS7
0VBA & 0VBC & 0MSL
Class CMUS7
MUON
SPD MUON_TRK MUON_TRG FMD T0 V0l
DMUSH7
Class CMUSH7
0VBA & 0VBC & 0MSH
10
Configuration II
• Bunch Crossing mask (BC Mask):
– CTP can choose in which bunches in ORBIT to allow triggers
• Downscaling:
– CTP can reduce trigger rate of classes with high rate
• Downscale factor DS
• Assigning group of classes (CG) time windows
Trigger Class = Descriptor + Cluster + BCMask + DS + CG
• Calibration trigger:
– CTP can send special software triggers used for detector calibration
– Fully automatic, but need to be monitored
11
Control Configuration Monitoring
• DAQlogbook (monitoring):
– CTP configuration
– Input rates
– Class rates
• Alice Configuration Tool (ACT) (configuration)
• CTP web (monitoring):
– Global Run Busy status
– CTP and LTU counters
• InfoBrowser (configuration):
• SMAQ
• Command line (configuration,monitoring)
12
DAQlogbook
• Accesible from any web bowser:
– alice-logbook.cern.ch/logbook/
• Logging any action
– Log your action
– Find actions of other people
• Information of every run ever taken in ALICE
• Information on current run
• Run info
13
DAQlogbook-Logbook
14
DAQlogbook-Runs
15
DAQlogbook-Run Details
16
DAQlogbook Trigger Info
17
Class Rates
18
Configuration
19
CTP configuration in logbook
20
Alice Configuration Tool
• Accessible from any web bowser:
– alice-logbook.cern.ch/act
• Keeps alice configurations
– CTP
– Partition
21
ACT Main
22
ACT CTP
23
ACT Partition
24
Info Browser
• Accessible from CERN general network
Login to computer in CERN general network, e.g. lxplus. Login to daq gateway tools:
ssh –X username@aldaqgw-tools
use your cern password. Start infoBrowser.
• All info messages related to run/detector/system
• Most common usage: find the errors during runs
and check if they are related to CTP
25
Info for run 219799
26
Info for TRG(CTP) and PHYSICS_1
27
CTP web and Command line
• Trigger oncall account trg@alidcscom707
– Internal alice network. NOT possible to login
from outside
– from ARC: Trigger account trg@arc27 ‘sshs’ or
‘ssh –X trg@alidcscom707’ at arc27
– From Outside: login to CERN General network
• Login to
– lxplus
– cerntsnew.cern.ch
• remotedesktop to alidcswn001
• xwin (or putty) to alidcscom707
28
CTP web
• Web : http://alidcscom835
– BUSY status
– CTP/LTU counters
– Shifter tasks (to be updated)
– Ltuproxy status (to be fixed)
29
30
Global Run Busy status/Input rates
Big Screen
31
CTP counters
32
CTP counters
33
LTU status
34
SsM data AQuisition
• Machine alidcscom027
35
Full ORBIT SMAQ
36
SMAQ – zoomed plot
37
Next Step
• Register with DCS for access to alidcsgw001
– Contact
• [email protected]
• Cc: [email protected]
• ACT ?
• Daqgw-tools
38
Class Rates and Ratios
Big Screen
39
CTP Data Quality Monitoring (DQM)
40
DQM
41
DQM
42
LTU proxy status
• Check ltu proxy status
• Inform shift leader if
some detector’s proxy
not running
43
Sources
44
CTP context
TRIGGER SUB-DETECTORS
Trigger inputs
READOUT SUB-DETECTORS
BUSY signals
Calibration requests
ECS
Control
DAQ
CENTRAL TRIGGER
PROCESSOR
Scalers
Scalers
DAQ (RORC)
LTU/TTC
List of CTP events
Interaction record
Trigger outputs
Trigger inputs
Trigger inputs
Figure 3.3 Context diagram of the CTP
45
CTP Control and Configuration
46
LHC clock - miclock
• ALICE clock change from LOCAL -> BEAM1 during PREPARE RAMP
• miclock running at alidcscom188
• when started set to mode auto
• change to manual ‘man’ if asked by shift leader or expert
47