22 #include "StRichSpectra.h"
24 static const char rcsid[] =
"$Id: StRichSpectra.cxx,v 2.3 2002/02/22 03:02:12 ullrich Exp $";
30 StRichSpectra::~StRichSpectra() {}
32 StRichSpectra::StRichSpectra(
float x,
float y,
float dx,
float dy,
33 float cdx,
float cdy,
float theta,
float sigma,
34 int nopho,
float pan,
int ppho,
int totphotons,
35 float mas,
float lir,
float li,
float alpha,
36 int flag,
float reserved,
37 float dpi,
float dk,
float dp,
38 int ndpi,
int ndk,
int ndp,
40 : mExtrapolatedX(x) ,mExtrapolatedY(y), mDx(dx), mDy(dy), mCdx(cdx), mCdy(cdy),
41 mCherenkovAngle(theta), mCherenkovAngleSigma(sigma), mNumberOfPhotons(nopho),
42 mPeakAngle(pan), mPeakPhotons(ppho), mTotalPhotons(totphotons),
43 mMassSquared(mas), mLineIntegralRatio(lir), mLineIntegral(li), mAlpha(alpha),
44 mFlag(flag), mReserved(reserved),
45 mDpi(dpi), mDk(dk), mDp(dp),
46 mNDpi(ndpi), mNDk(ndk), mNDp(ndp),
53 return (os <<
"StRichSpectra::>"
54 <<
"\n\tExtrapolatedX: " << t.getExtrapolatedX() <<
", " << t.getExtrapolatedY()
55 <<
"\n\tResidualX: " << t.getExtrapolatedXResidual() <<
", " << t.getExtrapolatedYResidual()
56 <<
"\n\tCorr Residual: " << t.getCorrectedExtrapolatedXResidual() <<
", " << t.getCorrectedExtrapolatedYResidual()
57 <<
"\n\tCherenkovAngle: " << t.getCherenkovAngle() <<
"+/-" << t.getCherenkovSigma() <<
" (" << t.getCherenkovPhotons() <<
")"
58 <<
"\n\tPeakAngle " << t.getPeakAngle() <<
" (" << t.getTotalPhotons() <<
")"
59 <<
"\n\tMass2 " << t.getMassSquared()
60 <<
"\n\tLineIntegral " << t.getLineIntegralRatio() <<
"-->" << t.getLineIntegral()
61 <<
"\n\tAlpha " << t.getAlpha()
62 <<
"\n\tFlag " << t.getFlag()
63 <<
"\n\treserved " << t.getReserved()
64 <<
"\n\tversion " << t.getVersion());