35ec8fe7d3f0a862e19dda1080a5d54a.ppt
- Количество слайдов: 34
Central DQM Shift Tutorial Online/Offline
Overview of the CMS DAQ and useful terminology Storage Manager • Detector signals are collected through individual data acquisition systems (cables and boards) that end up at the FEDs: the first element of Global Data Acquisition system (DAQ) • FED (detector Front. End boards): multiple FEDs per detector collect event fragments that are sent to the online event processing farm • Builder Units: Computing farm that collects event fragments from all FEDs and merge them to produce full event information • Filter Units: Computing farm where the High Level Trigger (HLT) is run to filter interesting events • Storage Manager: application that saves 2
Online DQM: suite of CMSSW applications that run either on all events in the Filter Farm or on a selection of events served by the Storage manager Since Dec 2009 Online DQM consume DCS information in addition to Event data Online DQM Infrastructure is completed by the DQM data transfer system up to the DQM servers where the histograms and other DQM data are uploaded and visible to the shifters and the CMS community Storage Manager Scope of Online DQM Shifts: • Identify problems with detector performance or data integrity during the run 3
Offline Data Processing and Offline DQM T 0, CAF T 1 Online environment Prompt Reconstruction at T 0 and CAF is performed from within one hour up to 48 hours after data is transferred from P 5 to T 0 and CAF (CERN) Subsequent iterations of re-reconstruction at the T 1’s follow periodically the Prompt Reco with improved Alignment and Calibration constants, bug fixes. Offline DQM is part of the Offline data processing that, in addition to detector data analyses, includes higher level reconstruction objects, aka Physics Objects (POG’s) Scope of Offline DQM Shifts: Produce the data certification for various reconstruction iterations USED FOR CMS OFFICIAL GOOD RUN LISTS!!! 4
DQM Shift Tools • DQM GUI: Graphical User Interface, for histogram viewing • DQM Run Registry: web interface to the Database that holds run information. Used by shifters to register interesting runs (Online shifters) and to collect quality information • Elog: for end of shifts and problem reports • TWiki pages: for shift instructions 5
DQM Shifts - Overview • Online Shifts at P 5 (3/day for 24 hours coverage) 23: 00 -7: 00 | 7: 00 -15: 00 | 15: 00 -23: 00 • On the first day of global running, shifts start at 9: 00 (for this shift you can use the regular 8: 15 shuttle) • For latest run plan updates (shift cancelations), inscribe to: hn-cms-commissioning@cern. ch • Offline Shifts run at Control Rooms away from P 5 (4/day) • 1: 00 – 7: 00 at Fermilab • 7: 00 – 13: 00 at CERN-CMS Centre (Meyrin site) • 13: 00 – 19: 00 at DESY • 19: 00 – 1: 00 at Fermilab In order to certify reprocessing data, Offline DQM shifts can also be scheduled outside of global data taking periods 6
Access to Control Rooms on CERN Site • Safety requirements for P 5: – Online CMS level 4 C safety class must be passed. – Each shifter should have appropriate access rights: through EDH: • request access to « CMS CR » for P 5 • request access to « CMS CEN » for CMS Center at Meyrin • Regular shuttle service which runs 7 days per week. - https: //twiki. cern. ch/twiki/bin/view/CMS/P 5 Shuttle 7
In preparation for the shift • Read the DQM shift instructions, even if you have been on shift before: https: //twiki. cern. ch/twiki/bin/view/CMS/DQMShift. Instructions https: //twiki. cern. ch/twiki/bin/view/CMS/Online. DQMShifts https: //twiki. cern. ch/twiki/bin/view/CMS/Offline. DQMShifts https: //twiki. cern. ch/twiki/bin/view/CMS/DQMOnline. Short. Term. Instr https: //twiki. cern. ch/twiki/bin/view/CMS/DQMOffline. Short. Term. Instr Check the instructions at the beginnining of each shift to findo out if something has changed since your last shift 8
In preparation for the shift • For newcomers: • Schedule your first shift in the daytime so assistance will be readily available if needed • Attend the shift tutorial on Monday (possibly the latest one before your shift or the one before that) • Attend a trainee shift between the tutorial and your first shift 9
Task 0: Applications • (1) Make sure DQM applications and GUI are running during data taking: – Online: check update of histograms during runs – Offline: check arrival of histograms from Tier-0/CAF processing • (2) Check correct updating of Run Registry • (3) In case of problems in DQM Tools (persisting longer than DQM on-call Expert : 15 mins), call: 165579 • (4) During Online shifts stay in close contact with the Shift Leader (P 5) 10
Task 1: Histogram Inspection • Follow online/offline shift instructions • Run-by-run procedure: – (1) Enter significant runs in the Run Registry – Online Shifter has the task to make the decision on which are the significant runs to analyze and registers them in the Run Registry (confirm with the Shift Leader!) – Offline Shifter: analyzes the runs that have been previously registered by the Online shifter – (2) Shift histogram Inspection • Look at the Summary, the Reports, and the Shift Workspace in the DQM GUI • Make an effort to look at all the plots one by one. • If you spot a problem or have a question regarding a specific plot • • • Check the sub-system instruction and take action(s) accordingly If not explained in the instruction, discuss with P 5 shift leader and if needed inform him to call Detector On Call (DOC) In offline, inform sub-system DQM experts, as noted in the instruction page by mail or phone 11
GUI – Summary Workspace https: //cmsweb. cern. ch/dqm/online 12
GUI – Summaryhttps: //cmsweb. cern. ch/dqm/online Workspace 13
GUI – Reports https: //cmsweb. cern. ch/dqm/online Workspace 14
GUI – Shift Workspace 15
GUI – Shift Workspace Inspect Error plots (Online GUI -> Work Space -> Shift -> Errors They show plots that indicate errors. Please read sub-system short term instruction about the evaluation 16
DQM Shift Instructions 17
DQM Shift Instructions • Check that the HV information on the DQM GUI summary ( "Info" histogram) and the Run Registry ( "Lumi. Sec" table) are consistent. • Sometimes "LS" in the Runs table shows 0. • If this happens: • make an ELOG entry "Problem report" indicating the run number • ensure that the DQM expert oncall is aware of the problem. • put the information manually into the general comments section of the Run Registry. format: Example: LS 0 = CASTOR, Strips, RPC, Correlation between. OFF. All others HV conditions: Pixel, and DT with HV Data Cert and Ifwith remains OFF throughout the entire run then mark the subsystem as BAD HV HV ON. If HV varies do not mark the subsystem as BAD based on that, but proceed following the subsystem instructions as usual. 18
Task 2: Run Registry Hover the quality flag to see the comment 19
Run Registry Collect automated run info and information filled by the DQM shifters: Data quality and Comments. Threre are three view in the Run. Registry browsable through the buttons on top of the page: -Run. Info -Table -Lumi. Sec 20
Run Registry: Run. Info View • The Run. Info table contains information that is automatically entered • All Runs are entered in this table, from short start/stop runs to stable long runs • This table is used by the ONLINE DQM SHIFTER to select Significant runs: –Register only runs that have more than 10, 000 events and/or have been running for more than 10 minutes (if you are in doubt, ask the shift leader). –Follow the run-by-run workflow inspecting the shift histograms. –Ask the shift leader for confirmation on the info reported and then move th enrty to « SIGNOFF » - 21
Run Registry: Table View, Online Shifter’s use • Runs that are registered by the Online DQM Shifters are included and visible in the DB table of the “Table” view • This is the view used by both Online and Offline DQM Shifters to log in the information, i. e. comments and by –subsystems quality flags - Online Shifters: Click on the dataset “/Global/Online/ALL” and then on “Edit”, to open the Run. Registry editing page. Analyze subsystems one by one through the related histograms in the GUI and Assign run type + set the quality flags in the editing page of the run registry. 22
Online Register Runs in Run Registry • During the run: Click run number itself->View details->Edit • Based on the shift histogram instructions, set the online subsystem flags (GOOD/BAD) and enter comments • If a subsystem is BAD, inform the shift leader and the subsystem expert, and enter comment • Also, enter the relevant luminosity range for “physics” (click “Beam Status” towards the bottom of the page). You can get this information either from the shift leader of the shift elog. • Try to provide complete information by adding info like Beam 1 or 2, etc in the “comments” field. 23
Register Runs in Run Registry • After the run: • Enter the ‘stop reason’ (in the stop reason field, NOT under comments) • The certification results must be confirmed by the shift leader, before the status of a given run is moved to « SIGNOFF » • from main “Runs info” view-> click on dataset name -> move to SIGNOFF • Once the run is in SIGNOFF state, it cannot be modified by the Online shifter. 24
Online DQM Shifter: Run Classification Note that Runs are classified though the Group name in the Run. Registry: • Assigning correct Group name is of vital importance as it will affect Offline determination of Runs to be used Text for different analyses Current rules follow, make sure you check updated rules at start of your shift In the Online DQM Shift Instructions: Select "Collisions 11" if the run is taken for physics analysis purposes and contains at least one lumi section with two stable beams (colliding or non-colliding). 2. Select "Cosmics 11" if the run is taken for analysis purposes and there is no beam activity throughout the run, i. e. stable "no beam" conditions 3. Select "Commissioning 11" for all other runs, i. e. those taken for tests or specific detector studies only, i. e. not meant for general offline physics analysis. 1. -> Ask the shift leader if in doubt ! 25
Run Registry: Table View, Offline Shifter’s use Offline DQM Shifter: • Select which runs to analyze: oldest run where the “Global/Online/ALL” dataset is in SIGNOFF status • ADD the Offlien dataset to analyze (as per instructions) and proceed with subsystem evaluatio nbased on relevant histograms in the GUI, assign quality flags • Move the dataset entry to SIGNOFF when all subsystems are analyzed 26
Run Registry – Datasets P 5 Meyrin 27
ELOG - http: //cmsonline. cern. ch/portal/page/portal/CMS%20 online%20 system/Elo g • Log in with your AFS account – Click on "Elog" and choose Subsystems -> "Event Display and DQM" • Problem Report ( 1 entry per problem ) – For each problem arising during your shift make a "Problem Report" entry – Please use “Elog” to report problems! • Shift Summary ( 1 entry per shift ) – At the end of each shift, write a short "Shift Summary" • N. B. (!!!): – Use Types "Problem Report" or "Shift Summary" only, do NOT create new – Do not enter run-by-run information in the Elog that should be in the Run Registry. 28 – Make sure all run-by-run information is in the Run Registry, not in the Elog
Shift Hand-over • Make sure to arrive 5 -10 minutes early for shift hand-over. • Upon your arrival in the control room, the previous shifter will be there – Get from her/him the information about the current status of the data taking and what happened during the previous shift. – The shift person will show you where the tools are running, which you will be using (DQM GUI, CMS Online page, Run Registry). – If anything with your tasks is not clear, ask at that moment! – At the end of your shift, wait for the next shift person to arrive and provide the same support. 29
Links • Shift instructions: – https: //twiki. cern. ch/twiki/bin/view/CMS/DQMShift. Instructions – https: //twiki. cern. ch/twiki/bin/view/CMS/Online. DQMShifts – https: //twiki. cern. ch/twiki/bin/view/CMS/Offline. DQMShifts – https: //twiki. cern. ch/twiki/bin/view/CMS/DQMShift. Histograms • DQM Online GUI: – – – http: //cmsweb. cern. ch/dqm/online/ http: //cmsweb. cern. ch/dqm/offline/ Follow certificate instructions at https: //twiki. cern. ch/twiki/bin/view/CMS/DQMGUIGrid. Certificate • Run Registry page: – – http: //pccmsdqm 04. cern. ch/runregistry presenly only working from CERN (need tunnel from outside CERN) • Elog: – http: //cmsonline. cern. ch/portal/page/portal/CMS%20 online%20 system 30
Final Suggestions From now to your shift: - Get familiar with the DQM TWiki pages (general structure & dedicated On/Offline): https: //twiki. cern. ch/twiki/bin/view/CMS/DQMShift. Instructions Shortly before each shift you MUST read : - Short term instructions - Event Filter/DQM Announcements HN (https: //hypernews. cern. ch/Hyper. News/CMS/get/Ev. FDqm. Announce. html) - Online/Offline Shift Histograms by Subsystem <---- especially Online shifters - Read the Elog of the shift before yours to be aware of the recent activity (please read both Shift Leader Elog and Event Display and DQM Elog) 31
Backup
Run Registry – Message Board • Communication between shift persons and DQM operators: • Opening: • Close all browser windows in the workstation • Open run registry (RR) • Login as yourself • Select Tools Message Board • Use phone or RR message board. Do not use ELOG or email (!) • Stick to using English 33
Run Registry – Message Board Automatic messages Chat window Logged users 34