File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ inline double getPdgMass(int pdgCode)
8383{
8484 // use this function instead of TDatabasePDG to return masses defined in the PhysicsConstants.h header
8585 // this approach saves a lot of memory and important partilces like deuteron are missing in TDatabasePDG anyway
86- double mass = 0 .f ;
86+ double mass = 0 .;
8787 // add new particles if necessary here
8888 switch (std::abs (pdgCode)) {
8989 case kPiPlus :
@@ -102,10 +102,10 @@ inline double getPdgMass(int pdgCode)
102102 mass = o2::constants::physics::MassPhi;
103103 break ;
104104 case kRho770_0 :
105- mass = 775.26 ; // not defined in O2?
105+ mass = 0.77526 ; // not defined in O2?
106106 break ;
107107 case kRho770Plus :
108- mass = 775.11 ; // not defined in O2?
108+ mass = 0.77511 ; // not defined in O2?
109109 break ;
110110 case o2::constants::physics::Pdg::kK0Star892 :
111111 mass = o2::constants::physics::MassK0Star892;
@@ -138,7 +138,7 @@ inline double getPdgMass(int pdgCode)
138138 mass = o2::constants::physics::MassOmegaMinus;
139139 break ;
140140 default :
141- LOG (warn) << " PDG code is not suppored. Return 0..." ;
141+ LOG (warn) << " PDG code " << pdgCode << " is not suppored. Return 0... " ;
142142 }
143143 return mass;
144144}
You can’t perform that action at this time.
0 commit comments