Skip to content

Commit 741add6

Browse files
committed
add missing overrides
1 parent 839893c commit 741add6

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

reconstruction/alert/src/main/java/org/jlab/service/ahdc/AHDCEngine.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ public boolean init(Mode m) {
7373
return init();
7474
}
7575

76+
@Override
77+
public void detectorChanged(int run) {
78+
// FIXME: move geometry initialization here
79+
}
80+
7681
@Override
7782
public boolean init() {
7883

@@ -119,7 +124,7 @@ public boolean init() {
119124
int Run = -1;
120125

121126
@Override
122-
public boolean processDataEvent(DataEvent event) {
127+
public boolean processDataEventUser(DataEvent event) {
123128

124129
int runNo = 10; // needed here?
125130
int eventNo = 777; // same

reconstruction/alert/src/main/java/org/jlab/service/alert/ALERTEngine.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public ALERTEngine() {
6262
super("ALERT", "whit,ouillon,pilleux", "0.1");
6363
}
6464

65+
@Override
66+
public void detectorChanged(int run) {}
67+
6568
/**
6669
* ALERTEngine initialization.
6770
* Creates the RecoBankWriter and checks for various yaml flags.
@@ -90,7 +93,7 @@ public boolean init() {
9093
* </ul>
9194
*/
9295
@Override
93-
public boolean processDataEvent(DataEvent event) {
96+
public boolean processDataEventUser(DataEvent event) {
9497

9598
if (!event.hasBank("AHDC::adc"))
9699
return false;

reconstruction/alert/src/main/java/org/jlab/service/atof/ATOFEngine.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ public Detector getATOF() {
5757
int Run = -1;
5858

5959
@Override
60-
public boolean processDataEvent(DataEvent event) {
60+
public boolean processDataEventUser(DataEvent event) {
61+
6162
if (!event.hasBank("RUN::config")) {
6263
return true;
6364
}
@@ -127,6 +128,11 @@ public boolean processDataEvent(DataEvent event) {
127128
return true;
128129
}
129130

131+
@Override
132+
public void detectorChanged(int run) {
133+
// FIXME: move geometry initialization here
134+
}
135+
130136
@Override
131137
public boolean init() {
132138
rbc = new RecoBankWriter();

0 commit comments

Comments
 (0)