11 #include "StMuFttRawHit.h"
12 #include "StEvent/StFttRawHit.h"
27 mQuadrant(kFttUnknownQuadrant),
30 mOrientation(kFttUnknownOrientation),
40 UChar_t mVMM, UChar_t mChannel, UShort_t mADC,
41 UShort_t mBCID, Short_t mTB, Short_t mBCIDDelta){
42 setRaw( mSector, mRDO, mFEB, mVMM, mChannel, mADC, mBCID, mTB, mBCIDDelta);
45 void StMuFttRawHit::setRaw( UChar_t mSector, UChar_t mRDO, UChar_t mFEB,
46 UChar_t mVMM, UChar_t mChannel, UShort_t mADC,
47 UShort_t mBCID, Short_t mTB, Short_t mBCIDDelta){
48 this->mSector = mSector;
52 this->mChannel = mChannel;
56 this->mBCIDDelta = mBCIDDelta;
59 void StMuFttRawHit::setMapping( UChar_t mPlane, UChar_t mQuadrant,
60 UChar_t mRow, UChar_t mStrip, UChar_t mOrientation ){
61 this->mPlane = mPlane;
62 this->mQuadrant = mQuadrant;
64 this->mStrip = mStrip;
65 this->mOrientation = mOrientation;
69 setRaw( stHit->sector(), stHit->rdo(), stHit->feb(), stHit->vmm(), stHit->channel(), stHit->adc(), stHit->bcid(), stHit->tb(), stHit->dbcid());
70 setMapping( stHit->plane(), stHit->quadrant(), stHit->row(), stHit->strip(), stHit->orientation() );
71 setIdTruth( stHit->idTruth() );
72 setQaTruth( stHit->qaTruth() );
81 os <<
" StMuFttRawHit( " << endl;
82 os <<
"\tmSector = " << (int)rh.sector() << endl;
83 os <<
"\tmRDO = " << (int)rh.rdo() << endl;
84 os <<
"\tmFEB = " << (int)rh.feb() << endl;
85 os <<
"\tmVMM = " << (int)rh.vmm() << endl;
86 os <<
"\tmChannel = " << (int)rh.channel() << endl;
87 os <<
"\tmADC = " << (int)rh.adc() << endl;
88 os <<
"\tmBCID = " << (int)rh.bcid() << endl;
89 os <<
"\tmBCIDDelta = " << (int)rh.dbcid() << endl;
90 os <<
"\tmTB = " << (int)rh.tb() << endl;
91 os <<
"\tmPlane = " << (int)rh.plane() << endl;
92 os <<
"\tmQuadrant = " << (int)rh.quadrant() << endl;
93 os <<
"\tmRow = " << (int)rh.row() << endl;
94 os <<
"\tmStrip = " << (int)rh.strip() << endl;
95 os <<
"\tmOrientation = " << (int)rh.orientation() << endl;
96 os <<
"\tidTruth = " << (int)rh.idTruth() << endl;
97 os <<
"\tqaTruth = " << (int)rh.qaTruth() << endl;
StMuFttRawHit()
Default constructor.