Commit bbb445b4 authored by clantz's avatar clantz
Browse files

Added nRows, nColumns and nElements with Set methods

parent e5fe6a16
......@@ -21,8 +21,18 @@ class RPD : public Detector{
RPD( std::vector< Channel* > _readOut );
~RPD( );
Channel* GetElement(int row, int column);
void SetnRows(int rows){nRows=rows; nElements = nRows * nColumns; };
void SetnCols(int cols){nColumns=cols; nElements = nRows * nColumns; };
virtual void PrintMap( );
private:
int nRows = 4;
int nColumns = 4;
int nElements = nRows * nColumns;
};
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment