Changeset 17962 for branches/Mars_McMismatchStudy/mcore/PixelMap.h
- Timestamp:
- 09/01/14 13:44:46 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Mars_McMismatchStudy/mcore/PixelMap.h
r17009 r17962 27 27 int cbpx; /// Hardware index as CBPX 28 28 int gapd; /// gAPD index 29 //float Vgapd; /// gAPD Bias voltage29 float Vgapd; /// gAPD Bias voltage 30 30 int hv_board; /// Bias suppply board 31 31 int hv_channel; … … 41 41 int count() const { return pixel()>3 ? 5 : 4; } 42 42 int hv() const { return hv_channel+hv_board*32; } 43 bool isTM() const { return pixel()%9==8; } 43 44 44 45 operator bool() const { return index>=0; } … … 74 75 std::stringstream str(buf); 75 76 76 int idummy; 77 float fdummy; 77 int idummy; 78 78 79 79 PixelMapEntry entry; … … 84 84 str >> idummy; 85 85 str >> entry.gapd; 86 str >> fdummy; //entry.Vgapd;86 str >> entry.Vgapd; 87 87 str >> entry.hv_board; 88 88 str >> entry.hv_channel; … … 228 228 std::ifstream fin(fname); 229 229 230 int l = 0;230 long long int l = 0; 231 231 232 232 std::string buf;
Note:
See TracChangeset
for help on using the changeset viewer.