CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PatElectronAnalyzer_cfi.py
Go to the documentation of this file.
2 
3 ## define pat electron analyzer
4 analyzePatElectron = cms.EDAnalyzer("PatElectronAnalyzer",
5  ## choose mode to run in:
6  ## 0 : genMatch, 1 : tagAndProbe
7  mode = cms.uint32(0),
8 
9  ## maximal pt for the electron to be considered
10  minPt = cms.double(10.),
11  ## maximal eta for the electron to be considered
12  maxEta= cms.double(1.4),
13  ## electronId to be used for probe the following
14  ## types are available:
15  ## * none
16  ## * eidRobustLoose
17  ## * eidRobustTight
18  ## * eidLoose
19  ## * eidTight
20  ## * eidRobustHighEnergy
21  electronID = cms.string('none'),
22 
23  ## input collection for electrons
24  electronSrc = cms.InputTag("selectedLayer1Electrons"),
25  ## input collection for generator particles
26  particleSrc = cms.InputTag("genParticles"),
27 
28  ## parameters for genMatch mode
29  genMatchMode = cms.PSet(
30  ## maximal allowed value of deltaR
31  maxDeltaR = cms.double(0.1)
32  ),
33 
34  ## parameters for tagAndProbe mode
35  tagAndProbeMode = cms.PSet(
36  ## maximal allowed value of deltaM
37  maxDeltaM = cms.double(10.),
38  ## maximal allowed value of isolation
39  ## of the tag electron
40  maxTagIso = cms.double(1.0)
41  )
42 )