Skip to content

Commit f3796db

Browse files
committed
code style fixes
1 parent 41267c7 commit f3796db

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

DQM/CTPPS/plugins/CTPPSDiamondDQMSource.cc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ class CTPPSDiamondDQMSource : public DQMOneEDAnalyzer<edm::LuminosityBlockCache<
8080

8181
private:
8282
// Helper method to transform coordinates to local coordinate system
83-
CTPPSGeometry::Vector transformToLocalCoordinates(const CTPPSDetId& detId_pot,
84-
double x, double y, double z = 0) const {
83+
CTPPSGeometry::Vector transformToLocalCoordinates(const CTPPSDetId& detId_pot,
84+
double x,
85+
double y,
86+
double z = 0) const {
8587
auto localVector = CTPPSGeometry::Vector(x, y, z);
8688
localVector -= diamTranslations_.at(detId_pot);
8789
localVector = diamRotations_.at(detId_pot).Inverse() * localVector;
@@ -1051,7 +1053,9 @@ void CTPPSDiamondDQMSource::analyze(const edm::Event& event, const edm::EventSet
10511053
TH1F* trackHistoInTimeTmp = potPlots_[detId_pot].trackDistribution->getTH1F();
10521054

10531055
// X coordinate of the left edge of the track in the local coordinate system
1054-
auto localTrackX = (track.x0() - diamTranslations_.at(detId_pot).x() + diamHalfWidths_.at(detId_pot) - track.x0Sigma()) / cosRotAngle.x();
1056+
auto localTrackX =
1057+
(track.x0() - diamTranslations_.at(detId_pot).x() + diamHalfWidths_.at(detId_pot) - track.x0Sigma()) /
1058+
cosRotAngle.x();
10551059

10561060
int startBin = trackHistoInTimeTmp->FindBin((localTrackX));
10571061
int numOfBins = 2 * track.x0Sigma() * INV_DISPLAY_RESOLUTION_FOR_HITS_MM;

0 commit comments

Comments
 (0)