00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00017
00018 #ifndef SCINTMODULE_H
00019 #define SCINTMODULE_H
00020
00021 #include "UgliGeometry/UgliScintMdlHandle.h"
00022
00023 class ScintModule
00024 {
00025
00026 public:
00027
00028 ScintModule();
00029 ScintModule(UgliScintMdlHandle scint_module_handle);
00030 ~ScintModule();
00031
00032 void UpdateOffsets(void);
00033 void ClearStatistics(void);
00034
00035
00036
00037 void AccumResid(double resid);
00038 double GetOffset() { return fOffset; }
00039
00040 private:
00041
00042
00043 ScintModule(const ScintModule& rhs);
00044 ScintModule& operator=(const ScintModule& rhs);
00045
00046 double fCurRes, fCurResSqr;
00047
00048 int fNumTracks;
00049
00050 double fOffset;
00051
00052 };
00053
00054 #endif // SCINTMODULE_H