Fork me on GitHub

Changeset 1362 in svn for trunk/modules/Hector.cc


Ignore:
Timestamp:
Apr 14, 2014, 4:53:45 PM (10 years ago)
Author:
Pavel Demin
Message:

fix units conversion in Hector and add offset parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/Hector.cc

    r1361 r1362  
    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.