00001
00002
00003
00004
00005
00006
00007
00008
00010
00011
00012 #ifndef STAR_StTpcCalibSetup
00013 #define STAR_StTpcCalibSetup
00014
00015 #include <Stsstream.h>
00016 #include "TH1.h"
00017
00018 class StTpcCalibSetup {
00019
00020 private:
00021 int mMaxNumberOfCorruptedTB;
00022 ostrstream* mBadFileName;
00023 ostrstream* mDeadFileName;
00024 ostrstream* mGainCalibFileName;
00025 ostrstream* mRootOutFileName;
00026
00027 int mFirstTB;
00028 int mLastTB;
00029
00030 int mMinDistToPulse;
00031 int mExpectedPulsePos;
00032
00033 int mNSidePadsExcluded;
00034
00035 public:
00036 StTpcCalibSetup();
00037 void setMaxNumberOfCorruptedTB(int aNumber)
00038 {mMaxNumberOfCorruptedTB=aNumber;}
00039 const int& getMaxNumberOfCorruptedTB() const
00040 {return mMaxNumberOfCorruptedTB;}
00041
00042 void setBadFileName(char* aCalibOutFileName);
00043 const char* getBadFileName() const
00044 {return mBadFileName->str();}
00045
00046 void setDeadFileName(char* aCalibOutFileName);
00047 const char* getDeadFileName() const
00048 {return mDeadFileName->str();}
00049
00050 void setGainCalibFileName(char* aCalibOutFileName);
00051 const char* getGainCalibFileName() const
00052 {return mGainCalibFileName->str();}
00053
00054 void setRootOutFileName(char* aRootOutFileName);
00055 const char* getRootOutFileName() const
00056 {return mRootOutFileName->str();}
00057 void setMinDistToPulse(int aMinDistToPulse)
00058 {mMinDistToPulse=aMinDistToPulse;}
00059 const int& getMinDistToPulse() const
00060 {return mMinDistToPulse;}
00061 void setExpectedPulsePos(int aExpectedPulsePos)
00062 {mExpectedPulsePos=aExpectedPulsePos;}
00063 const int& getExpectedPulsePos() const
00064 {return mExpectedPulsePos;}
00065 void setNSidePadsExcluded(int aNSidePadsExcluded)
00066 {mNSidePadsExcluded=aNSidePadsExcluded;}
00067 const int& getNSidePadsExcluded() const
00068 {return mNSidePadsExcluded;}
00069 void setFirstTB(int aFirstTB)
00070 {mFirstTB=aFirstTB;}
00071 const int getFirstTB() const
00072 {return mFirstTB;}
00073 void setLastTB(int aLastTB)
00074 {mLastTB=aLastTB;}
00075 const int getLastTB() const
00076 {return mLastTB;}
00077
00078 ClassDef(StTpcCalibSetup, 1)
00079 };
00080
00081 #endif