31 std::shared_ptr< std::ifstream> magfile
42 elements.assign(magnets.begin(), magnets.end());
43 elements.push_back(endPlane);
44 elements.insert(elements.end(), collimators.begin(), collimators.end());
46 elements.sort(absZGreater< IBeamElement::ConstPtr_t >);
57 (*current)->frontFace(),
78 Beamline beamline(elements.begin(), elements.end());
80 double pbeam = configData.
pbeam0;
82 std::shared_ptr<IParticle>(
new Particle(0., 0., 0., 0., 0., pbeam) ):
83 std::shared_ptr<IParticle>(
new Particle(0., 0., 0., 0., 0., -1.*pbeam) );