11
CTP Training
A.Jusko, M. Krivda and R.Lietava.
22
Outlook
• Introduction• Basic Concepts• Control• Configuration• Monitoring
33
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
44
Central Trigger
Processor
LTU
TTC
CTP input
FERORead OutElectronics
Trigger
Electronics
What is trigger?
Detector
DAQ
Detector Data
OFFLINE
Data ESD
Physicists
BUSY LHC clock
55
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)
66
CTP control
Central Trigger
Processor
LTU
TTC
CTP input
FERORead OutElectronics
Trigger
Electronics
Detector BUSY LHC clock
Computer programs controls trigger hardware
ltuproxy ctpproxy miclock
ECS
77
CPUs layout in P2
88
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
99
Naming Conventions
• Input names n<3-char code>• n = 0,1,2 (trigger level)
• Descriptor starts with D• Class starts with C
1010
ALLSPD SDD SSD TPC TRD TOF HMPID PHOS MUON_TRK MUON_TRG FMD
T0 V0 ZDC ACORDE EMCal
CTP configuration
ALLNOTRDSPD SDD SSD TPC TOF HMPID
PHOS MUON_TRK MUON_TRG FMD T0 V0ZDC ACORDE EMCal
MUONSPD MUON_TRK MUON_TRG FMD T0 V0l
DINT70VBA & 0VBC
DINT7WU0VBA & 0VBC & 0HWU
DMUS70VBA & 0VBC & 0MSL
DEMC7WU0VBA & 0VBC & 0HWU & 0EMC
DEMC70VBA & 0VBC & 0EMC
DMUSH70VBA & 0VBC & 0MSH
Descriptors Clusters
Class CINT7WU
Class CEMC7WU
Class CINT7
Class CEMC7
Class CMUS7
Class CMUSH7
Classes
1111
• 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
• Calibration trigger:– CTP can send special software triggers used for detector calibration– Fully automatic, but need to be monitored
Configuration II
Trigger Class = Descriptor + Cluster + BCMask + DS + CG
1212
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)
1313
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
1414
DAQlogbook-Logbook
1515
DAQlogbook-Runs
1616
DAQlogbook-Run Details
1717
DAQlogbook Trigger Info
1818
Class Rates
1919
Configuration
2020
CTP configuration in logbook
2121
Alice Configuration Tool• Accessible from any web bowser:
– alice-logbook.cern.ch/act• Keeps alice configurations
– CTP– Partition
2222
ACT Main
2323
ACT CTP
2424
ACT Partition
2525
Info Browser
• Accessible from CERN general network
• All info messages related to run/detector/system• Most common usage: find the errors during runs
and check if they are related to CTP
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.
2626
Info for run 219799
2727
Info for TRG(CTP) and PHYSICS_1
2828
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
2929
CTP web
• Web : http://alidcscom835 – BUSY status– CTP/LTU counters– Shifter tasks (to be updated)– Ltuproxy status (to be fixed)
3030
3131
Global Run Busy status/Input ratesBig Screen
3232
CTP counters
3333
CTP counters
3434
LTU status
3535
SsM data AQuisition• Machine alidcscom027
3636
Full ORBIT SMAQ
3737
SMAQ – zoomed plot
3838
Next Step
• Register with DCS for access to alidcsgw001– Contact
• [email protected]• Cc: [email protected]
• ACT ?• Daqgw-tools
3939
Class Rates and RatiosBig Screen
4040
CTP Data Quality Monitoring (DQM)
4141
DQM
4242
DQM
4343
LTU proxy status
• Check ltu proxy status• Inform shift leader if
some detector’s proxy not running
4444
Sources
4545
CTP context
Trigger inputs
TRIGGER SUB-DETECTORS
BUSY signals Calibration requests
READOUT SUB-DETECTORS
Control
ECS
Scalers
Scalers
DAQ
List of CTP events Interaction record
Trigger inputs
DAQ (RORC)
Trigger outputs
Trigger inputs
LTU/TTC
CENTRAL TRIGGER PROCESSOR
Figure 3.3 Context diagram of the CTP
4646
CTP Control and Configuration
4747
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
Top Related