Skip to content

Fix T0 filling#7846

Merged
jgrosseo merged 2 commits intodevfrom
jgrosseo-patch-1
Dec 10, 2021
Merged

Fix T0 filling#7846
jgrosseo merged 2 commits intodevfrom
jgrosseo-patch-1

Conversation

@jgrosseo
Copy link
Copy Markdown
Collaborator

@jgrosseo jgrosseo commented Dec 9, 2021

No description provided.

@jgrosseo jgrosseo requested a review from a team as a code owner December 9, 2021 11:46
std::vector<float> vAmplitudes(nFT0Channels, 0.);
// filling FT0 table
for (auto& ft0RecPoint : ft0RecPoints) {
std::vector<float> vAmplitudes(nFT0Channels, 0.);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this means an allocation of a new vector for every trigger, I would simply get rid of it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, see mattermost. I already confirmed that.
https://mattermost.web.cern.ch/alice/pl/1pwtw45b1trmiygnp3tupu6qkr

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.

set amplitude vector in zero before each event #7848,
I think FV0 and FDD need similar fix

@jgrosseo jgrosseo merged commit b4bbbc1 into dev Dec 10, 2021
@jgrosseo jgrosseo deleted the jgrosseo-patch-1 branch December 10, 2021 07:59
ezradlesser pushed a commit to ezradlesser/AliceO2 that referenced this pull request Dec 15, 2021
* Fix T0 filling

* fix also V0A and FDD
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.

3 participants