17 #include "StSstStrip.hh"
20 StSstStrip::StSstStrip(Int_t rNStrip, Int_t rDigitSig, Float_t rSigma, Int_t rPedestal, Int_t *rIdMcHit,Int_t *rIdMcTrack) {
21 memset (first, 0, last - first);
23 mDigitSig = rDigitSig;
25 mPedestal = rPedestal;
26 for(Int_t e=0;e<5;e++) {
27 mIdMcHit[e] = rIdMcHit[e];
28 mIdMcTrack[e] = rIdMcTrack[e];
38 StSstStrip::StSstStrip(Int_t rNStrip, Int_t rDigitSig, Float_t rSigma, Int_t rPedestal) {
39 memset (first, 0, last - first);
41 mDigitSig = rDigitSig;
43 mPedestal = rPedestal;
44 for(Int_t e=0;e<5;e++) {
56 StSstStrip::StSstStrip(Int_t rNStrip, Int_t rIdHit, Int_t rMcHit, Int_t rMcTrack, Float_t rAnalogSig) {
57 memset (first, 0, last - first);
61 mIdMcTrack[0] = rMcTrack;
62 for(Int_t e=1;e<5;e++) {
68 mAnalogSig = rAnalogSig;
77 StSstStrip::StSstStrip(Int_t rNStrip, Int_t rMcStrip, Int_t rDigitSig, Float_t rAnalogSig, Int_t *rIdMcHit) {
78 memset (first, 0, last - first);
81 mDigitSig = rDigitSig;
82 mAnalogSig = rAnalogSig;
83 for(Int_t e=0;e<5;e++) mIdMcHit[e] = rIdMcHit[e];
84 for(Int_t e=0;e<5;e++) {
95 StSstStrip::StSstStrip(Int_t rNStrip, Int_t rMcStrip, Int_t rDigitSig, Float_t rAnalogSig, Int_t *rIdMcHit,Int_t *rIdMcTrack) {
96 memset (first, 0, last - first);
99 mDigitSig = rDigitSig;
100 mAnalogSig = rAnalogSig;
101 for(Int_t e=0;e<5;e++) {
103 mIdMcHit[e] = rIdMcHit[e];
104 mIdMcTrack[e] = rIdMcTrack[e];
114 StSstStrip::StSstStrip(Int_t rNStrip, Int_t rMcStrip, Float_t rAnalogSig) {
115 memset (first, 0, last - first);
118 mAnalogSig = rAnalogSig;
122 for(Int_t e=0;e<5;e++) {
132 StSstStrip::StSstStrip(Int_t rNStrip, Int_t rDigitSig) {
133 memset (first, 0, last - first);
135 mDigitSig = rDigitSig;
138 for(Int_t e=0;e<5;e++) {
150 void StSstStrip::copyTo(
StSstStrip *ptrClone) {
151 memcpy (ptrClone->first, first, last - first);
152 ptrClone->mPrevStrip = ptrClone->mNextStrip = 0;