// ------------------------------------------------------------------------- // ----- PndMvdIdealTrackingTask header file ----- // ----- Created 20/03/07 by R.Kliemt ----- // ------------------------------------------------------------------------- /** PndMvdIdealTrackingTask.h *@author R.Kliemt ** ** The ideal tracking produces tracks of type PndMvdHit by using MC information ** directly, but with the correct data interface. **/ #ifndef PNDMVDIDEALTRACKINGTASK_H #define PNDMVDIDEALTRACKINGTASK_H // Root includes #include "TVector3.h" #include "TRandom.h" // framework includes #include "CbmTask.h" #include "CbmField.h" class TClonesArray; class PndMvdIdealTrackingTask : public CbmTask { public: /** Default constructor **/ PndMvdIdealTrackingTask(); /** Destructor **/ ~PndMvdIdealTrackingTask(); /** Virtual method Init **/ virtual void SetParContainers(); virtual InitStatus Init(); /** Virtual method Exec **/ virtual void Exec(Option_t* opt); private: TString fBranchName; /** Input array of Points **/ TClonesArray* fHitArray; TClonesArray* fMctruthArray; /** Output array of Hits **/ TClonesArray* fTrackOutputArray; void Register(); void Reset(); void ProduceHits(); ClassDef(PndMvdIdealTrackingTask,1); }; #endif