~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/JsonCppProcessors/EMREventProcessor.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:
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"
17
18
#include "src/common_cpp/JsonCppProcessors/EMREventProcessor.hh"
18
19
 
19
20
namespace MAUS {
20
21
 
21
 
EMREventProcessor::EMREventProcessor() {
 
22
EMREventProcessor::EMREventProcessor()
 
23
      : _plane_hit_proc(new EMRPlaneHitProcessor) {
 
24
    RegisterValueBranch("emr_plane_hits", &_plane_hit_proc,
 
25
                        &EMREvent::GetEMRPlaneHitArray,
 
26
                        &EMREvent::SetEMRPlaneHitArray, false);
22
27
}
23
28
}  // namespace MAUS
24
29