1
/* This file is part of MAUS: http://micewww.pp.rl.ac.uk/projects/maus
3
* MAUS is free software: you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation, either version 3 of the License, or
6
* (at your option) any later version.
8
* MAUS is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with MAUS. If not, see <http://www.gnu.org/licenses/>.
17
#include "src/common_cpp/JsonCppProcessors/CkovAProcessor.hh"
21
CkovAProcessor::CkovAProcessor()
22
: _position_min_0_proc(), _arrival_time_2_proc(), _arrival_time_3_proc(),
23
_arrival_time_0_proc(), _arrival_time_1_proc(), _pulse_1_proc(),
24
_pulse_0_proc(), _pulse_3_proc(), _pulse_2_proc(), _coincidences_proc(),
25
_position_min_2_proc(), _position_min_3_proc(), _total_charge_proc(),
26
_position_min_1_proc(), _part_event_number_proc(), _number_of_pes_proc() {
28
("position_min_0", &_position_min_0_proc, &CkovA::GetPositionMin0,
29
&CkovA::SetPositionMin0, true);
31
("arrival_time_2", &_arrival_time_2_proc, &CkovA::GetArrivalTime2,
32
&CkovA::SetArrivalTime2, true);
34
("arrival_time_3", &_arrival_time_3_proc, &CkovA::GetArrivalTime3,
35
&CkovA::SetArrivalTime3, true);
37
("arrival_time_0", &_arrival_time_0_proc, &CkovA::GetArrivalTime0,
38
&CkovA::SetArrivalTime0, true);
40
("arrival_time_1", &_arrival_time_1_proc, &CkovA::GetArrivalTime1,
41
&CkovA::SetArrivalTime1, true);
43
("pulse_1", &_pulse_1_proc, &CkovA::GetPulse1,
44
&CkovA::SetPulse1, true);
46
("pulse_0", &_pulse_0_proc, &CkovA::GetPulse0,
47
&CkovA::SetPulse0, true);
49
("pulse_3", &_pulse_3_proc, &CkovA::GetPulse3,
50
&CkovA::SetPulse3, true);
52
("pulse_2", &_pulse_2_proc, &CkovA::GetPulse2,
53
&CkovA::SetPulse2, true);
55
("coincidences", &_coincidences_proc, &CkovA::GetCoincidences,
56
&CkovA::SetCoincidences, true);
58
("position_min_2", &_position_min_2_proc, &CkovA::GetPositionMin2,
59
&CkovA::SetPositionMin2, true);
61
("position_min_3", &_position_min_3_proc, &CkovA::GetPositionMin3,
62
&CkovA::SetPositionMin3, true);
64
("total_charge", &_total_charge_proc, &CkovA::GetTotalCharge,
65
&CkovA::SetTotalCharge, true);
67
("position_min_1", &_position_min_1_proc, &CkovA::GetPositionMin1,
68
&CkovA::SetPositionMin1, true);
70
("part_event_number", &_part_event_number_proc, &CkovA::GetPartEventNumber,
71
&CkovA::SetPartEventNumber, true);
73
("number_of_pes", &_number_of_pes_proc, &CkovA::GetNumberOfPes,
74
&CkovA::SetNumberOfPes, true);