emcTacPedFEM.h

Go to the documentation of this file.
00001 #ifndef __EMCTACPEDFEM_H__
00002 #define __EMCTACPEDFEM_H__
00003 
00004 #ifndef __EMCGAINFEM_H__
00005 #include "emcGainFEM.h"
00006 #endif
00007 
00011 class emcTacPedFEM : public emcGainFEM
00012 {
00013 
00014 public:
00015 
00017   emcTacPedFEM(int absPosition);
00018 
00020   emcTacPedFEM(int absPosition,
00021              const PHTimeStamp& tStart, const PHTimeStamp& tEnd);
00022 
00023   virtual emcTacPedFEM* clone(void) const 
00024     { return new emcTacPedFEM(*this); }
00025 
00026   virtual emcTacPedFEM* create(void) const 
00027   { return new emcTacPedFEM(AbsolutePosition(),
00028                             GetStartValTime(),
00029                             GetEndValTime()); }
00030  
00032   virtual void AddNewItem(int ichannel, emcTracedValue* tv);
00033 
00035   virtual float Compact(float epsilon);
00036 
00038   virtual bool Constants(void) const { return true; }
00039 
00041   static emcTacPedFEM* Default(int absPosition,
00042                                const PHTimeStamp& tStart,
00043                                const PHTimeStamp& tEnd);
00044 
00046   virtual const char* GetCategory(void) const { return "TacPeds"; }
00047 
00048 protected:
00049   virtual bool AreDifferent(float v1, float v2, float epsilon) const;
00050 };
00051 
00052 #endif