7 #include "GaudiKernel/IInterface.h"
8 #include "GaudiKernel/MsgStream.h"
9 #include "GaudiKernel/StatusCode.h"
47 const int negChans[
s_channels] = { 1,-1, 2, 3, -1,-1, 6, 7, 0,36,10,11,
48 5, 9,14,15, 17,13,18,19, 4,12,22,23,
49 28,20,26,27, 21,25,30,31, 33,29,34,35,
50 37,41,38,39, -1,-1,42,43 };
51 const int posChans[
s_channels] = { 0, 1, 2,-1, 4, 5,-1,-1, 8, 9, 3,39,
52 12,13, 6,10, 16,17,18,14, 20,21, 7,15,
53 24,25,31,23, 28,29,22,26, 32,33,34,30,
54 36,37,38,42, 40,41,-1,-1 };
58 return StatusCode::SUCCESS;
64 return StatusCode::SUCCESS;
73 channel < 0 || channel >=
s_channels)
return false;
81 if (
chan < 0)
return false;
87 const double twoPi = 2.*
M_PI;
96 if (
phi < 0.)
phi += twoPi;
97 else if (
phi >= twoPi)
phi -= twoPi;
110 layer = (phiBin < 0 || phiBin > 7) ? 1 : 0;