9 for (
int id = 0;
id < digi.samples();
id++) {
10 if (digi[
id].
adc() > 0)
23 bool overflow =
false;
26 for (
int isample = 0; isample < digi.samples(); ++isample) {
28 if (digi[isample].
adc() > 0 && !digi[isample].ok())
36 coder.adc2fC(digi,
result);
39 for (
int isample = 0; isample < digi.samples(); ++isample) {
40 if (digi[isample].
ok())
45 for (
int isample = 0; isample < digi.samples(); ++isample) {
47 if (digi[isample].soi())
48 result.setPresamples(isample);
62 for (
typename COLLECTION::const_iterator it = digis->begin(); it != digis->end(); ++it) {
66 int startingCapId =
df[0].capid();
79 for (
int id = 0;
id < digi.samples();
id++) {
80 if (digi[
id].
adc() > 0)
93 bool overflow =
false;
96 for (
int isample = 0; isample < digi.samples(); ++isample) {
97 if (digi[isample].tdc() == 1) {
107 coder.adc2fC(digi,
result);
110 for (
int isample = 0; isample < digi.samples(); ++isample) {
111 if (digi[isample].tdc() == 0)
116 for (
int isample = 0; isample < digi.samples(); ++isample) {
118 if (digi[isample].soi())
119 result.setPresamples(isample);
133 for (
typename COLLECTION::const_iterator it = digis->begin(); it != digis->end(); ++it) {
137 int startingCapId =
df[0].capid();