Skip to content

Conversation

@Hamwooseok
Copy link

@Hamwooseok Hamwooseok commented Nov 26, 2025

modify the filling method so that delta pT is not filled in events without jets.

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

O2 linter results: ❌ 1 errors, ⚠️ 23 warnings, 🔕 0 disabled

@github-actions github-actions bot changed the title PWGJE: modify the delta pT methods [PWGJE] modify the delta pT methods Nov 26, 2025
@Hamwooseok
Copy link
Author

_ No description provided. _

@Hamwooseok Hamwooseok closed this Nov 26, 2025
@Hamwooseok Hamwooseok reopened this Nov 26, 2025
@nzardosh
Copy link
Collaborator

@aimeric-landou are you ok with the changes to this task?

@aimeric-landou
Copy link
Contributor

@nzardosh yes it looks good to me;
@Hamwooseok we should maybe use this occasion to fix the O2Linter error (and warnings if you want to); can you take care of this and add a commit to this PR?

@nzardosh nzardosh self-requested a review December 10, 2025 12:46
void bkgFluctuationsRandomCone(TCollisions const& collision, TJets const& jets, TTracks const& tracks)
{
TRandom3 randomNumber(0);
float randomConeEta = randomNumber.Uniform(trackEtaMin + randomConeR, trackEtaMax - randomConeR);
Copy link
Collaborator

Choose a reason for hiding this comment

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

as random number generation is expensive, consider moving this into the

if (jets.size() > 0){
...
}

same for the other occurences

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.

4 participants