er  dev
ERpmtPixelMap.cxx
1 /*
2  * ERpmtPixelMap.cpp
3  *
4  * Created on: Apr 7, 2017
5  * Author: vratik
6  */
7 
8 #include "ERpmtPixelMap.h"
9 
10 ERpmtPixelMap::ERpmtPixelMap() {
11 
12  // Default map
13  for (UInt_t i=0; i<8; i++) {
14  fPixelFromFebCh[i*8+0] = i*8+1;
15  fPixelFromFebCh[i*8+1] = i*8+5;
16  fPixelFromFebCh[i*8+2] = i*8+3;
17  fPixelFromFebCh[i*8+3] = i*8+7;
18  fPixelFromFebCh[i*8+4] = i*8+2;
19  fPixelFromFebCh[i*8+5] = i*8+6;
20  fPixelFromFebCh[i*8+6] = i*8+4;
21  fPixelFromFebCh[i*8+7] = i*8+8;
22 
23  fFebChFromPixel[i*8+1] = i*8+0;
24  fFebChFromPixel[i*8+5] = i*8+1;
25  fFebChFromPixel[i*8+3] = i*8+2;
26  fFebChFromPixel[i*8+7] = i*8+3;
27  fFebChFromPixel[i*8+2] = i*8+4;
28  fFebChFromPixel[i*8+6] = i*8+5;
29  fFebChFromPixel[i*8+4] = i*8+6;
30  fFebChFromPixel[i*8+8] = i*8+7;
31  }
32 
33 }
34 
35 ERpmtPixelMap::~ERpmtPixelMap() {
36  // TODO Auto-generated destructor stub
37 }
38