Skip to content
Snippets Groups Projects

Fix to use single CellID in data model

Merged Whitney Armstrong requested to merge cellid into master
3 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -111,7 +111,7 @@ namespace Jug {
@@ -111,7 +111,7 @@ namespace Jug {
eic::RawCalorimeterHitCollection* rawHitCollection = new eic::RawCalorimeterHitCollection();
eic::RawCalorimeterHitCollection* rawHitCollection = new eic::RawCalorimeterHitCollection();
for(const auto& ahit : *simhits) {
for(const auto& ahit : *simhits) {
//std::cout << ahit << "\n";
//std::cout << ahit << "\n";
eic::RawCalorimeterHit rawhit((long long)ahit.cellID(),
eic::RawCalorimeterHit rawhit((long long)ahit.cellID(),
(long long)ahit.energyDeposit() * 100, 0);
(long long)ahit.energyDeposit() * 100, 0);
rawhits->push_back(rawhit);
rawhits->push_back(rawhit);
}
}
Loading