You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGJE/Core/FastJetUtilities.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@
17
17
#ifndef PWGJE_CORE_FASTJETUTILITIES_H_
18
18
#definePWGJE_CORE_FASTJETUTILITIES_H_
19
19
20
+
#include<CommonConstants/PhysicsConstants.h>
21
+
20
22
#include<fastjet/PseudoJet.hh>
21
23
22
24
#include<cmath>
@@ -31,8 +33,6 @@ enum class JetConstituentStatus {
31
33
namespacefastjetutilities
32
34
{
33
35
34
-
staticconstexprfloatmPion = 0.139; // TDatabasePDG::Instance()->GetParticle(211)->Mass(); //can be removed when pion mass becomes default for unidentified tracks
35
-
36
36
// Class defined to store additional info which is passed to the FastJet object
@@ -78,7 +78,7 @@ void setFastJetUserInfo(std::vector<fastjet::PseudoJet>& constituents, int index
78
78
*/
79
79
80
80
template <typename T>
81
-
voidfillTracks(const T& constituent, std::vector<fastjet::PseudoJet>& constituents, int index = -99999999, int status = static_cast<int>(JetConstituentStatus::track), float mass = mPion)
81
+
voidfillTracks(const T& constituent, std::vector<fastjet::PseudoJet>& constituents, int index = -99999999, int status = static_cast<int>(JetConstituentStatus::track), float mass = o2::constants::physics::MassPiPlus)
82
82
{
83
83
if (status == static_cast<int>(JetConstituentStatus::track) || status == static_cast<int>(JetConstituentStatus::candidate)) {
84
84
// auto p = std::sqrt((constituent.px() * constituent.px()) + (constituent.py() * constituent.py()) + (constituent.pz() * constituent.pz()));
Copy file name to clipboardExpand all lines: PWGJE/Core/JetDerivedDataUtilities.h
+30-3Lines changed: 30 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,14 @@
17
17
#ifndef PWGJE_CORE_JETDERIVEDDATAUTILITIES_H_
18
18
#definePWGJE_CORE_JETDERIVEDDATAUTILITIES_H_
19
19
20
+
#include"PWGUD/Core/SGSelector.h"
21
+
20
22
#include"Common/CCDB/EventSelectionParams.h"
21
23
#include"Common/CCDB/RCTSelectionFlags.h"
22
24
#include"Common/CCDB/TriggerAliases.h"
23
25
26
+
#include<CommonConstants/PhysicsConstants.h>
27
+
24
28
#include<Rtypes.h>
25
29
26
30
#include<array>
@@ -33,7 +37,7 @@
33
37
namespacejetderiveddatautilities
34
38
{
35
39
36
-
staticconstexprfloatmPion = 0.139; // TDatabasePDG::Instance()->GetParticle(211)->Mass(); //can be removed when pion mass becomes default for unidentified tracks
40
+
staticconstexprfloatmPion = o2::constants::physics::MassPiPlus; // TDatabasePDG::Instance()->GetParticle(211)->Mass(); //can be removed when pion mass becomes default for unidentified tracks
0 commit comments