Skip to content

Commit

Permalink
fixing default parameters for qie sample
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhristenko committed May 30, 2018
1 parent 7c28fdb commit dc81c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/HcalDigi/interface/HcalQIESample.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class HcalQIESample {
: theSample{data}
{}
constexpr HcalQIESample(int adc, int capid, int fiber,
int fiberchan, bool dv, bool er)
int fiberchan, bool dv=true, bool er=false)
: theSample((uint16_t)((adc&0x7f) | ((capid&0x3)<<7) |
(((fiber-1)&0x7)<<13) | ((fiberchan&0x3)<<11) |
((dv)?(0x0200):(0)) | ((er)?(0x0400):(0))))
Expand Down

0 comments on commit dc81c73

Please sign in to comment.