//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Alignment of TpcSPHits // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer TUM (original author) // // //----------------------------------------------------------- #ifndef TPCALIGNMENTTASK_HH #define TPCALIGNMENTTASK_HH // Base Class Headers ---------------- #include "FairTask.h" // Collaborating Class Declarations -- #include "TString.h" class TClonesArray; class TpcDigiPar; class TpcAlignmentTask : public FairTask { public: // Constructors/Destructors --------- TpcAlignmentTask(); virtual ~TpcAlignmentTask(); // Operators // Accessors ----------------------- // Modifiers ----------------------- //leave orig. RecoHits unaligned and write aligned to new branch void SetCopyPersistence(const TString& brn, bool opt=true) {fRecoHitOutName=brn;fCopy=opt;} void SetRecoHitBranchName(const TString& n) {fRecoHitBranchName=n;} // Operations ---------------------- virtual InitStatus Init(); virtual void SetParContainers(); virtual void Exec(Option_t* opt); private: // Private Data Members ------------ TString fRecoHitBranchName; TString fRecoHitOutName; //optional TClonesArray* fRecoHitArray; TClonesArray* fRecoHitOutArray; //optional bool fCopy; TpcDigiPar* fPar; public: ClassDef(TpcAlignmentTask,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------