Skip to content

Commit 93a65eb

Browse files
committed
* if a beam photon hits in between a pair of the tagger counters,
don't save the tage as a hit in counter 0, that makes no sense. [rtj]
1 parent ecec9e9 commit 93a65eb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/GlueXPseudoDetectorTAG.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ int GlueXPseudoDetectorTAG::addTaggerPhoton(const G4Event *event,
132132
E = (MICRO_CHANNEL_EMIN[i] + MICRO_CHANNEL_EMAX[i]) / 2;
133133
micro_channel = MICRO_CHANNEL_NUMBER[i];
134134
}
135-
else {
136-
micro_channel = 0;
137-
}
138135
}
139136
else if (E < HODO_LIMITS_ERANGE[0] && E > HODO_LIMITS_ERANGE[1]) {
140137
int i = HODO_NCHANNELS * (E - HODO_LIMITS_ERANGE[0]) /
@@ -147,9 +144,6 @@ int GlueXPseudoDetectorTAG::addTaggerPhoton(const G4Event *event,
147144
E = (HODO_CHANNEL_EMIN[i] + HODO_CHANNEL_EMAX[i]) / 2;
148145
hodo_channel = HODO_CHANNEL_NUMBER[i];
149146
}
150-
else {
151-
hodo_channel = 0;
152-
}
153147
}
154148
if (micro_channel < 0 && hodo_channel < 0)
155149
return false;

0 commit comments

Comments
 (0)