11 #ifndef StMiniMcPair_H
12 #define StMiniMcPair_H
19 StMiniMcPair() : mNCommonHit(0), mIsBestContam(0), mDominatrack(0), mDominCommonHit(0), mAvgQuality(0) {}
22 void setNCommonHit(Short_t val) { mNCommonHit=val; }
23 void setIsBestContam(Short_t val ) {mIsBestContam=val ; }
24 void setDominatrack(Int_t val) { mDominatrack=val; }
25 void setDominCommonHit(Short_t val) { mDominCommonHit=val; }
26 void setAvgQuality(
float val) { mAvgQuality=val; }
27 float commonFrac()
const {
28 return static_cast<float>(mNCommonHit)/static_cast<float>(allPts());
30 float dominFrac()
const {
31 return static_cast<float>(mDominCommonHit)/static_cast<float>(allPts());
33 int commonHits() {
return mNCommonHit%100; }
34 int commonHitsSvt() {
return mNCommonHit/100; }
35 bool isBestContam() {
return mIsBestContam; }
36 int dominatrack() {
return mDominatrack; }
37 int dominCommonHits() {
return mDominCommonHit; }
38 float avgQuality() {
return mAvgQuality; }
44 Short_t mDominCommonHit;
Persistent RC track class.
Persistent MC track class.