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
4 changes: 3 additions & 1 deletion src/daq/src/LessSimpleDAQ2Proc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Processor::Result LessSimpleDAQ2Proc::DSEvent(DS::Root *ds) {
htArraySort; // hit time ...we are not using this either...

// get the information for 1 full event and put them in std::vectors
unsigned long Index=0;
for (int imcpmt = 0; imcpmt < mc->GetMCPMTCount(); imcpmt++) {
DS::MCPMT *mcpmt = mc->GetMCPMT(imcpmt);

Expand All @@ -49,9 +50,10 @@ Processor::Result LessSimpleDAQ2Proc::DSEvent(DS::Root *ds) {
tArraySort.push_back(mcpmt->GetMCPhoton(i)->GetFrontEndTime());
qArray.push_back(mcpmt->GetMCPhoton(i)->GetCharge());
idArray.push_back(mcpmt->GetID());
iArray.push_back(i);
iArray.push_back(Index);
phArray.push_back(mcpmt->GetMCPhotonCount());
htArray.push_back(mcpmt->GetMCPhoton(i)->GetHitTime());
Index++;
}
}
}
Expand Down