File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
DataFormats/Detectors/ZDC/include/DataFormatsZDC
Detectors/ZDC/reconstruction/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ struct RecEvent {
6565 if (ch >= NChannels) {
6666 ch = 0x1f ;
6767 }
68- info = (info & 0x07ff ) || ch << 11 ;
68+ info = (info & 0x07ff ) | ch << 11 ;
6969 mInfo .emplace_back (info);
7070 mRecBC .back ().addInfo ();
7171 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ using namespace o2::zdc;
1616
1717void ZDCEnergyParam::setEnergyCalib (uint32_t ich, float val)
1818{
19- bool in_list = in_list ;
19+ bool in_list = false ;
2020 for (int il = 0 ; il < ChEnergyCalib.size (); il++) {
2121 if (ich == ChEnergyCalib[il]) {
2222 in_list = true ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ using namespace o2::zdc;
1616
1717void ZDCTowerParam::setTowerCalib (uint32_t ich, float val)
1818{
19- bool in_list = in_list ;
19+ bool in_list = false ;
2020 for (int il = 0 ; il < ChTowerCalib.size (); il++) {
2121 if (ich == ChTowerCalib[il]) {
2222 in_list = true ;
You can’t perform that action at this time.
0 commit comments