//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Pattern recognition = track finding in the TPC // Using Monte Carlo Truth // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCIDEALTRACKINGTASK_HH #define TPCIDEALTRACKINGTASK_HH // Base Class Headers ---------------- #include "CbmTask.h" // Collaborating Class Headers ------- #include // remove if you do not need streaming op // Collaborating Class Declarations -- #include "PndTpcCluster.h" class TClonesArray; class PndTpcFrontend; class RecoHitFactory; class TH1I; class TH1D; class CbmGeanePro; class PndTpcIdealTrackingTask : public CbmTask { public: // Constructors/Destructors --------- PndTpcIdealTrackingTask(); ~PndTpcIdealTrackingTask(); // Operators // Accessors ----------------------- // Modifiers ----------------------- void SetClusterBranchName(const TString& name) {_clusterBranchName=name;} void SetPersistence(Bool_t opt=kTRUE) {_persistence=opt;} void useGeane(Bool_t opt=kTRUE){_useGeane=opt;} // Operations ---------------------- virtual InitStatus Init(); virtual void Exec(Option_t* opt); void WriteHistograms(const TString& filename); private: // Private Data Members ------------ TString _clusterBranchName; TClonesArray* _clusterArray; TClonesArray* _mcTrackArray; TClonesArray* _trackArray; Bool_t _persistence; Bool_t _useGeane; TH1I* _multiplicityHisto; TH1I* _trackSizeH; TH1D* _trackPurityH; TH1D* _trackMcIdsH; RecoHitFactory* _theRecoHitFactory; CbmGeanePro* _geanePro; // Private Methods ----------------- public: ClassDef(PndTpcIdealTrackingTask,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------