Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions UserTools/ANNIEEventTreeMaker/ANNIEEventTreeMaker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<vector<LAPPDPulse>> stripPulses = it->second;

vector<LAPPDPulse> pulse0 = stripPulses.at(0);
Expand Down Expand Up @@ -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<LAPPDHit> stripHits = it->second;
for (int i = 0; i < stripHits.size(); i++)
{
Expand Down Expand Up @@ -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<double> waveforms = it->second.at(0);
vector<double> wav = *waveforms.GetSamples();
vector<double> wave = wav;
Expand Down
Loading