//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Abstract Interface for residual calculation with // reference tracks // USAGE: Create this object ON MACRO LEVEL, // add all required branch names // YOU HAVE TO MAKE SURE IN YOUR IMPLEMENTATION OF // THAT THE DATA YOU NEED IS THERE! // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer (original author) // Physik Department E18, TUM // //----------------------------------------------------------- #ifndef ABSREFTRACKRESCALC_HH #define ABSREFTRACKRESCALC_HH #include #include #include "TString.h" #include "TObject.h" #include "AbsResCalc.h" #include "TpcRefResidualCollection.h" class TClonesArray; //TODO: Make it so that the name of the residual output branch can be //specified. The Task should then get the information from each calc //and write the TCA to the tree class AbsRefTrackResCalc : public AbsResCalc { friend class TpcRefTrackResidualTask; public: AbsRefTrackResCalc(); ~AbsRefTrackResCalc(); virtual std::vector* getResiduals() {return &fResults;} protected: //results...cleared every time, so make sure to write them out properly! std::vector fResults; }; #endif