Skip to content

Bug fixes, DCAr y-axis truncation, and dead-channel map integration - #26

Open
christianreckziegel wants to merge 19 commits into
bulukutlu:masterfrom
christianreckziegel:sp-async-qc
Open

Bug fixes, DCAr y-axis truncation, and dead-channel map integration#26
christianreckziegel wants to merge 19 commits into
bulukutlu:masterfrom
christianreckziegel:sp-async-qc

Conversation

@christianreckziegel

Copy link
Copy Markdown
Contributor

Summary

This PR includes three independent changes to the TPC Async QC workflow:

1. Bug fixes

  • Fixed crashes occurring during report generation in generateReport.py and related scripts.

2. DCAr vs eta plot — Y-axis truncation

  • Added truncation of the Y axis of the DCAr vs eta plot for better visualization.

3. Dead-channel map integration

  • Added drawDeadChannelMap.C macro that fetches IDC_PadStatusMap_A objects
    from the ALICE CCDB and builds hourly TH2F histograms with configurable time
    binning (default: 5 min bins, 1 canvas per hour, max 10 canvases).
  • Added --dead_channel_maps flag to downloadFromAlien.py (off by default)
    to optionally fetch and store dead channel maps during download, avoiding
    slowdowns in the standard workflow.
  • Updated plotQCData.C to copy the DeadChannelMaps directory from
    {run}.root into {run}_QC.root when present.
  • Added a Dead-channel map section to TPC_AQC_Template_Run.ipynb
    under Per Pad (Clusters), displayed only when maps are available.

How to use

# Standard workflow (no dead channel maps, unchanged behavior):
python downloadFromAlien.py local_dir remote_dir apass

# With dead channel maps:
python downloadFromAlien.py local_dir remote_dir apass --dead_channel_maps

…nt the choice of fit option for separation power distribution between pions and electrons
…ks finding for overlapping cases; Modified histogram drawing option for continuous lines instead of bin points.
…e run template. Included global variable etaRange and its use in all eta plots
…access of previously used canvas, name parameter given corrected the wrong behavior
- Add drawDeadChannelMap.C macro: fetches IDC_PadStatusMap_A from CCDB
  and builds hourly TH2F histograms with configurable time binning
- Add --dead_channel_maps flag to downloadFromAlien.py to optionally
  fetch and store dead channel maps in the downloaded ROOT files
- Update plotQCData.C to copy DeadChannelMaps directory into _QC.root
- Add Dead-channel map section to TPC_AQC_Template_Run.ipynb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant