Main Page
Namespaces
Classes
Package Documentation
RecoMuon
MuonIdentification
interface
MuonCosmicsId.h
Go to the documentation of this file.
1
#ifndef MuonIdentification_MuonCosmicsId_h
2
#define MuonIdentification_MuonCosmicsId_h 1
3
// -*- C++ -*-
4
//
5
// Description:
6
// Tools to identify cosmics muons in collisions
7
//
8
// Original Author: Dmytro Kovalskyi
9
//
10
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
11
#include "
DataFormats/Common/interface/Handle.h
"
12
namespace
muonid
{
13
// returns angle and dPt/Pt
14
std::pair<double, double>
matchTracks
(
const
reco::Track
& ref,
const
reco::Track
& probe);
15
16
reco::TrackRef
findOppositeTrack
(
const
edm::Handle<reco::TrackCollection>
&
collection
,
17
const
reco::Track
&
muon
,
18
double
angleMatch = 0.01,
19
double
momentumMatch = 0.05);
20
}
// namespace muonid
21
#endif
muonid::findOppositeTrack
reco::TrackRef findOppositeTrack(const edm::Handle< reco::TrackCollection > &collection, const reco::Track &muon, double angleMatch=0.01, double momentumMatch=0.05)
Definition:
MuonCosmicsId.cc:28
edm::Ref< TrackCollection >
edm::Handle< reco::TrackCollection >
TrackFwd.h
muon
Definition:
MuonCocktails.h:17
muonid::matchTracks
std::pair< double, double > matchTracks(const reco::Track &ref, const reco::Track &probe)
Definition:
MuonCosmicsId.cc:11
muonid
Definition:
MuonCosmicsId.h:12
universalConfigTemplate.collection
collection
Definition:
universalConfigTemplate.py:81
reco::Track
Definition:
Track.h:27
Handle.h
Generated for CMSSW Reference Manual by
1.8.11