Main Page
Namespaces
Classes
Package Documentation
src
RecoMuon
MuonIdentification
interface
ME0MuonSelector.h
Go to the documentation of this file.
1
#ifndef RecoMuon_ME0MuonSelectors_h
2
#define RecoMuon_ME0MuonSelectors_h
3
//
4
5
#include "
DataFormats/MuonReco/interface/ME0Muon.h
"
6
7
#include "
FWCore/Framework/interface/ESHandle.h
"
8
9
#include <string>
10
11
12
13
14
namespace
muon
{
16
enum
SelectionType
{
17
All
= 0,
// dummy options - always true
18
VeryLoose
= 1,
//
19
Loose
= 2,
//
20
Tight
= 3,
//
21
};
22
24
struct
SelectionTypeStringToEnum
{
const
char
*
label
;
SelectionType
value
; };
25
SelectionType
selectionTypeFromString
(
const
std::string
&
label
);
26
28
bool
isGoodMuon
(
const
reco::ME0Muon
& me0muon,
SelectionType
type
);
29
30
32
33
bool
isGoodMuon
(
const
reco::ME0Muon
& me0muon,
double
MaxPullX,
double
MaxDiffX,
double
MaxPullY,
double
MaxDiffY,
double
MaxDiffPhiDir );
34
35
36
}
37
#endif
type
type
Definition:
HCALResponse.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
reco::ME0Muon
Definition:
ME0Muon.h:21
muon
Definition:
MuonCocktails.h:17
muon::VeryLoose
Definition:
ME0MuonSelector.h:18
muon::SelectionType
SelectionType
Selector type.
Definition:
MuonSelectors.h:17
muon::Tight
Definition:
ME0MuonSelector.h:20
muon::SelectionTypeStringToEnum::label
const char * label
Definition:
MuonSelectors.h:58
ESHandle.h
muon::isGoodMuon
bool isGoodMuon(const reco::Muon &muon, SelectionType type, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
main GoodMuon wrapper call
Definition:
MuonSelectors.cc:648
muon::selectionTypeFromString
SelectionType selectionTypeFromString(const std::string &label)
Definition:
MuonSelectors.cc:9
muon::SelectionTypeStringToEnum
a lightweight "map" for selection type string label and enum value
Definition:
MuonSelectors.h:58
muon::Loose
Definition:
ME0MuonSelector.h:19
muon::All
Definition:
MuonSelectors.h:18
ME0Muon.h
muon::SelectionTypeStringToEnum::value
SelectionType value
Definition:
MuonSelectors.h:58
Generated for CMSSW Reference Manual by
1.8.11