Skip to content

Commit

Permalink
Merge pull request #39937 from civanch/pps_numbering1
Browse files Browse the repository at this point in the history
[12_5_X] PPS: fixing sim unitid
  • Loading branch information
cmsbuild authored Nov 1, 2022
2 parents 017858e + f198530 commit c3adae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimG4CMS/PPS/src/PPSPixelOrganization.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PPSPixelOrganization ::PPSPixelOrganization()

uint32_t PPSPixelOrganization ::unitID(const G4Step* aStep) {
const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
G4VPhysicalVolume* physVol = touch->GetVolume(0);
G4VPhysicalVolume* physVol = touch->GetVolume(1);
int coNum = physVol->GetCopyNo();
edm::LogVerbatim("PPSPixelSim") << "PPSPixelSim: PhysVol= " << physVol->GetName() << " coNum=" << coNum;
currentPlane_ = coNum - 1;
Expand Down

0 comments on commit c3adae4

Please sign in to comment.