- Timestamp:
- 03/26/12 22:03:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/PixelMap.h
r13167 r13239 223 223 } 224 224 225 /* 225 226 float Vgapd(int board, int channel) const 226 227 { 227 228 const BiasMapEntry &entry = hv(board, channel); 228 //return entry.Vnom/*-entry.Voff*/; // for testing purposes only229 229 return entry.Vnom - entry.Voff; // use this with GAPDmap_20111126.txt 230 230 } … … 233 233 { 234 234 return Vgapd(idx/32, idx%32); 235 } 235 }*/ 236 236 237 237 std::vector<float> Vgapd() const … … 242 242 { 243 243 const int ch = it->hv_board*32 + it->hv_channel; 244 245 //volt[ch] += it->Vnom/*-it->Voff*/; // for testing purposes only 246 volt[ch] += it->Vnom - it->Voff; // use this with GAPDmap_20111126.txt 244 volt[ch] = it->Vnom; 247 245 } 248 246 249 247 return volt; 250 248 } 251 }; 252 253 #endif 249 std::vector<float> Voffset() const 250 { 251 std::vector<float> volt(416); 252 253 for (std::vector<BiasMapEntry>::const_iterator it=begin(); it!=end(); it++) 254 { 255 const int ch = it->hv_board*32 + it->hv_channel; 256 volt[ch] = -it->Voff; 257 } 258 259 return volt; 260 } 261 }; 262 263 #endif
Note:
See TracChangeset
for help on using the changeset viewer.