-
Notifications
You must be signed in to change notification settings - Fork 613
[PWGJE] modify the delta pT methods #13984
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
base: master
Are you sure you want to change the base?
Conversation
|
O2 linter results: ❌ 1 errors, |
|
|
@aimeric-landou are you ok with the changes to this task? |
|
@nzardosh yes it looks good to me; |
| void bkgFluctuationsRandomCone(TCollisions const& collision, TJets const& jets, TTracks const& tracks) | ||
| { | ||
| TRandom3 randomNumber(0); | ||
| float randomConeEta = randomNumber.Uniform(trackEtaMin + randomConeR, trackEtaMax - randomConeR); |
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.
as random number generation is expensive, consider moving this into the
if (jets.size() > 0){
...
}
same for the other occurences
modify the filling method so that delta pT is not filled in events without jets.