]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDAltroMapping.h
Coding conventions (Christian)
[u/mrichter/AliRoot.git] / FMD / AliFMDAltroMapping.h
index 1e4e56f4238f2565c2650f3c611dcf816498eca3..1f98aa39fdfbf9298d7c3cbcc46015f032598402 100644 (file)
 #ifndef ROOT_TArrayI
 # include <TArrayI.h>
 #endif
-
+//
+// Map hardware address to detector coordinates. 
+//
+//    The hardware address consist of a DDL number and 12bits of ALTRO
+//    addresses.  The ALTRO address are formatted as follows. 
+//
+//    12              7         4            0
+//    |---------------|---------|------------|
+//    | Board #       | ALTRO # | Channel #  |
+//    +---------------+---------+------------+
+//
+//
 //____________________________________________________________________
 /** @class AliFMDAltroMapping 
     @brief Class that encodes a map to/from ALTRO hardware address to
@@ -43,6 +54,8 @@ class AliFMDAltroMapping : public AliAltroMapping
 public:
   /** Constructor */
   AliFMDAltroMapping();
+  /** Destructor */
+  virtual ~AliFMDAltroMapping() {}
   /** Map a hardware address into a detector index. 
       @param ddl    Hardware DDL number 
       @param hwaddr Hardware address.