File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Detectors/ITSMFT/ITS/tracking/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2525#include " SimulationDataFormat/DigitizationContext.h"
2626#include " Steer/MCKinematicsReader.h"
2727#include " ITSMFTBase/DPLAlpideParam.h"
28+ #include " DetectorsRaw/HBFUtils.h"
2829
2930#ifdef VTX_DEBUG
3031#include " TTree.h"
@@ -581,7 +582,7 @@ void VertexerTraits::addTruthSeedingVertices()
581582 const auto & ir = irs[eveId2colId[iEve]];
582583 if (!ir.isDummy ()) { // do we need this, is this for diffractive events?
583584 const auto & eve = mcReader.getMCEventHeader (iSrc, iEve);
584- int rofId = (ir .toLong () - roFrameBiasInBC) / roFrameLengthInBC;
585+ int rofId = ((ir - raw::HBFUtils::Instance (). getFirstSampledTFIR ()) .toLong () - roFrameBiasInBC) / roFrameLengthInBC;
585586 if (!vertices.contains (rofId)) {
586587 vertices[rofId] = bounded_vector<Vertex>(mMemoryPool .get ());
587588 }
You can’t perform that action at this time.
0 commit comments