Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:59

0001 #ifndef MuonIdentification_MuonCosmicsId_h
0002 #define MuonIdentification_MuonCosmicsId_h 1
0003 // -*- C++ -*-
0004 //
0005 // Description:
0006 //     Tools to identify cosmics muons in collisions
0007 //
0008 // Original Author:  Dmytro Kovalskyi
0009 //
0010 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0011 #include "DataFormats/Common/interface/Handle.h"
0012 namespace muonid {
0013   // returns angle and dPt/Pt
0014   std::pair<double, double> matchTracks(const reco::Track& ref, const reco::Track& probe);
0015 
0016   reco::TrackRef findOppositeTrack(const edm::Handle<reco::TrackCollection>& collection,
0017                                    const reco::Track& muon,
0018                                    double angleMatch = 0.01,
0019                                    double momentumMatch = 0.05);
0020 }  // namespace muonid
0021 #endif