22
22
EMREventProcessor::EMREventProcessor()
23
: _plane_hit_proc(new EMRPlaneHitProcessor) {
24
RegisterValueBranch("emr_plane_hits", &_plane_hit_proc,
25
&EMREvent::GetEMRPlaneHitArray,
26
&EMREvent::SetEMRPlaneHitArray, false);
23
: _plane_hit_array_proc(new EMRPlaneHitProcessor) {
25
("emr_plane_hits", &_plane_hit_array_proc, &EMREvent::GetEMRPlaneHitArray,
26
&EMREvent::SetEMRPlaneHitArray, false );
28
("initial_trigger", &_bool_proc, &EMREvent::GetInitialTrigger,
29
&EMREvent::SetInitialTrigger, false);
31
("has_primary", &_bool_proc, &EMREvent::GetHasPrimary,
32
&EMREvent::SetHasPrimary, false);
34
("range_primary", &_double_proc, &EMREvent::GetRangePrimary,
35
&EMREvent::SetRangePrimary, false);
37
("has_secondary", &_bool_proc, &EMREvent::GetHasSecondary,
38
&EMREvent::SetHasSecondary, false);
40
("range_secondary", &_double_proc, &EMREvent::GetRangeSecondary,
41
&EMREvent::SetRangeSecondary, false);
43
("secondary_to_primary_track_distance", &_double_proc,
44
&EMREvent::GetSecondaryToPrimaryTrackDistance,
45
&EMREvent::SetSecondaryToPrimaryTrackDistance, false);
47
("total_charge_MA", &_double_proc, &EMREvent::GetTotalChargeMA,
48
&EMREvent::SetTotalChargeMA, false);
50
("charge_ratio_MA", &_double_proc, &EMREvent::GetChargeRatioMA,
51
&EMREvent::SetChargeRatioMA, false);
53
("total_charge_SA", &_double_proc, &EMREvent::GetTotalChargeSA,
54
&EMREvent::SetTotalChargeSA, false);
56
("charge_ratio_SA", &_double_proc, &EMREvent::GetChargeRatioSA,
57
&EMREvent::SetChargeRatioSA, false);
28
59
} // namespace MAUS