//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // PyROOT Wrapper for GFRaveVertexFactory // // // // // Environment: // Software developed for GEM-TPC detector in FOPI. // // Author List: // Felix Boehmer TUM (original author) // // //----------------------------------------------------------- #ifndef FOPIPIDGFVFWRAPPER_HH #define FOPIPIDGFVFWRAPPER_HH #include "TString.h" #include #include "GFTrack.h" //class GFTrack; class GFRaveVertex; class GFRaveVertexFactory; class FopiPidGFVFWrapper { public: FopiPidGFVFWrapper(int verbosity, bool vacProp=false); virtual ~FopiPidGFVFWrapper(); void setMethod(const TString&); void setBeamspot(const TVector3& pos, const TMatrixDSym& cov); void addTrack(GFTrack*); //add a track to the current selection void findVertices(bool use_beamspot=false); //find vertices and store info unsigned int getNVertices() const; GFRaveVertex* getVertex(unsigned int i) const; void clearData(); //clear all info; needs to be called before trying next vertex private: GFRaveVertexFactory* fFactory; std::vector fResult; //this class does NOT take ownership std::vector fTracks; public: ClassDef(FopiPidGFVFWrapper,1) }; #endif