//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Class to convert TBStripHit into TBstripClluster by using // the alignment manager // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // MVDB TUM (original author) // // //----------------------------------------------------------- #ifndef TBSTRIPCLUSTERTASK_H #define TBSTRIPCLUSTERTASK_H // Base Class Headers ---------------- #include "FairTask.h" // Collaborating Class Headers ------- #include // remove if you do not need streaming op // Collaborating Class Declarations -- #include "TpcAlignmentManager.h" #include "TClonesArray.h" #include "TBStripHit.h" #include "TBGEMCluster.h" #include "TBSICluster.h" #include "TVector3.h" #include "TString.h" class TpcAlignmentManager; class TClonesArray; class TBGEMCluster; class TBSICluster; class TBStripHit; class TVector3; class TBStripClusterTask : public FairTask { public: // Constructors/Destructors --------- TBStripClusterTask(); ~TBStripClusterTask(); // Operators // Accessors ----------------------- // Modifiers ----------------------- void SetClusterGEMBranchName(const TString& name) {fclusterGEMBranchName=name;} void SetClusterSIBranchName(const TString& name) {fclusterSIBranchName=name;} void SetHitBranchName(const TString& name) {fhitBranchName=name;} void SetPersistence(Bool_t opt=kTRUE) {fpersistence=opt;} // Operations ---------------------- virtual InitStatus Init(); virtual void Exec(Option_t* opt); //{return alMan->getPitch(fdetid)/10000.;}//in cm private: // Private Data Members ------------ TString fclusterGEMBranchName; TString fclusterSIBranchName; TString fhitBranchName; TClonesArray* fclusterGEMArray; TClonesArray* fclusterSIArray; TClonesArray* fhitArray; TpcAlignmentManager* alMan;//! Bool_t fpersistence; char* DETNAME[9];//hack for dealing with the new alignement manager // Private Methods ----------------- public: ClassDef(TBStripClusterTask,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------