Skip to content

MCH CLUSTER MAPS#12064

Closed
victorvalenciatorres wants to merge 12 commits intoAliceO2Group:devfrom
victorvalenciatorres:evaluation
Closed

MCH CLUSTER MAPS#12064
victorvalenciatorres wants to merge 12 commits intoAliceO2Group:devfrom
victorvalenciatorres:evaluation

Conversation

@victorvalenciatorres
Copy link
Contributor

No description provided.

@victorvalenciatorres victorvalenciatorres requested a review from a team as a code owner October 12, 2023 20:38
void polygon(const o2::mch::contour::Polygon<T>& p)
{
mSVGBuffer << R"(<polygon points=")";
mSVGBuffer << R"(<polygon fill="blue" points=")";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is a leftover from a test. Please remove it, as there's no point in hard coding a color here.

include/MCHEvaluation/Draw.h
LINKDEF src/MCHEvaluationLinkDef.h)

o2_add_executable(map_mch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

map_mch is not a terribly good name 😉
Especially considering the executable name will be o2-mch-map_mch which stutters on Mch and does not respect the executable naming convention.

What about something along the lines of clustermap-display or clustermap-plotter ? @mguilbau any opinion here ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clustermap-display is my preferred

The general purpose is to track "unexpected" detector issues not well reproduced with MC simulations. These problems generate non-negligible bias in Acc*Eff corrections resulting in large tracking systematic uncertainties.

During the data reconstruction, the status of the detector is calculated with the CCDB which is used to discard most of the detector issues.
This status map is built with information based on pedestals, high voltage tension, occupancy etc.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high voltage is not currently included in the computation of the statusmap. It's planned, but not yet done.

Nevertheless, some detector issues (e.g. a cable swapping) are not well detected online and consequently not properly reproduced by the CCBD.
The main objective of this code is to spot these issues not included in the status map.

Input files used:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the documentation on how to use this program should be primarily seen from the point of the view of the next person that will use it to produce cluster map comparisons, not so much develop the code. So how to get the input files should be part of the documentation for instance. (by the way that doc could be put in a separate .md file to keep the main README.md more as an index.

COMPILATION (commands):

cd alice ==> alienv enter O2/latest
cd sw/BUILD/O2-latest/O2 ==> cmake --build .
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is kind of an expert way of working and is only relevant for people developing the code, not simply using it, so I'd remove it from this doc.


OPEN OUTPUT FILES:

cd outputfile ==> open CHAMBERS-1-NB.html CHAMBERS-2-NB.html CHAMBERS-3-NB.html CHAMBERS-4-NB.html CHAMBERS-5-NB.html CHAMBERS-6-NB.html CHAMBERS-7-NB.html CHAMBERS-8-NB.html CHAMBERS-9-NB.html CHAMBERS-10-NB.html
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the open command is a Mac-only thing, so not reproducible e.g. on a Linux machine. Either change it to plain English (open in your preferred browser the CHAMBERS*.html files generated) or provide the equivalent Linux command...

@aphecetche
Copy link
Collaborator

will review the "meat" of the PR (the actual map_mch code) later on...

@github-actions
Copy link
Contributor

This PR did not have any update in the last 30 days. Is it still needed? Unless further action in will be closed in 5 days.

@github-actions github-actions bot added the stale label Jan 22, 2024
@github-actions github-actions bot closed this Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants