#ifndef CBMLITSTATIONGROUP_H_ #define CBMLITSTATIONGROUP_H_ #include "CbmLitStation.h" #include #include #include class CbmLitStationGroup { public: CbmLitStationGroup(){}; virtual ~CbmLitStationGroup(){}; void SetStations(const std::vector& stations){ fStations = stations; } void AddStation(const CbmLitStation& station){ fStations.push_back(station); } const CbmLitStation& GetStation(int i) const {return fStations[i];} int GetNofStations() const {return fStations.size();} virtual std::string ToString() const { std::stringstream ss; ss << "Station group: nofStations=" << GetNofStations() << std::endl; return ss.str(); } private: std::vector fStations; }; #endif /*CBMLITSTATIONGROUP_H_*/