~jan.greis/maus/1811

« back to all changes in this revision

Viewing changes to src/common_cpp/JsonCppProcessors/EMRSpillDataProcessor.cc

  • Committer: Adam Dobbs
  • Date: 2016-01-13 11:31:12 UTC
  • mfrom: (659.2.18 release-candidate)
  • Revision ID: phuccj@gmail.com-20160113113112-bhbguupn50eyvd0z
Tags: MAUS-v1.4, MAUS-v1.4.0
MAUS-v1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 * along with MAUS.  If not, see <http://www.gnu.org/licenses/>.
15
15
 */
16
16
 
17
 
#include "src/common_cpp/JsonCppProcessors/EMRPlaneHitProcessor.hh"
18
 
#include "src/common_cpp/JsonCppProcessors/EMRSpillDataProcessor.hh"
 
17
#include "JsonCppProcessors/EMRSpillDataProcessor.hh"
19
18
 
20
19
namespace MAUS {
21
20
 
22
21
EMRSpillDataProcessor::EMRSpillDataProcessor()
23
 
      : _plane_hit_array_proc(new EMRPlaneHitProcessor) {
24
 
    RegisterValueBranch
25
 
          ("emr_plane_hits", &_plane_hit_array_proc, &EMRSpillData::GetEMRPlaneHitArray,
26
 
           &EMRSpillData::SetEMRPlaneHitArray, false);
27
 
}
28
 
}
29
 
 
 
22
      : _bar_hit_array_proc(new EMRBarHitProcessor),
 
23
        _event_track_array_proc(new EMREventTrackProcessor) {
 
24
    RegisterValueBranch
 
25
          ("bar_hits", &_bar_hit_array_proc, &EMRSpillData::GetEMRBarHitArray,
 
26
           &EMRSpillData::SetEMRBarHitArray, false);
 
27
    RegisterValueBranch
 
28
          ("event_tracks", &_event_track_array_proc, &EMRSpillData::GetEMREventTrackArray,
 
29
           &EMRSpillData::SetEMREventTrackArray, false);
 
30
}
 
31
} // namespace MAUS