[ROOT] detector mapping in root

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Sat Jun 23 2001 - 03:35:12 MEST


Hi,
Assume one has a set of numbers (describing the wire mapping) in form :
	BoardID ModuleID ChannelID WireNumber WireType
	...
	  34      12       0         121         4
	  34      12       1         126         1
	...
	  55      15       7         121         4
	  55      37       288       5878        2
	...
Now I would like to have functions like :
	GetWireID(BoardID,ModuleID,ChannelID)
	GetBoardID(WireNumber,WireType)
The canonical approach would be to create a "database", feed it with this
table, and then make queries. But ... I would like to do this without any
database connection. Just "pure" root.
I can't seem to have any good idea how to do this (mapping in both
directions between "electronic" channels and detector wires).
Any help appreciated.
Thanks in advance,
Jacek.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET