8 eic->ip(-50.0)->width(1500)->AddEtaLine(0.0)->SetName(
"tracking-example");
10 eic->acceptance(-4.2, -1.0, 1.2, 4.2);
30 for(
unsigned nn=0; nn<5; nn++) {
53 for(
unsigned nn=0; nn<3; nn++)
56 fwd->add(
"TRACKER", 15 *
etm::cm)->trim(0.8, 1.0);
60 fwd->add(
"HM RICH", 110 *
etm::cm)->trim(0.8, 1.0);
61 for(
unsigned nn=0; nn<3; nn++)
75 for(
unsigned nn=0; nn<3; nn++)
78 for(
unsigned nn=0; nn<3; nn++)
81 bck->add(
"TRACKER", 60 *
etm::cm)->trim(1.0, 1.0);
94 const char *si =
"Si Tracker", *mpgd =
"MPGD";
96 const char *si =
"TRACKER", *mpgd = si;
98 eic->vtx()->get(si) ->stretch(
eic->bck()->get(
"Cherenkov"));
99 eic->vtx()->get(si) ->stretch(
eic->fwd()->get(
"HM RICH"));
102 for(
unsigned nn=0; nn<5; nn++) {
103 eic->mid()->get(mpgd, nn) ->stretch(
eic->bck()->get(mpgd), -20.*(4-nn) *
etm::cm);
104 eic->mid()->get(mpgd, nn) ->stretch(
eic->fwd()->get(mpgd), -20.*(4-nn) *
etm::cm);
107 eic->mid()->get(mpgd) ->stretch(
eic->bck()->get(mpgd));
108 eic->mid()->get(mpgd) ->stretch(
eic->fwd()->get(mpgd));
111 eic->mid()->get(
"HCal") ->stretch(
eic->bck()->get(
"HCal"));
112 eic->mid()->get(
"HCal") ->stretch(
eic->fwd()->get(
"HCal"));
114 eic->mid()->get(
"Cryostat") ->stretch(
eic->bck()->get(
"HCal"));
115 eic->mid()->get(
"EmCal") ->stretch(
eic->bck()->get(
"EmCal"));
119 eic->ApplyStandardTrimming();
124 eic->Export(
"tracking-example.stp");