Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Rossi committed Nov 17, 2021
1 parent a2eadd7 commit eb26ef5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions DQM/SiPixelPhase1Track/plugins/SiPixelPhase1ResidualsExtra.cc
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,9 @@ void SiPixelPhase1ResidualsExtra::fillMEs(DQMStore::IBooker& iBooker, DQMStore::
MonitorElement* me2_y = iGetter.get(
"PixelPhase1/Tracks/ResidualsExtra/PXBarrel/DRnR_y_per_SignedModule_per_SignedLadder_PXLayer_" + layer);

if(me_x == nullptr || me_y == nullptr || me2_x == nullptr || me2_x == nullptr){
edm::LogWarning("SiPixelPhase1ResidualsExtra") << "Residuals plots for Pixel BPIX Layer"<<layer<<" not found. Skipping ResidualsExtra plots generation.";
if (me_x == nullptr || me_y == nullptr || me2_x == nullptr || me2_x == nullptr) {
edm::LogWarning("SiPixelPhase1ResidualsExtra")
<< "Residuals plots for Pixel BPIX Layer" << layer << " not found. Skipping ResidualsExtra plots generation.";
continue;
}

Expand Down Expand Up @@ -395,8 +396,9 @@ void SiPixelPhase1ResidualsExtra::fillMEs(DQMStore::IBooker& iBooker, DQMStore::
MonitorElement* me2_y = iGetter.get(
"PixelPhase1/Tracks/ResidualsExtra/PXForward/DRnR_y_per_PXDisk_per_SignedBladePanel_PXRing_" + ring);

if(me_x == nullptr || me_y == nullptr || me2_x == nullptr || me2_x == nullptr){
edm::LogWarning("SiPixelPhase1ResidualsExtra") << "Residuals plots for Pixel FPIX Ring"<<ring<<" not found. Skipping ResidualsExtra plots generation.";
if (me_x == nullptr || me_y == nullptr || me2_x == nullptr || me2_x == nullptr) {
edm::LogWarning("SiPixelPhase1ResidualsExtra")
<< "Residuals plots for Pixel FPIX Ring" << ring << " not found. Skipping ResidualsExtra plots generation.";
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion DQM/TrackingMonitor/src/TrackFoldedOccupancyClient.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void TrackFoldedOccupancyClient::dqmEndJob(DQMStore::IBooker& ibooker, DQMStore:
hname = "TrackEtaPhiInvertedoutofphase_";
MonitorElement* TrackEtaPhiInvertedoutofphase = igetter.get(inFolder + hname + histTag_);

if(TrackEtaPhi == nullptr || TrackEtaPhiInverted == nullptr || TrackEtaPhiInvertedoutofphase == nullptr){
if (TrackEtaPhi == nullptr || TrackEtaPhiInverted == nullptr || TrackEtaPhiInvertedoutofphase == nullptr) {
edm::LogWarning("TrackFoldedOccupancyClient") << "MEs needed for this module not found. Skipping.";
return;
}
Expand Down

0 comments on commit eb26ef5

Please sign in to comment.