77 {
79 if(
value == 0x7fffffff ) {
82 m_qtc = 10000.0;
84 }
85 else if(
value == -999 ) {
87 m_qtc = -999.0;
89 }
90 else {
91
93 if( m_mrpc ) {
96 }
97 else {
99 std::cout << "Event/RawDataProviderSvc:: ERROR! ETF(MRPC) data is treated as scintillator data !" << std::endl;
100 }
101
103 if( (
value & 0x80000 ) != 0 ) {
104 if( m_corr ) {
107 }
108 }
109 else {
111 }
112 }
113
117 if( barrel==1 ) {
118 if( layer==1 ) {
119 tofid = tofid + 88;
120 }
121 }
122 else if( barrel==2 ) {
123 tofid = tofid + 48;
124 }
126
127 if( m_corr ) {
128 if( barrel==1 ) {
129 if( east==0 ) {
131 }
132 else {
134 }
135 }
136 else {
138 }
139 }
140 else {
142 }
143
144 if( m_elec ) {
145 if( barrel==1 ) {
146 if( east==0 ) {
148 }
149 else {
151 }
152 }
153 else {
155 }
156 }
157 else {
159 }
160 }
161
162 }
163 return;
164}
ITofQElecSvc * tofQElecSvc
ITofQCorrSvc * tofQCorrSvc
virtual const double BQRaw1(int id, double q)=0
virtual const double EQRaw(int id, double q)=0
virtual const double BQRaw2(int id, double q)=0
virtual const double BQTC2(int id, double q)=0
virtual const double BQTC1(int id, double q)=0
virtual const double EQTC(int id, double q)=0
static double TofTime(unsigned int timeChannel)
static bool is_scin(const Identifier &id)
static int end(const Identifier &id)
static bool is_mrpc(const Identifier &id)
static int phi_module(const Identifier &id)
static int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0)
static int layer(const Identifier &id)