@@ -953,6 +953,31 @@ void TrackMCStudy::fillMCClusterInfo(const o2::globaltracking::RecoContainer& re
953953 mctr.pattITSCl |= 0x1 << o2::itsmft::ChipMappingITS::getLayer (ITSClusters[icl].getChipID ());
954954 }
955955 }
956+
957+ for (auto & entry : mSelMCTracks ) { // count ITS reconstructable tracks
958+ const auto & trackFam = entry.second ;
959+ const auto & mctr = trackFam.mcTrackInfo ;
960+ if (mctr.getLowestITSLayer () == 0 && mctr.getNITSClusCont () > 3 ) { // has 4 innermost layers
961+ auto & mcev = mMCVtVec [mctr.label .getEventID ()];
962+ mcev.nTrackSelRCBL0 ++;
963+ if (mctr.isPrimary ()) {
964+ mcev.nTrackSelRCBL0P ++;
965+ }
966+ if (trackFam.entITSFound >= 0 ) {
967+ mcev.nTrackRecRCBL0 ++;
968+ }
969+
970+ if (mctr.maxTPCRow - mctr.minTPCRow >= params.nMinTPCRowSpan ) {
971+ mcev.nTrackSelRCBL1 ++;
972+ if (mctr.isPrimary ()) {
973+ mcev.nTrackSelRCBL1P ++;
974+ }
975+ if (trackFam.entITSTPC >= 0 ) {
976+ mcev.nTrackRecRCBL1 ++;
977+ }
978+ }
979+ }
980+ }
956981}
957982
958983bool TrackMCStudy::propagateToRefX (o2::track::TrackParCov& trcTPC, o2::track::TrackParCov& trcITS)
@@ -1183,6 +1208,9 @@ bool TrackMCStudy::addMCParticle(const MCTrack& mcPart, const o2::MCCompLabel& l
11831208 }
11841209 if (mcPart.isPrimary () && mcReader.getNEvents (lb.getSourceID ()) == mMCVtVec .size ()) {
11851210 mMCVtVec [lb.getEventID ()].nTrackSel ++;
1211+ if (mcPart.GetPt () > 0.1 ) {
1212+ mMCVtVec [lb.getEventID ()].nTrackSel100 ++;
1213+ }
11861214 }
11871215 if (mVerbose > 1 ) {
11881216 LOGP (info, " Adding charged MC pdg={} {} " , mcPart.GetPdgCode (), lb.asString ());
0 commit comments