// PropSurfList.hpp #ifndef PropSurfList_H #define PropSurfList_H #include #include "trfbase/PropagatorPtr.h" #include "trfbase/SurfacePtr.h" class PropSurfList { private: std::vector _props; std::vector _surfs; int _vi; int _length; public: PropSurfList() { _length = 0 ; } PropSurfList(std::vector theirprops, std::vector theirsurfs) { _props=theirprops; _surfs=theirsurfs; _length=_props.size(); } ~PropSurfList() { } // methods void push_back(trf::PropagatorPtr pp1, trf::SurfacePtr sp1) { _props.push_back(pp1); _surfs.push_back(sp1); _length=_props.size() ; } trf::PropagatorPtr getProp(int i) {return _props[i];} trf::SurfacePtr getSurf(int i) {return _surfs[i]; } int getLength() {return _length;} }; #endif