Skip to content

Commit

Permalink
Removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr15Jones committed Oct 17, 2022
1 parent c78fc70 commit ee4b5d8
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions SimPPS/RPDigiProducer/plugins/RPDisplacementGenerator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ RPDisplacementGenerator::RPDisplacementGenerator(bool iIsOn,
const CTPPSRPAlignmentCorrectionsData *alignments,
const CTPPSGeometry &geom)
: detId_(_detId) {
isOn_ = iIsOn; //ps.getParameter<bool>("RPDisplacementOn");

// read the alignment correction
/*
ESHandle<CTPPSRPAlignmentCorrectionsData> alignments;
if (auto rec = iSetup.tryToGet<VeryForwardMisalignedGeometryRecord>()) {
iSetup.get<VeryForwardMisalignedGeometryRecord>().get(alignments);
}
*/
isOn_ = iIsOn;

unsigned int decId = rawToDecId(detId_);

Expand All @@ -40,8 +32,6 @@ RPDisplacementGenerator::RPDisplacementGenerator(bool iIsOn,
isOn_ = false;

// transform shift and rotation to the local coordinate frame
//ESHandle<CTPPSGeometry> geom;
//iSetup.get<VeryForwardRealGeometryRecord>().get(geom);
const DetGeomDesc *g = geom.sensor(detId_);
const RotationMatrix &R_l = g->rotation();
rotation_ = R_l.Inverse() * R_m.Inverse() * R_l;
Expand Down

0 comments on commit ee4b5d8

Please sign in to comment.