Skip to content

TRD: Benefit from custom streamer for labels - #3068

Merged
sawenzel merged 2 commits into
AliceO2Group:devfrom
sawenzel:swenzel/trdlabelfix
Mar 4, 2020
Merged

TRD: Benefit from custom streamer for labels#3068
sawenzel merged 2 commits into
AliceO2Group:devfrom
sawenzel:swenzel/trdlabelfix

Conversation

@sawenzel

@sawenzel sawenzel commented Mar 3, 2020

Copy link
Copy Markdown
Collaborator
  • use standard MCCompLabel for TRD
  • generalize MCCompLabel constructor
  • benefit from custom streamer for MCTruthContainer for TRD

fixed https://alice.its.cern.ch/jira/browse/O2-1213

@sawenzel

sawenzel commented Mar 3, 2020

Copy link
Copy Markdown
Collaborator Author

@shahor02 : This fixes the problem with TRD in the sim challenge.

* use standard MCCompLabel for TRD
* generalize MCCompLabel constructor
* benefit from custom streamer for MCTruthContainer for TRD

fixed https://alice.its.cern.ch/jira/browse/O2-1213
@sawenzel
sawenzel force-pushed the swenzel/trdlabelfix branch from a9c1e9b to fe340d8 Compare March 3, 2020 15:45
ClassDefNV(MCLabel, 1);
};

using MCLabel = o2::MCCompLabel;

@jolopezl jolopezl Mar 3, 2020

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

With this change, I am wondering if we really need to keep o2::trd::MCLabel. I would suggest removing it, unless we want to keep it for future specializations. It is more direct and easier to maintain if we just o2::MCCompLabel as this is suggesting.

@sawenzel
sawenzel requested a review from a team as a code owner March 3, 2020 21:42
@sawenzel
sawenzel merged commit 2536a06 into AliceO2Group:dev Mar 4, 2020
@sawenzel
sawenzel deleted the swenzel/trdlabelfix branch March 4, 2020 07:07
@sawenzel

sawenzel commented Mar 4, 2020

Copy link
Copy Markdown
Collaborator Author

@jolopezl : Merged it like this since it fixes a bug. I invite you to clean up further and remove that class/file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants