11 CTP Training A.Jusko, M. Krivda and R.Lietava..

47
1 CTP Training A.Jusko, M. Krivda and R.Lietava.

Transcript of 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

Page 1: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

11

CTP Training

A.Jusko, M. Krivda and R.Lietava.

Page 2: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

22

Outlook

• Introduction• Basic Concepts• Control• Configuration• Monitoring

Page 3: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 4: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 5: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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)

Page 6: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 7: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

77

CPUs layout in P2

Page 8: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 9: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

99

Naming Conventions

• Input names n<3-char code>• n = 0,1,2 (trigger level)

• Descriptor starts with D• Class starts with C

Page 10: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 11: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 12: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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)

Page 13: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 14: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

1414

DAQlogbook-Logbook

Page 15: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

1515

DAQlogbook-Runs

Page 16: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

1616

DAQlogbook-Run Details

Page 17: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

1717

DAQlogbook Trigger Info

Page 18: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

1818

Class Rates

Page 19: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

1919

Configuration

Page 20: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

2020

CTP configuration in logbook

Page 21: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

2121

Alice Configuration Tool• Accessible from any web bowser:

– alice-logbook.cern.ch/act• Keeps alice configurations

– CTP– Partition

Page 22: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

2222

ACT Main

Page 23: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

2323

ACT CTP

Page 24: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

2424

ACT Partition

Page 25: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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.

Page 26: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

2626

Info for run 219799

Page 27: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

2727

Info for TRG(CTP) and PHYSICS_1

Page 28: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 29: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

2929

CTP web

• Web : http://alidcscom835 – BUSY status– CTP/LTU counters– Shifter tasks (to be updated)– Ltuproxy status (to be fixed)

Page 30: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3030

Page 31: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3131

Global Run Busy status/Input ratesBig Screen

Page 32: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3232

CTP counters

Page 33: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3333

CTP counters

Page 34: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3434

LTU status

Page 35: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3535

SsM data AQuisition• Machine alidcscom027

Page 36: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3636

Full ORBIT SMAQ

Page 37: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3737

SMAQ – zoomed plot

Page 38: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3838

Next Step

• Register with DCS for access to alidcsgw001– Contact

[email protected]• Cc: [email protected]

• ACT ?• Daqgw-tools

Page 39: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

3939

Class Rates and RatiosBig Screen

Page 40: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

4040

CTP Data Quality Monitoring (DQM)

Page 41: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

4141

DQM

Page 42: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

4242

DQM

Page 43: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

4343

LTU proxy status

• Check ltu proxy status• Inform shift leader if

some detector’s proxy not running

Page 44: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

4444

Sources

Page 45: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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

Page 46: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

4646

CTP Control and Configuration

Page 47: 11 CTP Training A.Jusko, M. Krivda and R.Lietava..

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