Skip to content

Commit ee23b5e

Browse files
authored
Merge pull request AliceO2Group#10 from alibuild/alibot-cleanup-6224
Please consider the following formatting changes to AliceO2Group#6224
2 parents 9d1dd52 + da6447b commit ee23b5e

5 files changed

Lines changed: 9 additions & 8 deletions

File tree

Detectors/ZDC/macro/CreateIntegrationParam.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ using namespace o2::zdc;
2424
using namespace std;
2525

2626
void CreateIntegrationParam(long tmin = 0, long tmax = -1,
27-
std::string ccdbHost = "http://ccdb-test.cern.ch:8080")
27+
std::string ccdbHost = "http://ccdb-test.cern.ch:8080")
2828
{
2929

3030
ZDCIntegrationParam conf;

Detectors/ZDC/reconstruction/include/ZDCReconstruction/ZDCEnergyParam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace zdc
2626
// parameters of ZDC reconstruction
2727

2828
struct ZDCEnergyParam {
29-
//std::array<float, NTDCChannels> tdcShift{}
29+
//std::array<float, NTDCChannels> tdcShift{}
3030
float tdc_shift[NTDCChannels] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // Correction of TDC position (ns)
3131
void setShift(uint32_t ich, float val);
3232
float getShift(uint32_t ich) const;

Detectors/ZDC/reconstruction/include/ZDCReconstruction/ZDCTDCParam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace zdc
2626
// parameters of ZDC reconstruction
2727

2828
struct ZDCTDCParam {
29-
//std::array<float, NTDCChannels> tdcShift{}
29+
//std::array<float, NTDCChannels> tdcShift{}
3030
float tdc_shift[NTDCChannels] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // Correction of TDC position (ns)
3131
void setShift(uint32_t ich, float val);
3232
float getShift(uint32_t ich) const;

Detectors/ZDC/reconstruction/src/RecoParamZDC.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ using namespace o2::zdc;
1515

1616
O2ParamImpl(RecoParamZDC);
1717

18-
void RecoParamZDC::setBit(uint32_t ibit, bool val){
19-
if(ibit>=0 && ibit<NTDCChannels){
20-
bitset[ibit]=val;
21-
}else{
18+
void RecoParamZDC::setBit(uint32_t ibit, bool val)
19+
{
20+
if (ibit >= 0 && ibit < NTDCChannels) {
21+
bitset[ibit] = val;
22+
} else {
2223
LOG(FATAL) << __func__ << " bit " << ibit << " not in allowed range";
2324
}
2425
}

Detectors/ZDC/reconstruction/src/ZDCIntegrationParam.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ void ZDCIntegrationParam::setIntegration(uint32_t ich, int beg, int end, int beg
4444
void ZDCIntegrationParam::print()
4545
{
4646
for (Int_t ich = 0; ich < NChannels; ich++) {
47-
LOG(INFO) << ChannelNames[ich] << " integration: signal=[" << beg_int[ich] << ":" << end_int[ich] << "] pedestal=[" << beg_ped_int[ich] << ":" << end_ped_int[ich] <<"]";
47+
LOG(INFO) << ChannelNames[ich] << " integration: signal=[" << beg_int[ich] << ":" << end_int[ich] << "] pedestal=[" << beg_ped_int[ich] << ":" << end_ped_int[ich] << "]";
4848
}
4949
}

0 commit comments

Comments
 (0)