CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
muonSelections.h
Go to the documentation of this file.
1 #ifndef MUON_SELECTIONS_H
2 #define MUON_SELECTIONS_H
3 
5 
6 namespace HWWFunctions {
7 
9  // Selectors //
11 
12  enum SelectionType {
13 
15  // Higgs, WW //
17 
18  // WW
26 
27  // Analysis
32 
33  // Fakes
36  };
37 
39  // Identification //
41 
42  bool muonId (HWW&, unsigned int index, SelectionType type);
43  bool muonIdNotIsolated(HWW&, unsigned int index, SelectionType type);
44  bool isGoodStandardMuon(HWW&, unsigned int index );
45 
47  // Isolation //
49  double muonIsoValue (HWW&, unsigned int , bool = true );
50  double muonIsoValue_TRK (HWW&, unsigned int , bool = true );
51  double muonIsoValue_ECAL (HWW&, unsigned int , bool = true );
52  double muonIsoValue_HCAL (HWW&, unsigned int , bool = true );
53 
54  double muonIsoValuePF (HWW&, unsigned int imu, unsigned int ivtx, float coner=0.4, float minptn=1.0, float dzcut=0.1, int filterId = 0);
55 
57  // Muon d0 corrected by PV //
59 
60  double mud0PV (HWW&, unsigned int index);
61  double mud0PV_wwV1 (HWW&, unsigned int index);
62  double mudzPV_wwV1 (HWW&, unsigned int index);
63  double mud0PV_smurfV3 (HWW&, unsigned int index);
64  double mudzPV_smurfV3 (HWW&, unsigned int index);
65 
67  // checks if muon is also pfmuon, and pfmuon pt = reco muon pt //
69 
70  bool isPFMuon(HWW&, int index , bool requireSamePt = true , float dpt_max = 1.0 );
71 
73  {
74  enum value_type
75  {
79  };
80  };
81 
82 }
83 #endif
type
Definition: HCALResponse.h:21
double mud0PV_smurfV3(HWW &, unsigned int index)
bool isPFMuon(HWW &, int index, bool requireSamePt=true, float dpt_max=1.0)
bool muonId(HWW &, unsigned int index, SelectionType type)
double mud0PV_wwV1(HWW &, unsigned int index)
double muonIsoValue(HWW &, unsigned int, bool=true)
bool isGoodStandardMuon(HWW &, unsigned int index)
bool muonIdNotIsolated(HWW &, unsigned int index, SelectionType type)
Definition: HWW.h:12
double mudzPV_wwV1(HWW &, unsigned int index)
double muonIsoValuePF(HWW &, unsigned int imu, unsigned int ivtx, float coner=0.4, float minptn=1.0, float dzcut=0.1, int filterId=0)
double mudzPV_smurfV3(HWW &, unsigned int index)
double muonIsoValue_ECAL(HWW &, unsigned int, bool=true)
double muonIsoValue_HCAL(HWW &, unsigned int, bool=true)
double mud0PV(HWW &, unsigned int index)
double muonIsoValue_TRK(HWW &, unsigned int, bool=true)