00001 #ifndef __StEEmcStrip_h__
00002 #define __StEEmcStrip_h__
00003
00004 #include "StEEmcElement.h"
00005 #include "TString.h"
00006 #include <vector>
00007
00008 class StEEmcStrip : public StEEmcElement {
00009 public:
00010
00012 StEEmcStrip();
00014 virtual ~StEEmcStrip(){ };
00015
00017 void sector(Int_t s) { mSector=s; }
00019 void plane(Int_t p) { mPlane=p; }
00021 void index(Int_t i);
00022
00024 Int_t sector()const { return mSector; }
00026 Int_t plane()const { return mPlane; }
00028 Int_t index()const { return mIndex; }
00029
00031 void print() const;
00032
00034 Bool_t operator<( const StEEmcStrip &other) const { return (this->energy() < other.energy()); }
00036 Bool_t operator==( const StEEmcStrip &other) const { return (this->mIndex == other.mIndex); }
00037
00038 protected:
00039 Int_t mSector;
00040 Int_t mPlane;
00041 Int_t mIndex;
00042
00043 ClassDef(StEEmcStrip,1);
00044 };
00045
00046 typedef std::vector<StEEmcStrip> StEEmcStripVec_t;
00047
00048 #endif