Changeset 254 in svn for trunk/src/VeryForward.cc
- Timestamp:
- Feb 8, 2009, 2:33:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VeryForward.cc
r252 r254 77 77 beamline1->fill(DET->RP_beam1Card,1,"IP5"); 78 78 beamline1->offsetElements(DET->RP_offsetEl_s,-DET->RP_offsetEl_x); 79 H_RomanPot * rp220_1 = new H_RomanPot("rp220_1",DET->RP_220_s,DET->RP_220_x* 1E6); // RP 220m, 2mm, beam 180 H_RomanPot * rp420_1 = new H_RomanPot("rp420_1",DET->RP_420_s,DET->RP_420_x* 1E6); // RP 420m, 4mm, beam 179 H_RomanPot * rp220_1 = new H_RomanPot("rp220_1",DET->RP_220_s,DET->RP_220_x*(1E6)); // RP 220m, 2mm, beam 1 80 H_RomanPot * rp420_1 = new H_RomanPot("rp420_1",DET->RP_420_s,DET->RP_420_x*(1E6)); // RP 420m, 4mm, beam 1 81 81 beamline1->add(rp220_1); 82 82 beamline1->add(rp420_1); … … 84 84 beamline2->fill(DET->RP_beam2Card,-1,"IP5"); 85 85 beamline2->offsetElements(DET->RP_offsetEl_s,+DET->RP_offsetEl_x); 86 H_RomanPot * rp220_2 = new H_RomanPot("rp220_2",DET->RP_220_s,DET->RP_220_x* 1E6);// RP 220m, 2mm, beam 287 H_RomanPot * rp420_2 = new H_RomanPot("rp420_2",DET->RP_420_s,DET->RP_420_x* 1E6);// RP 420m, 4mm, beam 286 H_RomanPot * rp220_2 = new H_RomanPot("rp220_2",DET->RP_220_s,DET->RP_220_x*(1E6));// RP 220m, 2mm, beam 2 87 H_RomanPot * rp420_2 = new H_RomanPot("rp420_2",DET->RP_420_s,DET->RP_420_x*(1E6));// RP 420m, 4mm, beam 2 88 88 beamline2->add(rp220_2); 89 89 beamline2->add(rp420_2); … … 141 141 p1.smearAng(); 142 142 p1.smearPos(); 143 p1.setPosition(p1.getX() -500.,p1.getY(),p1.getTX()-1*kickers_on*CRANG,p1.getTY(),0);143 p1.setPosition(p1.getX()+DET->RP_cross_x,p1.getY()+DET->RP_cross_y,p1.getTX()-1*kickers_on*DET->RP_cross_ang,p1.getTY(),0); 144 144 p1.set4Momentum(particle->Px,particle->Py,particle->Pz,particle->E); 145 145
Note:
See TracChangeset
for help on using the changeset viewer.