Skip to content

Commit a8b6f71

Browse files
authored
Merge pull request #4 from alibuild/alibot-cleanup-14985
Please consider the following formatting changes to #14985
2 parents 0e44294 + c56eee2 commit a8b6f71

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed

Detectors/FIT/FDD/workflow/src/ReconstructorSpec.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ namespace fdd
2929

3030
void FDDReconstructorDPL::init(InitContext& ic)
3131
{
32-
3332
}
3433

3534
void FDDReconstructorDPL::run(ProcessingContext& pc)
@@ -79,7 +78,7 @@ DataProcessorSpec getFDDReconstructorSpec(bool useMC, bool useDeadChannelMap)
7978
std::vector<OutputSpec> outputSpec;
8079
inputSpec.emplace_back("digitsBC", o2::header::gDataOriginFDD, "DIGITSBC", 0, Lifetime::Timeframe);
8180
inputSpec.emplace_back("digitsCh", o2::header::gDataOriginFDD, "DIGITSCH", 0, Lifetime::Timeframe);
82-
81+
8382
if (useMC) {
8483
LOG(info) << "Currently FDDReconstructor does not consume and provide MC truth";
8584
// inputSpec.emplace_back("labels", o2::header::gDataOriginFDD, "DIGITSMCTR", 0, Lifetime::Timeframe);

Detectors/FIT/FT0/reconstruction/include/FT0Reconstruction/CollisionTimeRecoTask.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ class CollisionTimeRecoTask
5858
LOG(info) << "Init for slewing calib object";
5959
mCalibSlew = calibSlew->makeSlewingPlots();
6060
};
61-
void SetDeadChannelMap(const o2::fit::DeadChannelMap * deadChannelMap)
61+
void SetDeadChannelMap(const o2::fit::DeadChannelMap* deadChannelMap)
6262
{
6363
LOG(info) << "Updated dead channel map for CollisionTimeRecoTask";
64-
mDeadChannelMap = deadChannelMap;
64+
mDeadChannelMap = deadChannelMap;
6565
}
6666
float getTimeInPS(const o2::ft0::ChannelData& channelData);
6767

Detectors/FIT/FT0/reconstruction/src/CollisionTimeRecoTask.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RP CollisionTimeRecoTask::processDigit(const o2::ft0::Digit& digit,
6767
// Reference channels shouldn't participate in reco at all!
6868
continue;
6969
}
70-
if(mDeadChannelMap && !mDeadChannelMap->isChannelAlive(channelData.ChId)) {
70+
if (mDeadChannelMap && !mDeadChannelMap->isChannelAlive(channelData.ChId)) {
7171
LOG(debug) << "Channel " << channelData.ChId << " is dead - discarding data";
7272
continue;
7373
}

Detectors/FIT/FT0/workflow/src/ReconstructionSpec.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void ReconstructionDPL::finaliseCCDB(ConcreteDataMatcher& matcher, void* obj)
100100
}
101101
if (matcher == ConcreteDataMatcher("FT0", "DeadChannelMap", 0)) {
102102
LOG(debug) << "New DeadChannelMap is uploaded";
103-
mUpdateDeadChannelMap = false;
103+
mUpdateDeadChannelMap = false;
104104
return;
105105
}
106106
}
@@ -117,7 +117,7 @@ DataProcessorSpec getReconstructionSpec(bool useMC, const std::string ccdbpath,
117117
std::vector<OutputSpec> outputSpec;
118118
inputSpec.emplace_back("digits", o2::header::gDataOriginFT0, "DIGITSBC", 0, Lifetime::Timeframe);
119119
inputSpec.emplace_back("digch", o2::header::gDataOriginFT0, "DIGITSCH", 0, Lifetime::Timeframe);
120-
120+
121121
if (useMC) {
122122
LOG(info) << "Currently Reconstruction does not consume and provide MC truth";
123123
inputSpec.emplace_back("labels", o2::header::gDataOriginFT0, "DIGITSMCTR", 0, Lifetime::Timeframe);

Detectors/FIT/FT0/workflow/src/ft0-reco-workflow.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
4242
{"disable-time-offset-calib", o2::framework::VariantType::Bool, false, {"disable timeoffset calibration"}},
4343
{"disable-slewing-calib", o2::framework::VariantType::Bool, false, {"disable slewing calibration"}},
4444
{"configKeyValues", VariantType::String, "", {"Semicolon separated key=value strings"}},
45-
{"disable-dead-channel-map", VariantType::Bool, false, {"disable dead channel map"}}
46-
};
45+
{"disable-dead-channel-map", VariantType::Bool, false, {"disable dead channel map"}}};
4746
o2::raw::HBFUtilsInitializer::addConfigOption(options);
4847
std::swap(workflowOptions, options);
4948
}

Detectors/FIT/FV0/workflow/src/ReconstructionSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ DataProcessorSpec getReconstructionSpec(bool useMC, bool useDeadChannelMap, cons
103103
LOG(info) << "Currently Reconstruction does not consume and provide MC truth";
104104
inputSpec.emplace_back("labels", o2::header::gDataOriginFV0, "DIGITSMCTR", 0, Lifetime::Timeframe);
105105
}
106-
if(useDeadChannelMap) {
106+
if (useDeadChannelMap) {
107107
LOG(info) << "Dead channel map will be applied during reconstruction";
108108
inputSpec.emplace_back("deadChannelMap", o2::header::gDataOriginFV0, "DeadChannelMap", 0, Lifetime::Condition, ccdbParamSpec("FV0/Calib/DeadChannelMap"));
109109
}

0 commit comments

Comments
 (0)