//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Implementation of resCalc // Uses (final) matched Tpc GFTrack / CdcTrack pair to // calculate residuals for Tpc hits (TpcSPHits) with // respect to the Cdc circle. // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer (original author) // Physik Department E18, TUM // //----------------------------------------------------------- #ifndef TPCCDC2DMATCHEDRES_HH #define TPCCDC2DMATCHEDRES_HH #include "AbsRefTrackResCalc.h" class TpcCdc2DMatchedResCalc : public AbsRefTrackResCalc { public: TpcCdc2DMatchedResCalc(); virtual ~TpcCdc2DMatchedResCalc() {;} //these names are just used to unambig. fix the branchNames, //in principle this information could be extracted from the MatchingTuples void setTpcTrackBranchName(const TString& n) {fTpcTrackBranch=n;} void setCdcTrackBranchName(const TString& n) {fCdcTrackBranch=n;} virtual int calc(); virtual bool init(); private: TClonesArray* fTpcTrackArray; TClonesArray* fCdcTrackArray; TClonesArray* fMatchingArray; TClonesArray* fSPArray; TString fCdcTrackBranch; //CdcTracks (circle fits) TString fTpcTrackBranch; //Tpc GFTracks that went into matching procedure TString fMatchingBranch; //(Final) matching tuples containing Tpc-CDC matching info TString fSPBranch; //TpcSPHits from TpcTrackInitTask }; #endif