#ifndef PNDMVDCLUSTERCAND_H #define PNDMVDCLUSTERCAND_H #include "TObject.h" #include #include //! PndMvdClusterCand.h //! @author T.Stockmanns //! //! \brief Class to store the Digis which belong to one cluster //! This class holds the information which Digi belongs to the actual cluster. //! The information is stored in a vector which contains the //! position of the digi in the TClonesArray where it is stored. class PndMvdClusterCand : public TObject { public : PndMvdClusterCand(){}; ~PndMvdClusterCand(){}; PndMvdClusterCand(std::vector list); void SetClusterList(std::vector list){ fClusterList = list; } std::vector GetClusterList(){return fClusterList;}; Int_t GetClusterSize(){return fClusterList.size();}; void Print(); friend std::ostream& operator<< (std::ostream& out, PndMvdClusterCand& cl){ std::vector list = cl.GetClusterList(); out << "Hits in Cluster:" << std::endl; for (Int_t i = 0; i fClusterList; ClassDef(PndMvdClusterCand,1); }; #endif