Fork me on GitHub

Changeset b67be31 in git


Ignore:
Timestamp:
Apr 14, 2014, 4:53:45 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
c526439
Parents:
8f7db23
Message:

fix units conversion in Hector and add offset parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/Hector.cc

    r8f7db23 rb67be31  
    7373  fBeamLine = new H_BeamLine(fDirection, fBeamLineLength + 0.1);
    7474  fBeamLine->fill(GetString("BeamLineFile", "examples/LHCB1IR5_5TeV.tfs"), fDirection, GetString("IPName", "IP5"));
    75   fBeamLine->offsetElements(120, -0.097*fDirection);
    7675  fBeamLine->offsetElements(fOffsetS, fOffsetX);
    7776  fBeamLine->calcMatrix();
     
    117116    x = 1.0E3 * candidatePosition.X();
    118117    y = 1.0E3 * candidatePosition.Y();
    119     z = 1.0E-2 * candidatePosition.Z();
     118    z = 1.0E-3 * candidatePosition.Z();
    120119
    121120//    tx = 1.0E6 * TMath::ATan(candidateMomentum.Px()/pz);
Note: See TracChangeset for help on using the changeset viewer.