00001
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef StMtdCollection_hh
00028 #define StMtdCollection_hh
00029
00030 #include "StObject.h"
00031 #include "StContainers.h"
00032 #include "StEnumerations.h"
00033 #include "StMtdHeader.h"
00034 #include "StMtdHit.h"
00035 #include "StMtdRawHit.h"
00036 class TBrowser;
00037
00038 class StMtdCollection : public StObject {
00039 public:
00040 StMtdCollection();
00041 ~StMtdCollection();
00042
00043 bool IsFolder() const { return true;};
00044 void Browse(TBrowser *b);
00045
00046 const StMtdHeader* mtdHeader() const;
00047 StMtdHeader* mtdHeader();
00048
00049 const StSPtrVecMtdHit& mtdHits() const;
00050 StSPtrVecMtdHit& mtdHits();
00051
00052 const StSPtrVecMtdRawHit& mtdRawHits() const;
00053 StSPtrVecMtdRawHit& mtdRawHits();
00054
00055 void setHeader(StMtdHeader*);
00056
00057 void addHit(const StMtdHit*);
00058 void addRawHit(const StMtdRawHit*);
00059
00060 bool hitsPresent() const;
00061 bool rawHitsPresent() const;
00062
00063 private:
00064 StMtdHeader* mMtdHeader;
00065
00066 StSPtrVecMtdHit mMtdHits;
00067 StSPtrVecMtdRawHit mMtdRawHits;
00068
00069 ClassDef(StMtdCollection, 1)
00070 };
00071
00072 #endif