//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Track candidate. Basically a list of hit indices. // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // Tobias Baldauf TUD (adapted for MVD Pid) // //----------------------------------------------------------- #ifndef PNDMVDPIDCAND_HH #define PNDMVDPIDCAND_HH // Base Class Headers ---------------- #include "TObject.h" // Collaborating Class Headers ------- #include #include // Collaborating Class Declarations -- //test #include "MvdPid/PndMvdPidLikelihood.h" class PndMvdPidCand : public TObject { friend class PndMvdPidLikelihood; public: // Constructors/Destructors --------- PndMvdPidCand() {} // CopyConstructor PndMvdPidCand(PndMvdPidCand& point) { *this = point; }; // operators // Setting ----------------------- void setProb(Int_t lundId, Double_t likelihood); void setTrack(Int_t track,Int_t part); void addHit(Double_t dE, Double_t dx, Double_t momentum); // Getting ----------------------- void getTrack(Int_t &trac,Int_t &part); void getMean(Double_t& imp,Double_t& dE); Double_t getLikelihood(Int_t lundId); // Operations ---------------------- void reset(); private: // Private Data Members ------------ Int_t ftrackId; Int_t fpdgId; Double_t fmeanEnergyloss; Double_t fmeanMomentum; std::vector fdE; std::vector fdx; std::vector fmomentum; std::map flikelihood; public: ClassDef(PndMvdPidCand,1); }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------