00001
00006 #ifndef KNOT_H
00007 #define KNOT_H
00008
00009 #include <map>
00010 #include <string>
00011
00012 class KnotImp;
00013 class TTree;
00014 class AcnetDevice;
00015
00016 class Knot {
00017 KnotImp* fImp;
00018
00019 public:
00020 Knot(TTree& tree);
00021 Knot();
00022
00024 void SetTree(TTree& tree);
00025
00027 int GetSize();
00028
00030 int GetEntry(int entry);
00031
00033 int GetEntryNumber();
00034
00037 const AcnetDevice* GetDevice(const char* name);
00038
00040 typedef std::map<std::string,AcnetDevice*> DeviceMap;
00041 const DeviceMap& GetDevices() const;
00042 };
00043
00044 #endif // KNOT_H