File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -1141,18 +1141,16 @@ void AODProducerWorkflowDPL::fillMCTrackLabelsTable(MCTrackLabelCursorType& mcTr
11411141 }
11421142 if (trackIndex.includesDet (DetID::ITS)) {
11431143 auto itsGID = data.getITSContributorGID (trackIndex);
1144- if (itsGID.isIndexSet ()) {
1145- auto itsSource = itsGID.getSource ();
1146- if (itsSource == GIndex::ITS) {
1147- auto & itsTrack = data.getITSTrack (itsGID);
1148- for (unsigned int iL = 0 ; iL < 7 ; ++iL) {
1149- if (itsTrack.isFakeOnLayer (iL)) {
1150- labelHolder.labelMask |= (0x1 << iL);
1151- }
1144+ auto itsSource = itsGID.getSource ();
1145+ if (itsSource == GIndex::ITS) {
1146+ auto & itsTrack = data.getITSTrack (itsGID);
1147+ for (unsigned int iL = 0 ; iL < 7 ; ++iL) {
1148+ if (itsTrack.isFakeOnLayer (iL)) {
1149+ labelHolder.labelMask |= (0x1 << iL);
11521150 }
1153- } else if (itsSource == GIndex::ITSAB) {
1154- labelHolder.labelMask |= (data.getTrackMCLabel (itsGID).isFake () << 12 );
11551151 }
1152+ } else if (itsSource == GIndex::ITSAB) {
1153+ labelHolder.labelMask |= (data.getTrackMCLabel (itsGID).isFake () << 12 );
11561154 }
11571155 }
11581156
You can’t perform that action at this time.
0 commit comments