Skip to content

Commit

Permalink
backport whitespaces !!
Browse files Browse the repository at this point in the history
  • Loading branch information
boudoul committed Apr 6, 2018
1 parent e69bb56 commit 5fa8aef
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions DQM/SiPixelPhase1Clusters/src/SiPixelPhase1Clusters.cc
Expand Up @@ -74,7 +74,7 @@ void SiPixelPhase1Clusters::analyze(const edm::Event& iEvent, const edm::EventSe
{
histo[PIXEL_TO_STRIP_RATIO].fill((double)inputPixel.product()->data().size() / (double) inputStrip.product()->data().size(), DetId(0), &iEvent);
}
}
}

bool hasClusters=false;

Expand All @@ -95,21 +95,21 @@ void SiPixelPhase1Clusters::analyze(const edm::Event& iEvent, const edm::EventSe

for (unsigned int i = 0; i < pixelsVec.size(); ++i) {

float pixx = pixelsVec[i].x; // index as float=iteger, row index
float pixy = pixelsVec[i].y; // same, col index
float pixx = pixelsVec[i].x; // index as float=iteger, row index
float pixy = pixelsVec[i].y; // same, col index

bool bigInX = topol.isItBigPixelInX(int(pixx));
bool bigInY = topol.isItBigPixelInY(int(pixy));
float pixel_charge = pixelsVec[i].adc;
bool bigInX = topol.isItBigPixelInX(int(pixx));
bool bigInY = topol.isItBigPixelInY(int(pixy));
float pixel_charge = pixelsVec[i].adc;


if (bigInX==true || bigInY==true) {
histo[BIGPIXELCHARGE].fill(pixel_charge, id, &iEvent, col, row);
}
if (bigInX==true || bigInY==true) {
histo[BIGPIXELCHARGE].fill(pixel_charge, id, &iEvent, col, row);
}

else {
histo[NOTBIGPIXELCHARGE].fill(pixel_charge, id, &iEvent, col, row);
}
else {
histo[NOTBIGPIXELCHARGE].fill(pixel_charge, id, &iEvent, col, row);
}
}
histo[READOUT_CHARGE].fill(double(cluster.charge()), id, &iEvent, col, row);
histo[CHARGE].fill(double(cluster.charge()), id, &iEvent, col, row);
Expand Down

0 comments on commit 5fa8aef

Please sign in to comment.