CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
MuonCosmicCompatibilityFiller Class Reference

#include <MuonCosmicCompatibilityFiller.h>

Public Member Functions

reco::MuonCosmicCompatibility fillCompatibility (const reco::Muon &muon, edm::Event &, const edm::EventSetup &)
 fill cosmic compatibility variables More...
 
 MuonCosmicCompatibilityFiller (const edm::ParameterSet &, edm::ConsumesCollector &)
 
 ~MuonCosmicCompatibilityFiller ()
 

Private Member Functions

unsigned int backToBack2LegCosmic (const edm::Event &, const reco::Muon &) const
 return cosmic-likeness based on presence of a track in opp side: 0 == no matching opp tracks More...
 
bool checkMuonID (const reco::Muon &) const
 tag a muon as cosmic based on the muonID information More...
 
bool checkMuonSegments (const reco::Muon &muon) const
 tag a muon as cosmic based on segment compatibility and the number of segment matches More...
 
float combinedCosmicID (const edm::Event &, const edm::EventSetup &iSetup, const reco::Muon &, bool CheckMuonID, bool checkVertex) const
 combined cosmic-likeness: 0 == not cosmic-like More...
 
unsigned int eventActivity (const edm::Event &, const reco::Muon &) const
 returns cosmic-likeness based on the event activity information: tracker track multiplicity and vertex quality. 0 == cosmic-like More...
 
bool isOverlappingMuon (const edm::Event &, const edm::EventSetup &iSetup, const reco::Muon &) const
 returns cosmic-likeness based on overlap with traversing cosmic muon (only muon/STA hits are used) More...
 
float muonTiming (const edm::Event &iEvent, const reco::Muon &muon, bool isLoose) const
 check muon time (DT and CSC) information: 0 == prompt-like More...
 
unsigned int nMuons (const edm::Event &) const
 get number of muons in the vent More...
 
unsigned int pvMatches (const edm::Event &, const reco::Muon &, bool) const
 return cosmic-likeness based on the 2D impact parameters (dxy, dz wrt to PV). 0 == cosmic-like More...
 

Private Attributes

double angleThreshold_
 
double corrTimeNeg_
 
double corrTimePos_
 
edm::EDGetTokenT< reco::MuonCollectioncosmicToken_
 
double deltaPt_
 
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecordgeometryToken_
 
double hIpTrdxy_
 
double hIpTrvProb_
 
edm::InputTag inputCosmicMuonCollection_
 
std::vector< edm::InputTaginputMuonCollections_
 
std::vector< edm::InputTaginputTrackCollections_
 
edm::InputTag inputVertexCollection_
 
double ipThreshold_
 
double largedxy_
 
double largedxyMult_
 
double maxdxyLoose_
 
double maxdxyLooseMult_
 
double maxdxyTight_
 
double maxdxyTightMult_
 
double maxdzLoose_
 
double maxdzLooseMult_
 
double maxdzTight_
 
double maxdzTightMult_
 
double maxvertRho_
 
double maxvertZ_
 
double minvProb_
 
std::vector< edm::EDGetTokenT< reco::MuonCollection > > muonTokens_
 
int nChamberMatches_
 
unsigned int nTrackThreshold_
 
double offTimeNegLoose_
 
double offTimeNegLooseMult_
 
double offTimeNegTight_
 
double offTimeNegTightMult_
 
double offTimePosLoose_
 
double offTimePosLooseMult_
 
double offTimePosTight_
 
double offTimePosTightMult_
 
double segmentComp_
 
double sharedFrac_
 
int sharedHits_
 
std::vector< edm::EDGetTokenT< reco::TrackCollection > > trackTokens_
 
edm::EDGetTokenT< reco::VertexCollectionvertexToken_
 

Detailed Description

Description: class for cosmic muon identification

Author
: A. Everett, Purdue University
: A. Svyatkovskiy, Purdue University
: H.D. Yoo, Purdue University

Definition at line 43 of file MuonCosmicCompatibilityFiller.h.

Constructor & Destructor Documentation

◆ MuonCosmicCompatibilityFiller()

MuonCosmicCompatibilityFiller::MuonCosmicCompatibilityFiller ( const edm::ParameterSet iConfig,
edm::ConsumesCollector iC 
)

Definition at line 43 of file MuonCosmicCompatibilityFiller.cc.

References angleThreshold_, edm::ConsumesCollector::consumes(), corrTimeNeg_, corrTimePos_, cosmicToken_, deltaPt_, edm::ConsumesCollector::esConsumes(), geometryToken_, edm::ParameterSet::getParameter(), hIpTrdxy_, hIpTrvProb_, mps_fire::i, inputCosmicMuonCollection_, inputMuonCollections_, inputTrackCollections_, inputVertexCollection_, ipThreshold_, largedxy_, largedxyMult_, maxdxyLoose_, maxdxyLooseMult_, maxdxyTight_, maxdxyTightMult_, maxdzLoose_, maxdzLooseMult_, maxdzTight_, maxdzTightMult_, maxvertRho_, maxvertZ_, minvProb_, muonTokens_, nChamberMatches_, offTimeNegLoose_, offTimeNegLooseMult_, offTimeNegTight_, offTimeNegTightMult_, offTimePosLoose_, offTimePosLooseMult_, offTimePosTight_, offTimePosTightMult_, segmentComp_, sharedFrac_, sharedHits_, trackTokens_, and vertexToken_.

