@@ -1292,6 +1292,7 @@ class TrackingNtuple : public edm::one::EDAnalyzer<edm::one::SharedResources> {
12921292 ph2_radL; // http://cmslxr.fnal.gov/lxr/source/DataFormats/GeometrySurface/interface/MediumProperties.h
12931293 std::vector<float > ph2_bbxi;
12941294 std::vector<uint64_t > ph2_usedMask;
1295+ std::vector<size_t > ph2_clustSize;
12951296
12961297 // //////////////////
12971298 // invalid (missing/inactive/etc) hits
@@ -1882,6 +1883,7 @@ TrackingNtuple::TrackingNtuple(const edm::ParameterSet& iConfig)
18821883 t->Branch (" ph2_radL" , &ph2_radL);
18831884 t->Branch (" ph2_bbxi" , &ph2_bbxi);
18841885 t->Branch (" ph2_usedMask" , &ph2_usedMask);
1886+ t->Branch (" ph2_clustSize" , &ph2_clustSize);
18851887 }
18861888 // invalid hits
18871889 t->Branch (" inv_isBarrel" , &inv_isBarrel);
@@ -2309,6 +2311,7 @@ void TrackingNtuple::clearVariables() {
23092311 ph2_radL.clear ();
23102312 ph2_bbxi.clear ();
23112313 ph2_usedMask.clear ();
2314+ ph2_clustSize.clear ();
23122315 // invalid hits
23132316 inv_isBarrel.clear ();
23142317 inv_detId.clear ();
@@ -3376,6 +3379,7 @@ void TrackingNtuple::fillPhase2OTHits(const edm::Event& iEvent,
33763379 ph2_radL.push_back (hit->surface ()->mediumProperties ().radLen ());
33773380 ph2_bbxi.push_back (hit->surface ()->mediumProperties ().xi ());
33783381 ph2_usedMask.push_back (ph2OTUsedMask (hit->firstClusterRef ().key ()));
3382+ ph2_clustSize.push_back (hit->cluster ()->size ());
33793383
33803384 LogTrace (" TrackingNtuple" ) << " phase2 OT cluster=" << key << " subdId=" << hitId.subdetId () << " lay=" << lay
33813385 << " rawId=" << hitId.rawId () << " pos =" << hit->globalPosition ();
0 commit comments