//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // TPC Helitron/Plawa track fitting routine // // // Environment: // Processing of data from FOPI experiment S339 // // Author List: // Paul Buehler SMI/OEAW // //----------------------------------------------------------- #ifndef TPCHELTRAFITTASK_H #define TPCHELTRAFITTASK_H //Base class #include "FairTask.h" #include "TClonesArray.h" #include "TString.h" #include "TVector3.h" #include "FairGeanePro.h" // Collaborating Class Declarations -------------------------------------- class TpcHelTrackFittingTask : public FairTask { public: // Constructor ---------------------------------------------- TpcHelTrackFittingTask(); //default constructor ~TpcHelTrackFittingTask(); virtual InitStatus Init(); virtual void Exec(Option_t* opt); virtual void SetParContainers(); // Modifiers -------------------------------------------------- void SetPersistence(Bool_t opt=kTRUE) {fPersistence=opt;} void SetVerbose(Bool_t opt=kFALSE) {fVerbose=opt;} void SetTpcHelMatchParsBranchName(TString thmpbr) {fTpcHelMatchParsBranchName=thmpbr;} void SetTpcHelTrackBranchName(TString thtbr) {fTpcHelTrackBranchName=thtbr;} void SetTpcHelTrackFitBranchName(TString thtbr) {fTpcHelTrackFitBranchName=thtbr;} void SetDefRep(unsigned int rep) {frep = rep;} private: Float_t fRad; Bool_t fPersistence; Bool_t fVerbose; // branch names TString fFopiEvBranchName; TString fTpcHelMatchParsBranchName; TString fTpcHelTrackBranchName; TString fTpcHelTrackFitBranchName; // representation to use for fit unsigned int frep; // clones arrays for branches TClonesArray* fFopiEventArray; TClonesArray* fMatchingPars; TClonesArray* fTpcHelTracks; TClonesArray* fTpcHelTrackFits; TVectorD *MatchingParsVec; public: ClassDef(TpcHelTrackFittingTask,3) }; #endif