CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/PhysicsTools/PatExamples/python/PatElectronAnalyzer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ## define pat electron analyzer
00004 analyzePatElectron = cms.EDAnalyzer("PatElectronAnalyzer",
00005     ## choose mode to run in:
00006     ## 0 : genMatch, 1 : tagAndProbe
00007     mode = cms.uint32(0),
00008 
00009     ## maximal pt  for the electron to be considered
00010     minPt = cms.double(10.),
00011     ## maximal eta for the electron to be considered
00012     maxEta= cms.double(1.4),                                    
00013     ## electronId to be used for probe the following
00014     ## types are  available:
00015     ##  * none
00016     ##  * eidRobustLoose
00017     ##  * eidRobustTight
00018     ##  * eidLoose
00019     ##  * eidTight
00020     ##  * eidRobustHighEnergy
00021     electronID = cms.string('none'),                                    
00022                                     
00023     ## input collection for electrons
00024     electronSrc  = cms.InputTag("selectedLayer1Electrons"),
00025     ## input collection for generator particles
00026     particleSrc  = cms.InputTag("genParticles"),
00027                                     
00028     ## parameters for genMatch mode
00029     genMatchMode = cms.PSet(
00030       ## maximal allowed value of deltaR
00031       maxDeltaR = cms.double(0.1)
00032     ),
00033 
00034     ## parameters for tagAndProbe mode
00035     tagAndProbeMode = cms.PSet(
00036       ## maximal allowed value of deltaM
00037       maxDeltaM = cms.double(10.),
00038       ## maximal allowed value of isolation
00039       ## of the tag electron
00040       maxTagIso = cms.double(1.0)      
00041     )                                 
00042 )