CMS 3D CMS Logo

CaloParticleSelectionsForEfficiency_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 generalCpSelectorBlock = cms.PSet(
4  ptMinCP = cms.double(0.005),
5  ptMaxCP = cms.double(1e100),
6  minRapidityCP = cms.double(-4.5),
7  maxRapidityCP = cms.double(4.5),
8  chargedOnlyCP = cms.bool(True),
9  stableOnlyCP = cms.bool(False),
10  pdgIdCP = cms.vint32(11, -11, 13, -13, 22, 111, 211, -211, 321, -321),
11  #--signal only means no PU particles
12  signalOnlyCP = cms.bool(True),
13  #--intime only means no OOT PU particles
14  intimeOnlyCP = cms.bool(True),
15  #The total number of rechits
16  minHitCP = cms.int32(0)
17 )
18 
19 CpSelectorForEfficiencyVsEtaBlock = generalCpSelectorBlock.clone()
20 CpSelectorForEfficiencyVsPhiBlock = generalCpSelectorBlock.clone()
21 CpSelectorForEfficiencyVsPtBlock = generalCpSelectorBlock.clone(ptMin = 0.050 )
22