~mice-lcr/maus/end-of-emr-run

« back to all changes in this revision

Viewing changes to src/map/MapCppTrackerDigits/MapCppTrackerDigits.hh

  • Committer: Durga Rajaram
  • Date: 2013-08-27 04:36:50 UTC
  • mfrom: (659.1.73 rc)
  • Revision ID: durga@fnal.gov-20130827043650-me0hgsbzlzikdoik
Tags: MAUS-v0.7, MAUS-v0.7.0
MAUS-v0.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
class MapCppTrackerDigits {
52
52
 public:
 
53
  MapCppTrackerDigits();
 
54
 
 
55
  ~MapCppTrackerDigits();
 
56
 
53
57
  /** Sets up the worker
54
58
   *
55
59
   *  \param argJsonConfigDocument a JSON document with
71
75
   */
72
76
  std::string process(std::string document);
73
77
 
74
 
  void save_to_json(MAUS::Spill &spill);
 
78
  void read_in_json(std::string json_data);
 
79
 
 
80
  void save_to_json(MAUS::Spill *spill);
75
81
 
76
82
 private:
77
83
  /// This should be the classname
79
85
  /// This will contain the configuration
80
86
  Json::Value _configJSON;
81
87
  /// This will contain the root value after parsing
82
 
  Json::Value root;
 
88
  Json::Value _json_root;
 
89
  Json::Value* _spill_json;
 
90
  Spill* _spill_cpp;
83
91
  ///  JsonCpp setup
84
92
  Json::Reader reader;
85
93
  ///  Cut value for npe.