Warning, /RecoTracker/MkFit/doc/reco-geom-notes.txt is written in an unsupported language. File is not indexed.
0001
0002 # TrapezoidalPlaneBounds parameters
0003
0004 These parameters are half-lengths, as in CMSIM/GEANT3
0005 https://github.com/trackreco/cmssw/blob/master/Fireworks/Core/src/FWGeometry.cc#L241
0006 https://github.com/root-project/root/blob/master/geom/geom/src/TGeoArb8.cxx#L1331
0007
0008 i.shape[0] = 1;
0009 i.shape[1] = par[0]; // hBottomEdge - dx1
0010 i.shape[2] = par[1]; // hTopEdge - dx2
0011 i.shape[3] = par[2]; // thickness - dz
0012 i.shape[4] = par[3]; // apothem - dy1
0013
0014 geoShape = new TGeoTrap(info.shape[3], //dz
0015 0, //theta
0016 0, //phi
0017 info.shape[4], //dy1
0018 info.shape[1], //dx1
0019 info.shape[2], //dx2
0020 0, //alpha1
0021 info.shape[4], //dy2
0022 info.shape[1], //dx3
0023 info.shape[2], //dx4
0024 0); //alpha2
0025
0026 TGeoTrap::TGeoTrap(Double_t dz, Double_t theta, Double_t phi, Double_t h1,
0027 Double_t bl1, Double_t tl1, Double_t alpha1, Double_t h2, Double_t bl2,
0028 Double_t tl2, Double_t alpha2)
0029 : TGeoArb8("", 0, 0)
0030 {
0031 fDz = dz; par[2]
0032 fTheta = theta; = 0
0033 fPhi = phi; = 0
0034 fH1 = h1; par[3]
0035 fH2 = h2; par[3]
0036 fBl1 = bl1; par[0]
0037 fBl2 = bl2; par[0]
0038 fTl1 = tl1; par[1]
0039 fTl2 = tl2; par[1]
0040 fAlpha1 = alpha1; = 0
0041 fAlpha2 = alpha2; = 0
0042 Double_t tx = TMath::Tan(theta*TMath::DegToRad())*TMath::Cos(phi*TMath::DegToRad()); = 0
0043 Double_t ty = TMath::Tan(theta*TMath::DegToRad())*TMath::Sin(phi*TMath::DegToRad()); = 0
0044 Double_t ta1 = TMath::Tan(alpha1*TMath::DegToRad()); = 0
0045 Double_t ta2 = TMath::Tan(alpha2*TMath::DegToRad()); = 0
0046 fXY[0][0] = -bl1; fXY[0][1] = -h1; -dz
0047 fXY[1][0] = -tl1; fXY[1][1] = h1; -dz
0048 fXY[2][0] = tl1; fXY[2][1] = h1; -dz
0049 fXY[3][0] = bl1; fXY[3][1] = -h1; -dz
0050 fXY[4][0] = -bl2; fXY[4][1] = -h2; dz
0051 fXY[5][0] = -tl2; fXY[5][1] = h2; dz
0052 fXY[6][0] = tl2; fXY[6][1] = h2; dz
0053 fXY[7][0] = bl2; fXY[7][1] = -h2; dz
0054 }