Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 679
PWG-LF: cascqaanalysis task update#3197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
bbd97833ec21a2b9f44bc3026eef95e8e2d6c7ef75b35d5d96c3cc3a4bac51ebc9453f2ad175b27fa7a6d1267e7ca8296a001e5bf523bbcbb4589d6f1cb4dc440a39341bbb12685c90bFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -106,12 +106,12 @@ struct cascpostprocessing { | ||
| TString CutLabel[26] = {"All", "MassWin", "y", "EtaDau", "DCADauToPV", "CascCosPA", "V0CosPA", "DCACascDau", "DCAV0Dau", "rCasc", "rCascMax", "rV0", "rV0Max", "DCAV0ToPV", "LambdaMass", "TPCPr", "TPCPi", "TOFPr", "TOFPi", "TPCBach", "TOFBach", "ctau", "CompDecayMass", "Bach-baryon", "NTPCrows", "OOBRej"}; | ||
| TString CutLabelSummary[29] = {"MassWin", "y", "EtaDau", "dcapostopv", "dcanegtopv", "dcabachtopv", "CascCosPA", "V0CosPA", "DCACascDau", "DCAV0Dau", "rCasc", "rV0", "DCAV0ToPV", "LambdaMass", "TPCPr", "TPCPi", "TOFPr", "TOFPi", "TPCBach", "TOFBach", "proplifetime", "rejcomp", "ptthrtof", "bachBaryonCosPA", "bachBaryonDCAxyToPV", "NTPCrows", "OOBRej", "rCascMax", "rV0Max"}; | ||
| registry.add("hCandidate", "hCandidate", HistType::kTH1F, {{25, -0.5, 24.5}}); | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this intended? ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's related to another issue that we had in the postprocessing task: "Warning in TH1Merger::CheckForDuplicateLabels: Histogram hCandidate has duplicate labels in the x axis. Bin contents will be merged in a single bin" ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just noticed that I had outdated version of postprocessing, so there should be 26 bins. Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. bingo | ||
| registry.add("hCandidate", "hCandidate", HistType::kTH1F, {{26, -0.5, 25.5}}); | ||
| for (Int_t n = 1; n <= registry.get<TH1>(HIST("hCandidate"))->GetNbinsX(); n++) { | ||
| registry.get<TH1>(HIST("hCandidate"))->GetXaxis()->SetBinLabel(n, CutLabel[n - 1]); | ||
| } | ||
| registry.add("CascadeSelectionSummary", "CascadeSelectionSummary", HistType::kTH1F, {{29, -0.5, 26.5}}); | ||
| registry.add("CascadeSelectionSummary", "CascadeSelectionSummary", HistType::kTH1F, {{29, -0.5, 28.5}}); | ||
| for (Int_t n = 1; n <= registry.get<TH1>(HIST("CascadeSelectionSummary"))->GetNbinsX(); n++) { | ||
| registry.get<TH1>(HIST("CascadeSelectionSummary"))->GetXaxis()->SetBinLabel(n, CutLabelSummary[n - 1]); | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, indeed, I think this might be wrong. Should be the index of the collision in the collision table.
Are you sure that you don't need indices?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, Nicolò! We got errors during the merging of AO2Ds that we had Index on O2collision and O2mccollision tables but no trees were found. Anton said that this error means that "the merger cannot find the target tree of the index and thus cannot properly offset the index based on that tree size. Standalone derived data either should not have indices pointing to original AODs or should not be merged", so we decided to remove them at all, although I think in future it might be usefull to know at least whether the candidates are from the same collision or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, indeed if you don't produce the collision it should not matter, for future
mycascades(casc.globalIndex()still should bemycascades(tableColl.lastIndex()or soThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, like this or one can change the definition of this column to mycascades::CascadeId to match the meaning, so anyway it'll be still possible to find the info about the collision from the cascade table (if one saves it as the derived data output in addition to the collision table).