45  : inputMuonCollections_(iConfig.getParameter<std::vector<edm::InputTag> >("InputMuonCollections")),
46  inputTrackCollections_(iConfig.getParameter<std::vector<edm::InputTag> >("InputTrackCollections")),
47  inputCosmicMuonCollection_(iConfig.getParameter<edm::InputTag>("InputCosmicMuonCollection")),
48  inputVertexCollection_(iConfig.getParameter<edm::InputTag>("InputVertexCollection")) {
49  //kinematic vars
50  angleThreshold_ = iConfig.getParameter<double>("angleCut");
51  deltaPt_ = iConfig.getParameter<double>("deltaPt");
52  //time
53  offTimePosTightMult_ = iConfig.getParameter<double>("offTimePosTightMult");
54  offTimeNegTightMult_ = iConfig.getParameter<double>("offTimeNegTightMult");
55  offTimePosTight_ = iConfig.getParameter<double>("offTimePosTight");
56  offTimeNegTight_ = iConfig.getParameter<double>("offTimeNegTight");
57  offTimePosLooseMult_ = iConfig.getParameter<double>("offTimePosLooseMult");
58  offTimeNegLooseMult_ = iConfig.getParameter<double>("offTimeNegLooseMult");
59  offTimePosLoose_ = iConfig.getParameter<double>("offTimePosLoose");
60  offTimeNegLoose_ = iConfig.getParameter<double>("offTimeNegLoose");
61  corrTimeNeg_ = iConfig.getParameter<double>("corrTimeNeg");
62  corrTimePos_ = iConfig.getParameter<double>("corrTimePos");
63  //rechits
64  sharedHits_ = iConfig.getParameter<int>("sharedHits");
65  sharedFrac_ = iConfig.getParameter<double>("sharedFrac");
66  ipThreshold_ = iConfig.getParameter<double>("ipCut");
67  //segment comp, matches
68  nChamberMatches_ = iConfig.getParameter<int>("nChamberMatches");
69  segmentComp_ = iConfig.getParameter<double>("segmentComp");
70  //ip, vertex
71  maxdzLooseMult_ = iConfig.getParameter<double>("maxdzLooseMult");
72  maxdxyLooseMult_ = iConfig.getParameter<double>("maxdxyLooseMult");
73  maxdzTightMult_ = iConfig.getParameter<double>("maxdzTightMult");
74  maxdxyTightMult_ = iConfig.getParameter<double>("maxdxyTightMult");
75  maxdzLoose_ = iConfig.getParameter<double>("maxdzLoose");
76  maxdxyLoose_ = iConfig.getParameter<double>("maxdxyLoose");
77  maxdzTight_ = iConfig.getParameter<double>("maxdzTight");
78  maxdxyTight_ = iConfig.getParameter<double>("maxdxyTight");
79  largedxyMult_ = iConfig.getParameter<double>("largedxyMult");
80  largedxy_ = iConfig.getParameter<double>("largedxy");
81  hIpTrdxy_ = iConfig.getParameter<double>("hIpTrdxy");
82  hIpTrvProb_ = iConfig.getParameter<double>("hIpTrvProb");
83  minvProb_ = iConfig.getParameter<double>("minvProb");
84  maxvertZ_ = iConfig.getParameter<double>("maxvertZ");
85  maxvertRho_ = iConfig.getParameter<double>("maxvertRho");
86  // nTrackThreshold_ = iConfig.getParameter<unsigned int>("nTrackThreshold");
87 
88  for (unsigned int i = 0; i < inputMuonCollections_.size(); ++i)
90  for (unsigned int i = 0; i < inputTrackCollections_.size(); ++i)
92 
96 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > geometryToken_
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
std::vector< edm::EDGetTokenT< reco::TrackCollection > > trackTokens_
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
edm::EDGetTokenT< reco::MuonCollection > cosmicToken_
std::vector< edm::EDGetTokenT< reco::MuonCollection > > muonTokens_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
std::vector< edm::InputTag > inputTrackCollections_
std::vector< edm::InputTag > inputMuonCollections_

◆ ~MuonCosmicCompatibilityFiller()

MuonCosmicCompatibilityFiller::~MuonCosmicCompatibilityFiller ( )

Definition at line 98 of file MuonCosmicCompatibilityFiller.cc.

98 {}

Member Function Documentation

◆ backToBack2LegCosmic()

unsigned int MuonCosmicCompatibilityFiller::backToBack2LegCosmic ( const edm::Event iEvent,
const reco::Muon muon 
) const
private

return cosmic-likeness based on presence of a track in opp side: 0 == no matching opp tracks

Definition at line 211 of file MuonCosmicCompatibilityFiller.cc.

References angleThreshold_, deltaPt_, muonid::findOppositeTrack(), iEvent, mps_fire::result, HLT_2022v12_cff::track, and trackTokens_.

Referenced by combinedCosmicID(), and fillCompatibility().

212  {
213  unsigned int result = 0; //no partners - collision
215  if (muon.isGlobalMuon())
216  track = muon.innerTrack();
217  else if (muon.isTrackerMuon())
218  track = muon.track();
219  else if (muon.isStandAloneMuon() || muon.isRPCMuon() || muon.isGEMMuon() || muon.isME0Muon())
220  return false;
221 
222  for (unsigned int iColl = 0; iColl < trackTokens_.size(); ++iColl) {
224  iEvent.getByToken(trackTokens_[iColl], trackHandle);
225  if (muonid::findOppositeTrack(trackHandle, *track, angleThreshold_, deltaPt_).isNonnull()) {
226  result++;
227  }
228  } //loop over track collections
229 
230  return result;
231 }
reco::TrackRef findOppositeTrack(const edm::Handle< reco::TrackCollection > &collection, const reco::Track &muon, double angleMatch=0.01, double momentumMatch=0.05)
std::vector< edm::EDGetTokenT< reco::TrackCollection > > trackTokens_
int iEvent
Definition: GenABIO.cc:224

◆ checkMuonID()

bool MuonCosmicCompatibilityFiller::checkMuonID ( const reco::Muon imuon) const
private

tag a muon as cosmic based on the muonID information

Definition at line 618 of file MuonCosmicCompatibilityFiller.cc.

References muon::GlobalMuonPromptTight, muon::isGoodMuon(), mps_fire::result, and muon::TMOneStationLoose.

618  {
619  bool result = false;
620  // initial set up using Jordan's study: GlobalMuonPromptTight + TMOneStationLoose
622  result = true;
623 
624  return result;
625 }
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call

◆ checkMuonSegments()

bool MuonCosmicCompatibilityFiller::checkMuonSegments ( const reco::Muon muon) const
private

tag a muon as cosmic based on segment compatibility and the number of segment matches

Definition at line 627 of file MuonCosmicCompatibilityFiller.cc.

References nChamberMatches_, reco::Muon::numberOfMatches(), mps_fire::result, segmentComp_, and muon::segmentCompatibility().

627  {
628  bool result = false;
629  if (imuon.numberOfMatches() < nChamberMatches_ && muon::segmentCompatibility(imuon) < segmentComp_)
630  result = true;
631 
632  return result;
633 }
float segmentCompatibility(const reco::Muon &muon, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)

◆ combinedCosmicID()

float MuonCosmicCompatibilityFiller::combinedCosmicID ( const edm::Event iEvent,
const edm::EventSetup iSetup,
const reco::Muon muon,
bool  CheckMuonID,
bool  checkVertex 
) const
private

combined cosmic-likeness: 0 == not cosmic-like

Definition at line 488 of file MuonCosmicCompatibilityFiller.cc.

References backToBack2LegCosmic(), eventActivity(), iEvent, isOverlappingMuon(), muonTiming(), pvMatches(), and mps_fire::result.

Referenced by fillCompatibility().

492  {
493  float result = 0.0;
494 
495  // return >=1 = identify as cosmic muon (the more like cosmics, the higher is the number)
496  // return 0.0 = identify as collision muon
497  if (muon.isGlobalMuon()) {
498  unsigned int cosmicVertex = eventActivity(iEvent, muon);
499  bool isOverlapping = isOverlappingMuon(iEvent, iSetup, muon);
500  unsigned int looseIp = pvMatches(iEvent, muon, true);
501  unsigned int tightIp = pvMatches(iEvent, muon, false);
502  float looseTime = muonTiming(iEvent, muon, true);
503  float tightTime = muonTiming(iEvent, muon, false);
504  unsigned int backToback = backToBack2LegCosmic(iEvent, muon);
505  //bool cosmicSegment = checkMuonSegments(muon);
506 
507  //short cut to reject cosmic event
508  if (checkVertex && cosmicVertex == 0)
509  return 10.0;
510 
511  // compatibility (0 - 10)
512  // weight is assigned by the performance of individual module
513  // btob: ~90% eff / ~0% misid
514  // ip: ~90% eff / ~0% misid
515  // time: ~30% eff / ~0% misid
516  double weight_btob = 2.0;
517  double weight_ip = 2.0;
518  double weight_time = 1.0;
519  double weight_overlap = 0.5;
520 
521  // collision muon should have compatibility < 4 (0 - 4)
522  // cosmic muon should have compatibility >= 4 (4 - 10)
523 
524  // b-to-b (max comp.: 4.0)
525  if (backToback >= 1) {
526  //in this case it is cosmic for sure
527  result += weight_btob * 2.;
528  if (tightIp == 1) {
529  // check with other observables to reduce mis-id (subtract compatibilities)
530  if (looseIp == 1) {
531  if (backToback < 2)
532  result -= weight_btob * 0.5;
533  }
534  }
535  }
536 
537  // ip (max comp.: 4.0)
538  if (tightIp == 0) {
539  //in this case it is cosmic for sure
540  result += weight_ip * 2.0;
541  if (backToback == 0) {
542  // check with other observables to reduce mis-id (subtract compatibilities)
543  if (tightTime == 0) {
544  if (looseTime == 0 && !isOverlapping)
545  result -= weight_ip * 1.0;
546  }
547  }
548  } else if (tightIp >= 2) {
549  // in this case it is almost collision-like (reduce compatibility)
550  // if multi pvs: comp = -2.0
551  if (backToback >= 1)
552  result -= weight_ip * 1.0;
553  }
554 
555  // timing (max comp.: 2.0)
556  if (tightTime > 0) {
557  // bonus track
558  if (looseTime > 0) {
559  if (backToback >= 1) {
560  if (tightIp == 0)
561  result += weight_time * tightTime;
562  else if (looseIp == 0)
563  result += weight_time * 0.25;
564  }
565  } else {
566  if (backToback >= 1 && tightIp == 0)
567  result += weight_time * 0.25;
568  }
569  }
570 
571  // overlapping
572  if (backToback == 0 && isOverlapping) {
573  // bonus track
574  if (tightIp == 0 && tightTime >= 1) {
575  result += weight_overlap * 1.0;
576  }
577  }
578  } //is global muon
579 
580  // if (CheckMuonID && cosmicSegment) result += 4;
581 
582  return result;
583 }
bool isOverlappingMuon(const edm::Event &, const edm::EventSetup &iSetup, const reco::Muon &) const
returns cosmic-likeness based on overlap with traversing cosmic muon (only muon/STA hits are used) ...
int iEvent
Definition: GenABIO.cc:224
unsigned int pvMatches(const edm::Event &, const reco::Muon &, bool) const
return cosmic-likeness based on the 2D impact parameters (dxy, dz wrt to PV). 0 == cosmic-like ...
unsigned int backToBack2LegCosmic(const edm::Event &, const reco::Muon &) const
return cosmic-likeness based on presence of a track in opp side: 0 == no matching opp tracks ...
unsigned int eventActivity(const edm::Event &, const reco::Muon &) const
returns cosmic-likeness based on the event activity information: tracker track multiplicity and verte...
float muonTiming(const edm::Event &iEvent, const reco::Muon &muon, bool isLoose) const
check muon time (DT and CSC) information: 0 == prompt-like

◆ eventActivity()

unsigned int MuonCosmicCompatibilityFiller::eventActivity ( const edm::Event iEvent,
const reco::Muon muon 
) const
private

returns cosmic-likeness based on the event activity information: tracker track multiplicity and vertex quality. 0 == cosmic-like

Definition at line 588 of file MuonCosmicCompatibilityFiller.cc.

References iEvent, createfilelist::int, maxvertRho_, maxvertZ_, minvProb_, edm::Handle< T >::product(), mps_fire::result, tracks, trackTokens_, vertexToken_, and AlignmentTracksFromVertexSelector_cfi::vertices.

Referenced by combinedCosmicID(), and fillCompatibility().

588  {
589  unsigned int result = 0; //no good vertices - cosmic-like
590 
591  //check track activity
593  iEvent.getByToken(trackTokens_[0], tracks);
594  if (!tracks.failedToGet() && tracks->size() < 3)
595  return 0;
596 
597  //cosmic event should have zero good vertices
599  if (!iEvent.getByToken(vertexToken_, pvHandle)) {
600  return 0;
601  } else {
602  const reco::VertexCollection& vertices = *pvHandle.product();
603  //check if vertex collection is empty
604  if (vertices.begin() == vertices.end())
605  return 0;
606  for (reco::VertexCollection::const_iterator it = vertices.begin(); it != vertices.end(); ++it) {
607  if ((TMath::Prob(it->chi2(), (int)it->ndof()) > minvProb_) && (fabs(it->z()) <= maxvertZ_) &&
608  (fabs(it->position().rho()) <= maxvertRho_))
609  result++;
610  }
611  }
612  return result;
613 }
T const * product() const
Definition: Handle.h:70
std::vector< edm::EDGetTokenT< reco::TrackCollection > > trackTokens_
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
int iEvent
Definition: GenABIO.cc:224
auto const & tracks
cannot be loose
edm::EDGetTokenT< reco::VertexCollection > vertexToken_

◆ fillCompatibility()

reco::MuonCosmicCompatibility MuonCosmicCompatibilityFiller::fillCompatibility ( const reco::Muon muon,
edm::Event iEvent,
const edm::EventSetup iSetup 
)

fill cosmic compatibility variables

Definition at line 100 of file MuonCosmicCompatibilityFiller.cc.

References backToBack2LegCosmic(), reco::MuonCosmicCompatibility::backToBackCompatibility, combinedCosmicID(), reco::MuonCosmicCompatibility::cosmicCompatibility, eventActivity(), iEvent, reco::MuonCosmicCompatibility::ipCompatibility, isOverlappingMuon(), muonTiming(), reco::MuonCosmicCompatibility::overlapCompatibility, pvMatches(), AlCaHLTBitMon_QueryRunRegistry::string, reco::MuonCosmicCompatibility::timeCompatibility, and reco::MuonCosmicCompatibility::vertexCompatibility.

Referenced by CosmicsMuonIdProducer::produce().

102  {
103  const std::string theCategory = "MuonCosmicCompatibilityFiller";
104 
106 
107  float timeCompatibility = muonTiming(iEvent, muon, false);
108  float backToBackCompatibility = backToBack2LegCosmic(iEvent, muon);
109  float overlapCompatibility = isOverlappingMuon(iEvent, iSetup, muon);
110  float ipCompatibility = pvMatches(iEvent, muon, false);
111  float vertexCompatibility = eventActivity(iEvent, muon);
112  float combinedCompatibility = combinedCosmicID(iEvent, iSetup, muon, false, false);
113 
114  returnComp.timeCompatibility = timeCompatibility;
115  returnComp.backToBackCompatibility = backToBackCompatibility;
116  returnComp.overlapCompatibility = overlapCompatibility;
117  returnComp.cosmicCompatibility = combinedCompatibility;
118  returnComp.ipCompatibility = ipCompatibility;
119  returnComp.vertexCompatibility = vertexCompatibility;
120 
121  return returnComp;
122 }
float combinedCosmicID(const edm::Event &, const edm::EventSetup &iSetup, const reco::Muon &, bool CheckMuonID, bool checkVertex) const
combined cosmic-likeness: 0 == not cosmic-like
bool isOverlappingMuon(const edm::Event &, const edm::EventSetup &iSetup, const reco::Muon &) const
returns cosmic-likeness based on overlap with traversing cosmic muon (only muon/STA hits are used) ...
float backToBackCompatibility
cosmic-likeness based on presence of a track in opp side: 0 == no matching opp tracks ...
int iEvent
Definition: GenABIO.cc:224
unsigned int pvMatches(const edm::Event &, const reco::Muon &, bool) const
return cosmic-likeness based on the 2D impact parameters (dxy, dz wrt to PV). 0 == cosmic-like ...
float timeCompatibility
cosmic-likeness based on time: 0 == prompt-like
unsigned int backToBack2LegCosmic(const edm::Event &, const reco::Muon &) const
return cosmic-likeness based on presence of a track in opp side: 0 == no matching opp tracks ...
unsigned int eventActivity(const edm::Event &, const reco::Muon &) const
returns cosmic-likeness based on the event activity information: tracker track multiplicity and verte...
float cosmicCompatibility
combined cosmic-likeness: 0 == not cosmic-like
float muonTiming(const edm::Event &iEvent, const reco::Muon &muon, bool isLoose) const
check muon time (DT and CSC) information: 0 == prompt-like
float overlapCompatibility
cosmic-likeness based on overlap with traversing cosmic muon (only muon/STA hits are used) ...
float ipCompatibility
cosmic-likeness based on the 2D impact parameters (dxy, dz wrt to PV). 0 == cosmic-like ...
float vertexCompatibility
cosmic-likeness based on the event activity information: tracker track multiplicity and vertex qualit...

◆ isOverlappingMuon()

bool MuonCosmicCompatibilityFiller::isOverlappingMuon ( const edm::Event iEvent,
const edm::EventSetup iSetup,
const reco::Muon muon 
) const
private

returns cosmic-likeness based on overlap with traversing cosmic muon (only muon/STA hits are used)

Definition at line 256 of file MuonCosmicCompatibilityFiller.cc.

References cosmicToken_, MillePedeFileConverter_cfg::e, edm::HandleBase::failedToGet(), HLT_2022v12_cff::fraction, geometryToken_, edm::EventSetup::getHandle(), triggerObjects_cff::id, GlobalTrackingGeometry::idToDet(), iEvent, edm::Ref< C, T, F >::isNonnull(), mag(), GeomDet::position(), edm::Handle< T >::product(), sharedFrac_, sharedHits_, MuonServiceProxy::trackingGeometry(), vertexToken_, AlignmentTracksFromVertexSelector_cfi::vertices, and PV3DBase< T, PVType, FrameType >::y().

Referenced by combinedCosmicID(), and fillCompatibility().

258  {
259  // 4 steps in this module
260  // step1 : check whether it's 1leg cosmic muon or not
261  // step2 : both muons (muons and muonsFromCosmics1Leg) should have close IP
262  // step3 : both muons should share very close reference point
263  // step4 : check shared hits in both muon tracks
264 
265  // check if this muon is available in muonsFromCosmics collection
266  bool overlappingMuon = false; //false - not cosmic-like
267  if (!muon.isGlobalMuon())
268  return false;
269 
270  // reco muons for cosmics
272  iEvent.getByToken(cosmicToken_, muonHandle);
273 
274  // Global Tracking Geometry
275  ESHandle<GlobalTrackingGeometry> trackingGeometry = iSetup.getHandle(geometryToken_);
276 
277  // PV
278  math::XYZPoint RefVtx;
279  RefVtx.SetXYZ(0, 0, 0);
280 
282  iEvent.getByToken(vertexToken_, pvHandle);
283  const reco::VertexCollection& vertices = *pvHandle.product();
284  for (reco::VertexCollection::const_iterator it = vertices.begin(); it != vertices.end(); ++it) {
285  RefVtx = it->position();
286  }
287 
288  if (!muonHandle.failedToGet()) {
289  for (reco::MuonCollection::const_iterator cosmicMuon = muonHandle->begin(); cosmicMuon != muonHandle->end();
290  ++cosmicMuon) {
291  if (cosmicMuon->innerTrack() == muon.innerTrack() || cosmicMuon->outerTrack() == muon.outerTrack())
292  return true;
293 
294  reco::TrackRef outertrack = muon.outerTrack();
295  reco::TrackRef costrack = cosmicMuon->outerTrack();
296 
297  bool isUp = false;
298  if (outertrack->phi() > 0)
299  isUp = true;
300 
301  // shared hits
302  int RecHitsMuon = outertrack->numberOfValidHits();
303  int RecHitsCosmicMuon = 0;
304  int shared = 0;
305  // count hits for same hemisphere
306  if (costrack.isNonnull()) {
307  int nhitsUp = 0;
308  int nhitsDown = 0;
309  // unused
310  // bool isCosmic1Leg = false;
311  // bool isCloseIP = false;
312  // bool isCloseRef = false;
313 
314  for (trackingRecHit_iterator coshit = costrack->recHitsBegin(); coshit != costrack->recHitsEnd(); coshit++) {
315  if ((*coshit)->isValid()) {
316  DetId id((*coshit)->geographicalId());
317  double hity = trackingGeometry->idToDet(id)->position().y();
318  if (hity > 0)
319  nhitsUp++;
320  if (hity < 0)
321  nhitsDown++;
322 
323  if (isUp && hity > 0)
324  RecHitsCosmicMuon++;
325  if (!isUp && hity < 0)
326  RecHitsCosmicMuon++;
327  }
328  }
329  // step1
330  //UNUSED: if( nhitsUp > 0 && nhitsDown > 0 ) isCosmic1Leg = true;
331  //if( !isCosmic1Leg ) continue;
332 
333  if (outertrack.isNonnull()) {
334  // step2
335  //UNUSED: const double ipErr = (double)outertrack->d0Error();
336  //UNUSED: double ipThreshold = max(ipThreshold_, ipErr);
337  //UNUSED: if( fabs(outertrack->dxy(RefVtx) + costrack->dxy(RefVtx)) < ipThreshold ) isCloseIP = true;
338  //if( !isCloseIP ) continue;
339 
340  // step3
341  GlobalPoint muonRefVtx(outertrack->vx(), outertrack->vy(), outertrack->vz());
342  GlobalPoint cosmicRefVtx(costrack->vx(), costrack->vy(), costrack->vz());
343  //UNUSED: float dist = (muonRefVtx - cosmicRefVtx).mag();
344  //UNUSED: if( dist < 0.1 ) isCloseRef = true;
345  //if( !isCloseRef ) continue;
346 
347  for (trackingRecHit_iterator trkhit = outertrack->recHitsBegin(); trkhit != outertrack->recHitsEnd();
348  trkhit++) {
349  if ((*trkhit)->isValid()) {
350  for (trackingRecHit_iterator coshit = costrack->recHitsBegin(); coshit != costrack->recHitsEnd();
351  coshit++) {
352  if ((*coshit)->isValid()) {
353  if ((*trkhit)->geographicalId() == (*coshit)->geographicalId()) {
354  if (((*trkhit)->localPosition() - (*coshit)->localPosition()).mag() < 10e-5)
355  shared++;
356  }
357  }
358  }
359  }
360  }
361  }
362  }
363  // step4
364  double fraction = -1;
365  if (RecHitsMuon != 0)
366  fraction = shared / (double)RecHitsMuon;
367  // std::cout << "shared = " << shared << " " << fraction << " " << RecHitsMuon << " " << RecHitsCosmicMuon << std::endl;
368  if (shared > sharedHits_ && fraction > sharedFrac_) {
369  overlappingMuon = true;
370  break;
371  }
372  }
373  }
374 
375  return overlappingMuon;
376 }
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > geometryToken_
T const * product() const
Definition: Handle.h:70
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
const GeomDet * idToDet(DetId) const override
bool failedToGet() const
Definition: HandleBase.h:72
T y() const
Definition: PV3DBase.h:60
int iEvent
Definition: GenABIO.cc:224
edm::EDGetTokenT< reco::MuonCollection > cosmicToken_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:151
Definition: DetId.h:17
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
const Surface::PositionType & position() const
The position (origin of the R.F.)
Definition: GeomDet.h:43

◆ muonTiming()

float MuonCosmicCompatibilityFiller::muonTiming ( const edm::Event iEvent,
const reco::Muon muon,
bool  isLoose 
) const
private

check muon time (DT and CSC) information: 0 == prompt-like

Definition at line 127 of file MuonCosmicCompatibilityFiller.cc.

References corrTimeNeg_, corrTimePos_, edm::HandleBase::failedToGet(), iEvent, edm::Ref< C, T, F >::isNonnull(), muonTokens_, nMuons(), offTimeNegLoose_, offTimeNegLooseMult_, offTimeNegTight_, offTimeNegTightMult_, offTimePosLoose_, offTimePosLooseMult_, offTimePosTight_, offTimePosTightMult_, pvMatches(), and mps_fire::result.

Referenced by combinedCosmicID(), and fillCompatibility().

127  {
128  float offTimeNegMult, offTimePosMult, offTimeNeg, offTimePos;
129 
130  if (isLoose) {
131  //use "loose" parameter set
132  offTimeNegMult = offTimeNegLooseMult_;
133  offTimePosMult = offTimePosLooseMult_;
134  offTimeNeg = offTimeNegLoose_;
135  offTimePos = offTimePosLoose_;
136  } else {
137  offTimeNegMult = offTimeNegTightMult_;
138  offTimePosMult = offTimePosTightMult_;
139  offTimeNeg = offTimeNegTight_;
140  offTimePos = offTimePosTight_;
141  }
142 
143  float result = 0.0;
144 
145  if (muon.isTimeValid()) {
146  //case of multiple muon event
147  if (nMuons(iEvent) > 1) {
148  float positiveTime = 0;
149  if (muon.time().timeAtIpInOut < offTimeNegMult || muon.time().timeAtIpInOut > offTimePosMult)
150  result = 1.;
151  if (muon.time().timeAtIpInOut > 0.)
152  positiveTime = muon.time().timeAtIpInOut;
153 
154  //special case, looking for time-correlation
155  // between muons in opposite hemispheres
156  if (!isLoose && result == 0 && positiveTime > corrTimePos_) {
157  //check hemi of this muon
158  bool isUp = false;
159  reco::TrackRef outertrack = muon.outerTrack();
160  if (outertrack.isNonnull()) {
161  if (outertrack->phi() > 0)
162  isUp = true;
163 
164  //loop over muons in that event and find if there are any in the opposite hemi
166  iEvent.getByToken(muonTokens_[1], muonHandle);
167 
168  if (!muonHandle.failedToGet()) {
169  for (reco::MuonCollection::const_iterator iMuon = muonHandle->begin(); iMuon != muonHandle->end();
170  ++iMuon) {
171  if (!iMuon->isGlobalMuon())
172  continue;
173 
174  reco::TrackRef checkedTrack = iMuon->outerTrack();
175  if (muon.isTimeValid()) {
176  // from bottom up
177  if (checkedTrack->phi() < 0 && isUp) {
178  if (iMuon->time().timeAtIpInOut < corrTimeNeg_)
179  result = 1.0;
180  break;
181  } else if (checkedTrack->phi() > 0 && !isUp) {
182  // from top down
183  if (iMuon->time().timeAtIpInOut < corrTimeNeg_)
184  result = 1.0;
185  break;
186  }
187  } //muon is time valid
188  }
189  }
190  } //track is nonnull
191  } //double check timing
192  } else {
193  //case of a single muon event
194  if (muon.time().timeAtIpInOut < offTimeNeg || muon.time().timeAtIpInOut > offTimePos)
195  result = 1.;
196  }
197  } //is time valid
198 
199  if (!isLoose && result > 0) {
200  //check loose ip
201  if (pvMatches(iEvent, muon, true) == 0)
202  result *= 2.;
203  }
204 
205  return result;
206 }
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
bool failedToGet() const
Definition: HandleBase.h:72
int iEvent
Definition: GenABIO.cc:224
std::vector< edm::EDGetTokenT< reco::MuonCollection > > muonTokens_
unsigned int nMuons(const edm::Event &) const
get number of muons in the vent
unsigned int pvMatches(const edm::Event &, const reco::Muon &, bool) const
return cosmic-likeness based on the 2D impact parameters (dxy, dz wrt to PV). 0 == cosmic-like ...

◆ nMuons()

unsigned int MuonCosmicCompatibilityFiller::nMuons ( const edm::Event iEvent) const
private

get number of muons in the vent

Definition at line 236 of file MuonCosmicCompatibilityFiller.cc.

References edm::HandleBase::failedToGet(), iEvent, and muonTokens_.

Referenced by muonTiming(), and pvMatches().

236  {
237  unsigned int nGlb = 0;
238 
240  iEvent.getByToken(muonTokens_[1], muonHandle);
241 
242  if (!muonHandle.failedToGet()) {
243  for (reco::MuonCollection::const_iterator iMuon = muonHandle->begin(); iMuon != muonHandle->end(); ++iMuon) {
244  if (!iMuon->isGlobalMuon())
245  continue;
246  nGlb++;
247  }
248  }
249 
250  return nGlb;
251 }
bool failedToGet() const
Definition: HandleBase.h:72
int iEvent
Definition: GenABIO.cc:224
std::vector< edm::EDGetTokenT< reco::MuonCollection > > muonTokens_

◆ pvMatches()

unsigned int MuonCosmicCompatibilityFiller::pvMatches ( const edm::Event iEvent,
const reco::Muon muon,
bool  isLoose 
) const
private

return cosmic-likeness based on the 2D impact parameters (dxy, dz wrt to PV). 0 == cosmic-like

Definition at line 381 of file MuonCosmicCompatibilityFiller.cc.

References edm::HandleBase::failedToGet(), hIpTrdxy_, hIpTrvProb_, iEvent, createfilelist::int, largedxy_, largedxyMult_, maxdxyLoose_, maxdxyLooseMult_, maxdxyTight_, maxdxyTightMult_, maxdzLoose_, maxdzLooseMult_, maxdzTight_, maxdzTightMult_, PDWG_BPHSkim_cff::muons, muonTokens_, nMuons(), edm::Handle< T >::product(), mps_fire::result, HLT_2022v12_cff::track, tracks, vertexToken_, and AlignmentTracksFromVertexSelector_cfi::vertices.

Referenced by combinedCosmicID(), fillCompatibility(), and muonTiming().

383  {
384  float maxdxyMult, maxdzMult, maxdxy, maxdz;
385 
386  if (isLoose) {
387  //use "loose" parameter set
388  maxdxyMult = maxdxyLooseMult_;
389  maxdzMult = maxdzLooseMult_;
390  maxdxy = maxdxyLoose_;
391  maxdz = maxdzLoose_;
392  } else {
393  maxdxyMult = maxdxyTightMult_;
394  maxdzMult = maxdzTightMult_;
395  maxdxy = maxdxyTight_;
396  maxdz = maxdzTight_;
397  }
398 
399  unsigned int result = 0;
400 
402  if (muon.isGlobalMuon())
403  track = muon.innerTrack();
404  else if (muon.isTrackerMuon() || muon.isRPCMuon())
405  track = muon.track();
406  else if (muon.isStandAloneMuon())
407  track = muon.standAloneMuon();
408 
409  bool multipleMu = false;
410  if (nMuons(iEvent) > 1)
411  multipleMu = true;
412 
413  math::XYZPoint RefVtx;
414  RefVtx.SetXYZ(0, 0, 0);
415 
417  iEvent.getByToken(vertexToken_, pvHandle);
418  const reco::VertexCollection& vertices = *pvHandle.product();
419  for (reco::VertexCollection::const_iterator it = vertices.begin(); it != vertices.end(); ++it) {
420  RefVtx = it->position();
421 
422  if (track.isNonnull()) {
423  if (multipleMu) {
424  //multiple muon event
425 
426  if (fabs((*track).dxy(RefVtx)) < maxdxyMult || fabs((*track).dz(RefVtx)) < maxdzMult) {
427  result++;
428 
429  //case of extra large dxy
430  if (!isLoose && fabs((*track).dxy(RefVtx)) > largedxyMult_)
431  result -= 1;
432  }
433  } else {
434  //single muon event
435 
436  if (fabs((*track).dxy(RefVtx)) < maxdxy || fabs((*track).dz(RefVtx)) < maxdz) {
437  result++;
438 
439  //case of extra large dxy
440  if (!isLoose && fabs((*track).dxy(RefVtx)) > largedxy_)
441  result -= 1;
442  }
443  }
444  } //track is nonnull
445  } //loop over vertices
446 
447  //special case for non-cosmic large ip muons
448  if (result == 0 && multipleMu) {
449  // consider all reco muons in an event
451  iEvent.getByToken(muonTokens_[1], muonHandle);
452 
453  //cosmic event should have zero good vertices
455  iEvent.getByToken(vertexToken_, pvHandle);
456  const reco::VertexCollection& vertices = *pvHandle.product();
457 
458  //find the "other" one
459  if (!muonHandle.failedToGet()) {
460  for (reco::MuonCollection::const_iterator muons = muonHandle->begin(); muons != muonHandle->end(); ++muons) {
461  if (!muons->isGlobalMuon())
462  continue;
463  //skip this track
464  if (muons->innerTrack() == muon.innerTrack() && muons->outerTrack() == muon.outerTrack())
465  continue;
466  //check ip and vertex of the "other" muon
468  if (muons->isGlobalMuon())
469  tracks = muons->innerTrack();
470  if (fabs((*tracks).dxy(RefVtx)) > hIpTrdxy_)
471  continue;
472  //check if vertex collection is empty
473  if (vertices.begin() == vertices.end())
474  continue;
475  //for(reco::VertexCollection::const_iterator it=vertices.begin() ; it!=vertices.end() ; ++it) {
476  //find matching vertex by position
477  //if (fabs(it->z() - tracks->vz()) > 0.01) continue; //means will not be untagged from cosmics
478  if (TMath::Prob(vertices.front().chi2(), (int)(vertices.front().ndof())) > hIpTrvProb_)
479  result = 1;
480  //}
481  }
482  }
483  }
484 
485  return result;
486 }
T const * product() const
Definition: Handle.h:70
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
bool failedToGet() const
Definition: HandleBase.h:72
int iEvent
Definition: GenABIO.cc:224
std::vector< edm::EDGetTokenT< reco::MuonCollection > > muonTokens_
unsigned int nMuons(const edm::Event &) const
get number of muons in the vent
auto const & tracks
cannot be loose
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
edm::EDGetTokenT< reco::VertexCollection > vertexToken_

Member Data Documentation

◆ angleThreshold_

double MuonCosmicCompatibilityFiller::angleThreshold_
private

◆ corrTimeNeg_

double MuonCosmicCompatibilityFiller::corrTimeNeg_
private

Definition at line 117 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ corrTimePos_

double MuonCosmicCompatibilityFiller::corrTimePos_
private

Definition at line 116 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ cosmicToken_

edm::EDGetTokenT<reco::MuonCollection> MuonCosmicCompatibilityFiller::cosmicToken_
private

◆ deltaPt_

double MuonCosmicCompatibilityFiller::deltaPt_
private

◆ geometryToken_

edm::ESGetToken<GlobalTrackingGeometry, GlobalTrackingGeometryRecord> MuonCosmicCompatibilityFiller::geometryToken_
private

◆ hIpTrdxy_

double MuonCosmicCompatibilityFiller::hIpTrdxy_
private

Definition at line 102 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ hIpTrvProb_

double MuonCosmicCompatibilityFiller::hIpTrvProb_
private

Definition at line 103 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ inputCosmicMuonCollection_

edm::InputTag MuonCosmicCompatibilityFiller::inputCosmicMuonCollection_
private

Definition at line 83 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller().

◆ inputMuonCollections_

std::vector<edm::InputTag> MuonCosmicCompatibilityFiller::inputMuonCollections_
private

Definition at line 81 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller().

◆ inputTrackCollections_

std::vector<edm::InputTag> MuonCosmicCompatibilityFiller::inputTrackCollections_
private

Definition at line 82 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller().

◆ inputVertexCollection_

edm::InputTag MuonCosmicCompatibilityFiller::inputVertexCollection_
private

Definition at line 84 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller().

◆ ipThreshold_

double MuonCosmicCompatibilityFiller::ipThreshold_
private

Definition at line 122 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller().

◆ largedxy_

double MuonCosmicCompatibilityFiller::largedxy_
private

Definition at line 101 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ largedxyMult_

double MuonCosmicCompatibilityFiller::largedxyMult_
private

Definition at line 100 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxdxyLoose_

double MuonCosmicCompatibilityFiller::maxdxyLoose_
private

Definition at line 92 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxdxyLooseMult_

double MuonCosmicCompatibilityFiller::maxdxyLooseMult_
private

Definition at line 96 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxdxyTight_

double MuonCosmicCompatibilityFiller::maxdxyTight_
private

Definition at line 94 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxdxyTightMult_

double MuonCosmicCompatibilityFiller::maxdxyTightMult_
private

Definition at line 98 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxdzLoose_

double MuonCosmicCompatibilityFiller::maxdzLoose_
private

Definition at line 93 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxdzLooseMult_

double MuonCosmicCompatibilityFiller::maxdzLooseMult_
private

Definition at line 97 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxdzTight_

double MuonCosmicCompatibilityFiller::maxdzTight_
private

Definition at line 95 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxdzTightMult_

double MuonCosmicCompatibilityFiller::maxdzTightMult_
private

Definition at line 99 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and pvMatches().

◆ maxvertRho_

double MuonCosmicCompatibilityFiller::maxvertRho_
private

◆ maxvertZ_

double MuonCosmicCompatibilityFiller::maxvertZ_
private

◆ minvProb_

double MuonCosmicCompatibilityFiller::minvProb_
private

◆ muonTokens_

std::vector<edm::EDGetTokenT<reco::MuonCollection> > MuonCosmicCompatibilityFiller::muonTokens_
private

◆ nChamberMatches_

int MuonCosmicCompatibilityFiller::nChamberMatches_
private

◆ nTrackThreshold_

unsigned int MuonCosmicCompatibilityFiller::nTrackThreshold_
private

Definition at line 107 of file MuonCosmicCompatibilityFiller.h.

◆ offTimeNegLoose_

double MuonCosmicCompatibilityFiller::offTimeNegLoose_
private

Definition at line 109 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ offTimeNegLooseMult_

double MuonCosmicCompatibilityFiller::offTimeNegLooseMult_
private

Definition at line 113 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ offTimeNegTight_

double MuonCosmicCompatibilityFiller::offTimeNegTight_
private

Definition at line 111 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ offTimeNegTightMult_

double MuonCosmicCompatibilityFiller::offTimeNegTightMult_
private

Definition at line 115 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ offTimePosLoose_

double MuonCosmicCompatibilityFiller::offTimePosLoose_
private

Definition at line 108 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ offTimePosLooseMult_

double MuonCosmicCompatibilityFiller::offTimePosLooseMult_
private

Definition at line 112 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ offTimePosTight_

double MuonCosmicCompatibilityFiller::offTimePosTight_
private

Definition at line 110 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ offTimePosTightMult_

double MuonCosmicCompatibilityFiller::offTimePosTightMult_
private

Definition at line 114 of file MuonCosmicCompatibilityFiller.h.

Referenced by MuonCosmicCompatibilityFiller(), and muonTiming().

◆ segmentComp_

double MuonCosmicCompatibilityFiller::segmentComp_
private

◆ sharedFrac_

double MuonCosmicCompatibilityFiller::sharedFrac_
private

◆ sharedHits_

int MuonCosmicCompatibilityFiller::sharedHits_
private

◆ trackTokens_

std::vector<edm::EDGetTokenT<reco::TrackCollection> > MuonCosmicCompatibilityFiller::trackTokens_
private

◆ vertexToken_

edm::EDGetTokenT<reco::VertexCollection> MuonCosmicCompatibilityFiller::vertexToken_
private