Skip to content

Commit

Permalink
Add checks to ignore trigger channels (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
rory42edwards authored Jul 8, 2024
1 parent 2ff3e38 commit feaa352
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ bool LAPPDGausBaselineSubtraction::Execute(){
vector<Waveform<double>> Vfwavs;
int bi = (int)(channelno-LAPPDchannelOffset)/30;

// leave trigger channels unchanged
if (channelno == 1005 || channelno == 1035){
blsublappddata.insert(pair <int,vector<Waveform<double>>> (channelno,Vwavs));
continue;
}

//loop over all Waveforms
for(int i=0; i<Vwavs.size(); i++){
Waveform<double> bwav = Vwavs.at(i);
Expand Down

0 comments on commit feaa352

Please sign in to comment.