@@ -113,7 +113,7 @@ class KFParticle :public KFParticleBase
113113 float GetPz () const ; // /< Retruns Z component of the momentum, fP[5].
114114 float GetE () const ; // /< Returns energy of the particle, fP[6].
115115 float GetS () const ; // /< Returns dS=l/p, l - decay length, fP[7], defined if production vertex is set.
116- char GetQ () const ; // /< Returns charge of the particle.
116+ signed char GetQ () const ; // /< Returns charge of the particle.
117117 float GetChi2 () const ; // /< Returns Chi2 of the fit.
118118 Int_t GetNDF () const ; // /< Returns number of decrease of freedom.
119119
@@ -133,7 +133,7 @@ class KFParticle :public KFParticleBase
133133 const float & Pz () const { return fP [5 ]; } // /< Retruns Z component of the momentum, fP[5].
134134 const float & E () const { return fP [6 ]; } // /< Returns energy of the particle, fP[6].
135135 const float & S () const { return fP [7 ]; } // /< Returns dS=l/p, l - decay length, fP[7], defined if production vertex is set.
136- const char & Q () const { return fQ ; } // /< Returns charge of the particle.
136+ const signed char & Q () const { return fQ ; } // /< Returns charge of the particle.
137137 const float & Chi2 () const { return fChi2 ; } // /< Returns Chi2 of the fit.
138138 const Int_t& NDF () const { return fNDF ; } // /< Returns number of decrease of freedom.
139139
@@ -204,7 +204,7 @@ class KFParticle :public KFParticleBase
204204 float & Pz () ; // /< Modifier of Z component of the momentum, fP[5].
205205 float & E () ; // /< Modifier of energy of the particle, fP[6].
206206 float & S () ; // /< Modifier of dS=l/p, l - decay length, fP[7], defined if production vertex is set.
207- char & Q () ; // /< Modifier of charge of the particle.
207+ signed char & Q () ; // /< Modifier of charge of the particle.
208208 float & Chi2 () ; // /< Modifier of Chi2 of the fit.
209209 Int_t & NDF () ; // /< Modifier of number of decrease of freedom.
210210
@@ -430,7 +430,7 @@ inline float KFParticle::GetS () const
430430 return KFParticleBase::GetS ();
431431}
432432
433- inline char KFParticle::GetQ () const
433+ inline signed char KFParticle::GetQ () const
434434{
435435 return KFParticleBase::GetQ ();
436436}
@@ -777,7 +777,7 @@ inline float & KFParticle::S()
777777 return KFParticleBase::S ();
778778}
779779
780- inline char & KFParticle::Q ()
780+ inline signed char & KFParticle::Q ()
781781{
782782 return KFParticleBase::Q ();
783783}
0 commit comments