00001 00013 #ifndef PERREF_H 00014 #define PERREF_H 00015 00016 #include <string> 00017 00018 class PerRef { 00019 int m_entry; // entry number of object in tree 00020 std::string m_path; // TES/TFile path 00021 public: 00022 PerRef(); 00023 PerRef(int entry, const std::string& path); 00024 virtual ~PerRef(); 00025 00026 int entry() const; 00027 void setEntry(int entry); 00028 00029 const std::string& path() const; 00030 void setPath(const std::string& path); 00031 00032 }; 00033 00034 class PerRefInd : public PerRef 00035 { 00036 int m_index; 00037 public: 00038 PerRefInd(); 00039 PerRefInd(int index, int entry, const std::string& path); 00040 virtual ~PerRefInd(); 00041 00042 int index() const; 00043 void setIndex(int index); 00044 }; 00045 00046 #endif // PERREF_H