Skip to content
Snippets Groups Projects
Commit b68688a5 authored by Carl Gwilliam's avatar Carl Gwilliam
Browse files

Correctly fill identifier

parent 2ae3ba89
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,8 @@ if __name__ == "__main__":
ConfigFlags.GeoModel.Align.Dynamic = False
ConfigFlags.Input.Files = [
"/bundle/data/FASER/LC_output/BatchOutput/TestBeam/TB.Elec.8.r5.e100.SIM.root"
"my.HITS.pool.root"
#"/bundle/data/FASER/LC_output/BatchOutput/TestBeam/TB.Elec.8.r5.e100.SIM.root"
]
......
......@@ -21,11 +21,12 @@ StatusCode IPseudoSimToWaveformRecTool::reconstruct(const CONT* hitCollection,
xAOD::WaveformHit* hit = new xAOD::WaveformHit();
container->push_back(hit);
hit->set_channel(id.first);
hit->set_id(id.first);
hit->set_channel(0);
hit->set_peak(0);
hit->set_mean(0);
hit->set_width(0);
hit->set_integral(id.second); // This should be updated to set the ID when exists
hit->set_integral(id.second);
hit->set_localtime(0);
hit->set_raw_peak(0);
hit->set_raw_integral(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment