~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/py_cpp/optics/PyOpticsModel.cc

  • Committer: Durga Rajaram
  • Date: 2014-01-14 07:07:02 UTC
  • mfrom: (659.1.80 relcand)
  • Revision ID: durga@fnal.gov-20140114070702-2l1fuj1w6rraw7xe
Tags: MAUS-v0.7.6
MAUS-v0.7.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
    try {
184
184
        Json::Value* cards = Globals::GetConfigurationCards();
185
185
        // just gets deltas (dx, dy, ...) and polynomial order
186
 
        optics->model = new MAUS::PolynomialOpticsModel(*cards);
 
186
        optics->model = new MAUS::PolynomialOpticsModel(cards);
187
187
        // uses MAUS::Globals::MAUSGeant4Manager for geometry, etc
188
188
        optics->model->Build();
189
189
        is_built = true;  // done by constructor