26 #ifndef StFmsPointPair_h
27 #define StFmsPointPair_h
29 #include "StLorentzVectorD.hh"
30 #include "StThreeVectorD.hh"
33 #include "StFmsPoint.h"
44 vector<StFmsPoint*>& points();
57 unsigned int fpsPid()
const;
61 enum StFmsPointPairConsts {kFmsPointMaxCone=3};
62 float coneRadius(
int cone)
const;
63 float coneEnergy(
int cone)
const;
64 float coneEnergyFraction(
int cone)
const;
65 void setConeEnergy(
int cone,
float energy);
67 void print(
int option=0);
70 vector<StFmsPoint*> mPoints;
73 Float_t mConeRadius[kFmsPointMaxCone];
74 Float_t mConeEnergy[kFmsPointMaxCone];
79 inline int StFmsPointPair::nPoints()
const {
return mPoints.size();}
80 inline vector<StFmsPoint*>& StFmsPointPair::points() {
return mPoints;}
81 inline const StLorentzVectorD& StFmsPointPair::fourMomentum()
const {
return mFourMomentum; }
82 inline float StFmsPointPair::energy()
const {
return (
float)mFourMomentum.e(); }
83 inline float StFmsPointPair::pT()
const {
return (
float)mFourMomentum.perp(); }
84 inline float StFmsPointPair::eta()
const {
return (
float)mFourMomentum.pseudoRapidity(); }
85 inline float StFmsPointPair::phi()
const {
return (
float)mFourMomentum.phi(); }
86 inline float StFmsPointPair::mass()
const {
return (
float)mFourMomentum.m(); }
87 inline unsigned int StFmsPointPair::fpsPid()
const {
return mFpsPid; }
89 #endif // StFmsPointPair_h