Offline Calibration Status M Ivanov C Zampolli Offline
Offline Calibration Status M. Ivanov, C. Zampolli Offline Weekly Meeting, 8 February 2010
Code • Code committed two weeks ago: – $ALICE_ROOT/ANALYSIS/ 9/25/2020 • ANALYSIScalib. Link. Def. h ← NEW LIBRARY • Ali. Analysis. Task. Add. Object. cxx • Ali. Analysis. Task. Add. Object. h ← Example task to add an object to the friends file • Ali. Analysis. Task. Copy. ESD. cxx • Ali. Analysis. Task. Copy. ESD. h • Ali. Analysis. Task. Filter. cxx • Ali. Analysis. Task. Filter. h ← Base class for friends filtering • Ali. Analysis. Task. Filter. Friend. cxx • Ali. Analysis. Task. Filter. Friend. h ← Example of friends filtering task • Ali. Analysis. Task. Filter. Friend. Second. cxx • Ali. Analysis. Task. Filter. Friend. Second. h ← Example of friends filtering task • lib. ANALYSIScalib. pkg ← NEW LIBRARY • Ali. Analysis. Manager. cxx M. Ivanov, C. Zampolli 2
Code – II – $ALICE_ROOT/STEER: Ali. ESDHandler. cxx Ali. ESDHandler. h ← NEW HANDLER Ali. ESDfriend. cxx Ali. ESDfriend. h ← Slight modifications Ali. ESDfriend. Track. cxx Ali. ESDfriend. Track. h ← Changes in the ITS/TPC/TRD arrays (turned into pointers) • Ali. ESDtrack. cxx ← Changes after those in Ali. ESDfriend. Track • ESDLink. Def. h • lib. ESD. pkg • • • 9/25/2020 M. Ivanov, C. Zampolli 3
Code – III • Implementation of the train structure (last week): – $ALICE_ROOT/ANALYSIS: • • • /macros/Add. Task. Add. Object. C /macros/Add. Task. Copy. ESD. C /macros/Add. Task. Filter. Friend. Second. C /macros/run. Calib. Train. C • Configuration of the train + Inclusion of the TPC Calibration task – $ALICE_ROOT/ANALYSIS: • /macros/Config. Calib. Train. C ←OCDB + Geometry initialization • /macros/run. Calib. Train. C ←TPC Inclusion 9/25/2020 M. Ivanov, C. Zampolli 4
Code – IV • Implementation of the macros to reconstruct+calibrate for pass 0 and pass 1 – $ALICE_ROOT/ANALYSIS • /macros/merge. Calib. Objects. C • /macros/rec. Pass 0. C • /macros/run. Pass. X. sh ← equivalent to what was done before in the central reco, only adding calibration 9/25/2020 M. Ivanov, C. Zampolli 5
Strategy – Run-level calibration Chunk n 9/25/2020 ESDs+ friends ESDs_v 1+ friends_v 1 M. Ivanov, C. Zampolli Merging procedure Calibration + filtering ESDs+ friends ESDs_v 1+ friends_v 1 Merging procedure Run j Chunk 0 ESDs+ friends Calibration + filtering Chunk n Reconstruction Run i Chunk 0 Reconstruction Post-processing job Triggered by the end (~95%) of the previous sub -jobs (*) Calibration objects file i Calibration objects file j (*) Details defined after some tests 6
Calibration objects file i ! Merging and calibrating Strategy – Calibration over many runs As a continuation of the previous job or run at a given frequency (e. g. once/week) OCDB file The list of runs over which to merge should depend on the detector which should: § specify its own criteria to determine the list of runs to be merged § provide the macro to perform the calibration Loop over the detectors: § Create. List() § Merge. Runs() § Calibrate. Det() 9/25/2020 M. Ivanov, C. Zampolli 7
Merging and Calibration Step • Create. List(): – Detector-specific criteria to define the list of runs to be merged • List of runs • Run + run_range (backward/forward) • Always following allowed format • Merge. Runs() – General function using previously defined list • Calibrate. DET(): – Defined by the detectors 9/25/2020 M. Ivanov, C. Zampolli 8
Jobs Scenario B A Reconstruction Job 1 Calibration + filtering at ~95% of completion Merging over chunks Job 2 at a given frequency Merging over runs + calibrating 9/25/2020 Job 3 M. Ivanov, C. Zampolli 9
Some Details • Filtering procedure: – Centrally defined: rescaling with selection on high-momentum tracks – Detector specific, if needed • Number of jobs – depending on when the merging over runs will take place: – Scenario A: • 1. Reconstruction + Calibration • 2. Merging over chunks + Merging over runs – Scenario B: • 1. Reconstruction + Calibration • 2. Merging over chunks + Merging over runs • 3. Merging over runs 9/25/2020 M. Ivanov, C. Zampolli 10
Strategy • The same strategy (see slides before) should be applied for Pass 0 and Pass 1 (2, 3… ) – Pass 0: • Reconstruct the TPC only data on a subsample of events per each chunk • Run the calibration for the TPC – No filtering needed • Merging over the various chuncks • Merging over different runs • Calibration parameters put in the OCDB – Pass 1: 9/25/2020 • • • Full reconstruction Filtering + Calibration for all the detectors Merging of the chunks Merging over different runs Calibration parameters put in the OCDB M. Ivanov, C. Zampolli 11
Open Issues and Comments • A procedure to check the equality of the ESD_v 1 wrt ESDs has to be implemented no way to relate the new Friends to the old ESDs, very delicate but necessary if filtering is required… • Any special requirement for the selection of the events for pass 0 has to be put in the rec. C • A macro to load all the necessary libraries may be created to configure the reconstruction+calibration job (to be called also when creating the calibration parameters to fill the OCDB) • Some tests on the GRID for the reconstruction+calibration job needed • Triggering of merging (over chunks + over runs) + final calibration procedure to be defined Ali. En experts 9/25/2020 M. Ivanov, C. Zampolli 12
- Slides: 12