Skip to content

Commit d8b6827

Browse files
committed
Use o2::constants::physics::MassElectron
1 parent 5aade88 commit d8b6827

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackTrackMultKtExtended.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ struct FemtoUniversePairTaskTrackTrackMultKtExtended {
193193
Configurable<double> confMaxEEMinv{"confMaxEEMinv", 0.002, "Max. minv of e-e+ pair for gamma pair rejection"};
194194
Configurable<double> confMaxDTheta{"confMaxDTheta", 0.008, "Max. DeltaTheta of pair for gamma pair rejection"};
195195

196+
ConfigurableAxis confDeltaEtaAxis{"confDeltaEtaAxis", {100, -0.15, 0.15}, "DeltaEta"};
197+
ConfigurableAxis confDeltaPhiStarAxis{"confDeltaPhiStarAxis", {100, -0.15, 0.15}, "DeltaPhiStar"};
198+
196199
FemtoUniverseFemtoContainer<femto_universe_femto_container::EventType::same, femto_universe_femto_container::Observable::kstar> sameEventCont;
197200
FemtoUniverseFemtoContainer<femto_universe_femto_container::EventType::mixed, femto_universe_femto_container::Observable::kstar> mixedEventCont;
198201

@@ -339,7 +342,7 @@ struct FemtoUniversePairTaskTrackTrackMultKtExtended {
339342
template <typename PartType>
340343
bool rejectGammaPair(PartType track1, PartType track2)
341344
{
342-
double me = 0.000511;
345+
double me = o2::constants::physics::MassElectron;
343346

344347
double magTrack1 = track1.px() * track1.px() + track1.py() * track1.py() + track1.pz() * track1.pz();
345348
double magTrack2 = track2.px() * track2.px() + track2.py() * track2.py() + track2.pz() * track2.pz();

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackTrackSpherHarMultKtExtended.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
418418
template <typename PartType>
419419
bool rejectGammaPair(PartType track1, PartType track2)
420420
{
421-
double me = 0.000511;
421+
double me = o2::constants::physics::MassElectron;
422422

423423
double magTrack1 = track1.px() * track1.px() + track1.py() * track1.py() + track1.pz() * track1.pz();
424424
double magTrack2 = track2.px() * track2.px() + track2.py() * track2.py() + track2.pz() * track2.pz();

0 commit comments

Comments
 (0)