Skip to content

Commit

Permalink
Formatting in GpuTask.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
alejands committed Jun 20, 2022
1 parent 9574e67 commit 1e53aa1
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions DQM/EcalMonitorTasks/src/GpuTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ namespace ecaldqm {
template <typename DigiCollection>
void GpuTask::runOnCpuDigis(DigiCollection const& cpuDigis, Collections collection) {
// Return if not enabled
if (!enableDigi_) return;
if (!enableDigi_)
return;

MESet& meDigiCpu(MEs_.at("DigiCpu"));
MESet& meDigiCpuAmplitude(MEs_.at("DigiCpuAmplitude"));
Expand Down Expand Up @@ -200,7 +201,8 @@ namespace ecaldqm {
template <typename DigiCollection>
void GpuTask::runOnGpuDigis(DigiCollection const& gpuDigis, Collections collection) {
// Return if not enabled
if (!enableDigi_) return;
if (!enableDigi_)
return;

MESet& meDigiGpuCpu(MEs_.at("DigiGpuCpu"));
MESet& meDigiGpuCpuAmplitude(MEs_.at("DigiGpuCpuAmplitude"));
Expand Down Expand Up @@ -278,7 +280,8 @@ namespace ecaldqm {

void GpuTask::runOnCpuUncalibRecHits(EcalUncalibratedRecHitCollection const& cpuHits, Collections collection) {
// Return if not enabled
if (!enableUncalib_) return;
if (!enableUncalib_)
return;

MESet& meUncalibCpu(MEs_.at("UncalibCpu"));
MESet& meUncalibCpuAmp(MEs_.at("UncalibCpuAmp"));
Expand Down Expand Up @@ -333,7 +336,8 @@ namespace ecaldqm {

void GpuTask::runOnGpuUncalibRecHits(EcalUncalibratedRecHitCollection const& gpuHits, Collections collection) {
// Return if not enabled
if (!enableUncalib_) return;
if (!enableUncalib_)
return;

MESet& meUncalibGpuCpu(MEs_.at("UncalibGpuCpu"));
MESet& meUncalibGpuCpuAmp(MEs_.at("UncalibGpuCpuAmp"));
Expand Down Expand Up @@ -474,7 +478,8 @@ namespace ecaldqm {

void GpuTask::runOnCpuRecHits(EcalRecHitCollection const& cpuHits, Collections collection) {
// Return if not enabled
if (!enableRecHit_) return;
if (!enableRecHit_)
return;

MESet& meRecHitCpu(MEs_.at("RecHitCpu"));
MESet& meRecHitCpuEnergy(MEs_.at("RecHitCpuEnergy"));
Expand Down Expand Up @@ -505,7 +510,8 @@ namespace ecaldqm {

void GpuTask::runOnGpuRecHits(EcalRecHitCollection const& gpuHits, Collections collection) {
// Return if not enabled
if (!enableRecHit_) return;
if (!enableRecHit_)
return;

MESet& meRecHitGpuCpu(MEs_.at("RecHitGpuCpu"));
MESet& meRecHitGpuCpuEnergy(MEs_.at("RecHitGpuCpuEnergy"));
Expand Down

0 comments on commit 1e53aa1

Please sign in to comment.