//----------------------------------------------------------- // 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 TPCHELTRAFITPHIPSTASK_H #define TPCHELTRAFITPHIPSTASK_H //Base class #include "FairTask.h" #include "TClonesArray.h" #include "TString.h" #include "TVector3.h" #include "FairGeanePro.h" // Collaborating Class Declarations -------------------------------------- class TpcHelTrackFittingTaskPhilipp : public FairTask { public: // Constructor ---------------------------------------------- TpcHelTrackFittingTaskPhilipp(); //default constructor ~TpcHelTrackFittingTaskPhilipp(); 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=kTRUE) {fVerbose=opt;} void SetTPCHelMatchParsBranchName(TString thmpbr) {fTPCHelMatchParsBranchName=thmpbr;} void SetTPCHelTrackBranchName(TString thtbr) {fTPCHelTrackBranchName=thtbr;} void SetTPCHelTrackFitBranchName(TString thtbr) {fTPCHelTrackFitBranchName=thtbr;} void SetAngleMeanSigma(double tm, double ts, double pm, double ps) {fTheMean=tm; fTheSigma=ts; fPhiMean=pm; fPhiSigma=ps;} // void SetDefRep(Int_t rep) {frep = rep;} private: Float_t fRad; Double_t fTheMean,fTheSigma,fPhiMean, fPhiSigma; Bool_t fPersistence; Bool_t fVerbose; // branch names TString fFopiEvBranchName; TString fTPCHelMatchParsBranchName; TString fTPCHelTrackBranchName; TString fTPCHelTrackFitBranchName; TString fTPCHelFitParBranchName; // representation to use for fit // Int_t frep; // clones arrays for branches TClonesArray* fFopiEventArray; TClonesArray* fMatchingPars; TClonesArray* fTPCHelTracks; TClonesArray* fTPCHelTrackFits; TClonesArray* fFitPars; Double_t *FitPars; TVectorD *FitParsVec; public: ClassDef(TpcHelTrackFittingTaskPhilipp,3) }; #endif