Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
{
14
// returns angle and dPt/Pt
15
std::pair<double, double>
matchTracks
(
const
reco::Track
& ref,
16
const
reco::Track
& probe);
17
18
reco::TrackRef
findOppositeTrack
(
const
edm::Handle<reco::TrackCollection>
&
collection
,
19
const
reco::Track
&
muon
,
20
double
angleMatch = 0.01,
21
double
momentumMatch = 0.05);
22
}
23
#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:29
runEdmFileComparison.collection
dictionary collection
Definition:
runEdmFileComparison.py:222
TrackFwd.h
Handle.h
edm::Handle< reco::TrackCollection >
muonid::matchTracks
std::pair< double, double > matchTracks(const reco::Track &ref, const reco::Track &probe)
Definition:
MuonCosmicsId.cc:12
metsig::muon
Definition:
SignAlgoResolutions.h:40
reco::Track
Definition:
Track.h:27
edm::Ref< TrackCollection >
Generated for CMSSW Reference Manual by
1.8.5