//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Data container for a track matching attempt // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer TUM (original author) // // //----------------------------------------------------------- #ifndef MATCHINGPAIR_HH #define MATCHINGPAIR_HH #include "MatchingTuple.h" #include "TString.h" #include #include #include class MatchingPair : public MatchingTuple { public: MatchingPair(); MatchingPair(int id1, const TString& branch1, int id2, const TString& branch2); MatchingPair(const std::map& idMap); virtual ~MatchingPair() {;} int getMatchRef() const {return fMatchRef;} void setBranchesAndIDs(unsigned int id1, const TString& branch1, unsigned int id2, const TString& branch2); void setMatchRef(int mr) {fMatchRef = mr;} private: int fMatchRef; // reference to TCA index of a the created combined track // -1: default, no reference public: ClassDef(MatchingPair,1) }; #endif