1 #ifndef ST_CHARGED_PION_JET_PARTICLE_HH
2 #define ST_CHARGED_PION_JET_PARTICLE_HH
6 #include "Math/PtEtaPhiE4D.h"
7 #include "Math/LorentzVector.h"
8 using namespace ROOT::Math;
10 #include "StarClassLibrary/StThreeVectorF.hh"
13 #include "TLorentzVector.h"
21 StDetectorId detectorId();
25 unsigned int nHitsPoss();
26 unsigned int nHitsFit();
27 unsigned int nHitsDEdx();
33 double z(
const TLorentzVector&)
const;
36 void setDetectorId(StDetectorId);
39 void setNHits(
unsigned char);
40 void setNHitsFit(
unsigned char);
41 void setNHitsPoss(
unsigned char);
42 void setNHitsDEdx(
unsigned char);
43 void setNSigmaPion(
float);
61 inline int StChargedPionJetParticle::index() {
return mIndex; }
62 inline StDetectorId StChargedPionJetParticle::detectorId() {
return StDetectorId(mDetectorId); }
63 inline int StChargedPionJetParticle::charge() {
return mCharge; }
64 inline unsigned int StChargedPionJetParticle::nHits() {
return mNHits; }
65 inline unsigned int StChargedPionJetParticle::nHitsPoss() {
return mNHitsPoss; }
66 inline unsigned int StChargedPionJetParticle::nHitsFit() {
return mNHitsFit; }
67 inline unsigned int StChargedPionJetParticle::nHitsDEdx() {
return mNHitsDEdx; }
68 inline double StChargedPionJetParticle::nSigmaPion() {
return mNSigmaPion; }
69 inline StThreeVectorF& StChargedPionJetParticle::globalDca() {
return mGlobalDca; }
70 inline const StThreeVectorF& StChargedPionJetParticle::globalDca()
const {
return mGlobalDca; }
72 inline void StChargedPionJetParticle::setIndex(
short a) { mIndex = a; }
73 inline void StChargedPionJetParticle::setDetectorId(StDetectorId a) { mDetectorId = char(a); }
74 inline void StChargedPionJetParticle::setCharge(
char a) { mCharge = a; }
75 inline void StChargedPionJetParticle::setNHits(
unsigned char a) { mNHits = a; }
76 inline void StChargedPionJetParticle::setNHitsFit(
unsigned char a) { mNHitsFit = a; }
77 inline void StChargedPionJetParticle::setNHitsPoss(
unsigned char a) { mNHitsPoss = a; }
78 inline void StChargedPionJetParticle::setNHitsDEdx(
unsigned char a) { mNHitsDEdx = a; }
79 inline void StChargedPionJetParticle::setNSigmaPion(
float a) { mNSigmaPion = a; }
80 inline void StChargedPionJetParticle::setGlobalDca(
StThreeVectorF & a) { mGlobalDca = a; }