Back to the top page
Back to the upper page
Function members
public
- TArtRIDFMap()
- TArtRIDFMap(const int fp, const intdid, const intingeo, const int inch)
- virtual ~TArtRIDFMap()
- virtual void SetMap(const int fp, const int did, const int ingeo, const int inch)
- virtual int GetDevice()
- virtual int GetFpl()
- virtual int GetDetID()
- virtual int GetGeo()
- virtual int GetCh()
- virtual bool operator < (const TArtRIDFMap &m);
- friend ostream & operator << (ostream& out, const TArtRIDFMap& p);
- virtual char * GetMapInfo()
protected
- int device
Device ID value. - int fpl
Focal Plane ID value. - int detid
Detector ID value. - int geo
Geometry ID value. - int ch
Channel number. - char mapinfo[64]
The map information.
Function documents
- TArtRIDFMap(const int fp, const intdid, const intingeo, const int inch)
Assign -1 to device, fp to fpl, did to detid, ingeo to geo, inch to ch.
Set the object name as a following format.Format : Fpl%d_DetID%d_Geo%d_Ch%d, fpl, detid, geo, ch
- void SetMap(const int fp, const intdid, const intingeo, const int inch)
Assign fp to fpl, did to detid, ingeo to geo, inch to ch.
Set the object name as a following format.Format : Fpl%d_DetID%d_Geo%d_Ch%d, fpl, detid, geo, ch
- virtual int GetDevice()
Return device.
- virtual int GetFpl()
Return fpl.
- virtual int GetDetID()
Return detid.
- virtual int GetGeo()
Return geo.
- virtual int GetCh()
Return ch.
- virtual operator< (const TArtRIDFMap &m)
Compare elements of TArtRIDFMap, and return the result.
- Example
TArtRIDFMap map1(1,2,10,1); // fp = 1, detid = 2, geo = 10, ch = 1 TArtRIDFMap map2(1,3,10,1); // fp = 1, detid = 3, geo = 10, ch = 1 bool result = map1 < map2; // Compare each datatype.
This result is "true".
Last-modified: Mon, 12 Dec 2011 20:05:15 HAST (4842d)