~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to src/common_cpp/DetModel/SciFi/DoubletFiberParam.cc

merging in changes in merge branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
  // These are the coordinates of the fiber placement
48
48
  // channel numbers run from right to left
49
 
  G4double xPos = copyNo*fiberDiameter*fiberPitch/2
50
 
                  - (activeRadius-fiberDiameter/2);
 
49
  G4double xPos = - copyNo*fiberDiameter*fiberPitch/2
 
50
                  + (activeRadius-fiberDiameter/2);
51
51
  G4double yPos = 0.0;
52
52
  G4double zPos = (copyNo%2) ? -0.5*spacing : 0.5*spacing;
53
53
 
58
58
void DoubletFiberParam::ComputeDimensions(G4Tubs& fiberElement,
59
59
                                          G4int copyNo,
60
60
                                    const G4VPhysicalVolume* physVol) const {
61
 
  G4double xPos = copyNo * (fiberDiameter*fiberPitch/2)
62
 
                  - (activeRadius-fiberDiameter/2);
 
61
  G4double xPos = - copyNo * (fiberDiameter*fiberPitch/2)
 
62
                  + (activeRadius-fiberDiameter/2);
63
63
 
64
64
  G4double fiberHalfLen = 0.;
65
65