- Timestamp:
- 08/19/13 11:36:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/PixelMap.h
r16966 r17009 39 39 int hw() const { return pixel()+patch()*9+board()*36+crate()*360; } 40 40 int group() const { return pixel()>3; } 41 int count() const { return pixel()>3 ? 5 : 4; } 41 42 int hv() const { return hv_channel+hv_board*32; } 42 43 … … 201 202 int hv_channel; /// Bias supply channel 202 203 float Vnom; /// Channel bias voltage nominal 203 float Voff; /// Channel bias voltage offset 204 float Vslope; /// Channel bias voltage slope 205 206 BiasMapEntry() : hv_board(-1) { }204 float Voff; /// Channel bias voltage offset [V] 205 float Vslope; /// Channel bias voltage slope [Ohm] 206 207 BiasMapEntry() : hv_board(-1), Voff(0), Vslope(90000) { } 207 208 208 209 int hv() const { return hv_channel+hv_board*32; } … … 270 271 #ifdef __EXCEPTIONS 271 272 if (l!=416) 272 throw std::runtime_error("Number of lines read from "+fname+" does not match 416.");273 throw std::runtime_error("Number of lines ("+std::to_string(l)+") read from "+fname+" does not match 416."); 273 274 274 275 if (size()!=416)
Note:
See TracChangeset
for help on using the changeset viewer.