00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #include "StMwcTriggerDetector.h"
00036
00037 static const char rcsid[] = "$Id: StMwcTriggerDetector.cxx,v 2.7 2009/11/23 16:34:06 fisyak Exp $";
00038
00039 ClassImp(StMwcTriggerDetector)
00040
00041 StMwcTriggerDetector::StMwcTriggerDetector()
00042 {
00043 memset(mBeg,0,mEnd-mBeg);
00044 }
00045
00046 StMwcTriggerDetector::~StMwcTriggerDetector() {}
00047
00048 unsigned int
00049 StMwcTriggerDetector::numberOfSectors() const {return mMaxSectors;}
00050
00051 unsigned int
00052 StMwcTriggerDetector::numberOfSubSectors() const {return mMaxSubSectors;}
00053
00054 unsigned int
00055 StMwcTriggerDetector::numberOfPreSamples() const {return mNumberOfPreSamples;}
00056
00057 unsigned int
00058 StMwcTriggerDetector::numberOfPostSamples() const {return mNumberOfPostSamples;}
00059
00060 unsigned int
00061 StMwcTriggerDetector::numberOfAuxWords() const {return mMaxAux;}
00062
00063 float
00064 StMwcTriggerDetector::mips(unsigned int i, unsigned int j, unsigned int k) const
00065 {
00066 return mMips[i][j][k];
00067 }
00068
00069 float
00070 StMwcTriggerDetector::aux(unsigned int i, unsigned int j) const
00071 {
00072 return mAux[i][j];
00073 }
00074
00075 void
00076 StMwcTriggerDetector::setMips(unsigned int i, unsigned int j, unsigned int k, float val)
00077 {
00078 mMips[i][j][k] = val;
00079 }
00080
00081 void
00082 StMwcTriggerDetector::setAux(unsigned int i, unsigned int j, float val)
00083 {
00084 mAux[i][j] = val;
00085 }
00086
00087 void
00088 StMwcTriggerDetector::setNumberOfPreSamples(unsigned int val)
00089 {
00090 mNumberOfPreSamples = val;
00091 }
00092
00093 void
00094 StMwcTriggerDetector::setNumberOfPostSamples(unsigned int val)
00095 {
00096 mNumberOfPostSamples = val;
00097 }