diff --git a/UserTools/ANNIEEventTreeMaker/ANNIEEventTreeMaker.cpp b/UserTools/ANNIEEventTreeMaker/ANNIEEventTreeMaker.cpp index 5c6dc815d..79b8f9f2d 100644 --- a/UserTools/ANNIEEventTreeMaker/ANNIEEventTreeMaker.cpp +++ b/UserTools/ANNIEEventTreeMaker/ANNIEEventTreeMaker.cpp @@ -1523,6 +1523,11 @@ void ANNIEEventTreeMaker::FillLAPPDPulse() for (it = lappdPulses.begin(); it != lappdPulses.end(); it++) { int stripno = it->first; + //int channelNum = it->first; + //Channel *chan = geom->GetChannel(channelNum); + //int stripno = chan->GetStripNum(); + //int stripSide = chan->GetStripSide(); + vector> stripPulses = it->second; vector pulse0 = stripPulses.at(0); @@ -1594,6 +1599,11 @@ void ANNIEEventTreeMaker::FillLAPPDHit() for (it = lappdHits.begin(); it != lappdHits.end(); it++) { int stripno = it->first; + //int channelNum = it->first; + //Channel *chan = geom->GetChannel(channelNum); + //int stripno = chan->GetStripNum(); + + vector stripHits = it->second; for (int i = 0; i < stripHits.size(); i++) { @@ -2675,8 +2685,10 @@ void ANNIEEventTreeMaker::FillLAPPDWaveform() // get the waveforms from channel number unsigned long channel = it->first; channel = channel % 1000 + 1000; - if ((channel % 1000) % 30 == 5) - continue; + + // if ((channel % 1000) % 30 == 5) + // continue; + Waveform waveforms = it->second.at(0); vector wav = *waveforms.GetSamples(); vector wave = wav;