from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140

trackingPhase2PU140.toModify(
    photonConvTrajSeedFromSingleLeg,
    ClusterCheckPSet=dict(MaxNumberOfCosmicClusters=1000000,
                          MaxNumberOfPixelClusters=100000,
                          cut=None),
    OrderedHitsFactoryPSet=dict(maxElement=100000),
    RegionFactoryPSet=dict(RegionPSet=dict(ptMin=0.3)),
)

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb

peripheralPbPb.toModify(
    photonConvTrajSeedFromSingleLeg,
    ClusterCheckPSet=dict(
        cut=
        "strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)"
    ))
from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017

pp_on_XeXe_2017.toModify(
    photonConvTrajSeedFromSingleLeg,
    ClusterCheckPSet=dict(
        MaxNumberOfPixelClusters=100000,
        cut=
        "strip < 1000000 && pixel < 100000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + strip/2.)"
    ),
    OrderedHitsFactoryPSet=dict(maxElement=100000))
Exemplo n.º 2
0
for e in [pp_on_XeXe_2017, pp_on_AA]:
    e.toModify(RecoJetsAOD.outputCommands,
               func=lambda outputCommands: outputCommands.extend([
                   'keep recoCentrality*_hiCentrality_*_*',
                   'keep recoClusterCompatibility*_hiClusterCompatibility_*_*'
               ]))
#HI-specific products: needed in AOD, propagate to more inclusive tiers as well
pA_2016.toModify(
    RecoJetsAOD.outputCommands,
    func=lambda outputCommands: outputCommands.extend([
        'keep recoCentrality*_pACentrality_*_*',
        'keep *_hiFJGridEmptyAreaCalculator_*_*', 'keep *_hiFJRhoProducer_*_*'
    ]))
#HI-specific products: needed in AOD, propagate to more inclusive tiers as well
peripheralPbPb.toModify(RecoJetsAOD.outputCommands,
                        func=lambda outputCommands: outputCommands.extend(
                            ['keep recoCentrality*_pACentrality_*_*']))

pp_on_AA.toModify(RecoJetsAOD.outputCommands,
                  func=lambda outputCommands: outputCommands.extend([
                      'keep *_hiCentrality_*_*', 'keep *_hiFJRhoProducer_*_*',
                      'keep *_akPu3PFJets_*_*', 'keep *_akPu4PFJets_*_*',
                      'keep *_kt4PFJetsForRho_*_*', 'keep *_akCs4PFJets_*_*',
                      'keep *_akPu4CaloJets_*_*', 'drop *_caloTowers_*_*'
                  ]))
#RECO content
RecoJetsRECO = cms.PSet(outputCommands=cms.untracked.vstring(
    'keep *_ak4CaloJets_*_*',
    'keep *_ak4PFJets_*_*',
    'keep *_ak4TrackJets_*_*',
    'keep recoRecoChargedRefCandidates_trackRefsForJets_*_*',
Exemplo n.º 3
0
from RecoTracker.TkSeedGenerator.trackerClusterCheckDefault_cfi import trackerClusterCheckDefault as _trackerClusterCheckDefault
trackerClusterCheck = _trackerClusterCheckDefault.clone()

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
# Disable too many clusters check until we have an updated cut string for phase1 and phase2
phase1Pixel.toModify(trackerClusterCheck, doClusterCheck=False)  # FIXME
phase2_tracker.toModify(trackerClusterCheck, doClusterCheck=False)  # FIXME

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(
    trackerClusterCheck,
    cut=
    "strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)"
)
Exemplo n.º 4
0
from RecoPixelVertexing.PixelTriplets.pixelTripletLargeTipEDProducerDefault_cfi import pixelTripletLargeTipEDProducerDefault as _pixelTripletLargeTipEDProducerDefault

pixelTripletLargeTipEDProducer = _pixelTripletLargeTipEDProducerDefault.clone()
from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
from Configuration.Eras.Modifier_trackingPhase1PU70_cff import trackingPhase1PU70
from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
trackingLowPU.toModify(pixelTripletLargeTipEDProducer, maxElement=100000)
trackingPhase1PU70.toModify(pixelTripletLargeTipEDProducer, maxElement=0)
trackingPhase2PU140.toModify(pixelTripletLargeTipEDProducer, maxElement=0)

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(pixelTripletLargeTipEDProducer, maxElement=1000000)
        ComponentName = cms.string('GlobalRegionProducerFromBeamSpot')
    ),
# This works best ...
    SeedCreatorPSet = cms.PSet(SeedFromConsecutiveHitsCreator),
# except for large impact parameter pixel-pair seeding, when this is better ...
#   SeedCreatorPSet = cms.PSet(SeedFromConsecutiveHitsStraightLineCreator)                                                       
# and this one respectively for large-D0 triplets:
#   SeedCreatorPSet = cms.PSet(SeedFromConsecutiveHitsTripletOnlyCreator)

##add a protection for too many clusters in the event.
ClusterCheckPSet = cms.PSet(
                 doClusterCheck = cms.bool(True),
                 MaxNumberOfCosmicClusters = cms.uint32(400000),
                 ClusterCollectionLabel = cms.InputTag("siStripClusters"),
                 MaxNumberOfPixelClusters = cms.uint32(40000),
                 PixelClusterCollectionLabel = cms.InputTag("siPixelClusters"),
                 cut = cms.string("strip < 400000 && pixel < 40000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + 0.1*strip)")
                 ),
)

# Disable too many clusters check until we have an updated cut string for phase1
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(seedGeneratorFromRegionHitsEDProducer, # FIXME
    ClusterCheckPSet = dict(doClusterCheck = False)
)

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(seedGeneratorFromRegionHitsEDProducer,
                        ClusterCheckPSet = dict(cut = "strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)")
                        )
import FWCore.ParameterSet.Config as cms

MultiHitGeneratorFromChi2 = cms.PSet(
    ComponentName = cms.string('MultiHitGeneratorFromChi2'),
    maxElement = cms.uint32(100000),
    #fixed phi filtering
    useFixedPreFiltering = cms.bool(False),
    phiPreFiltering = cms.double(0.3),
    #box properties
    extraHitRPhitolerance = cms.double(0.),
    extraHitRZtolerance = cms.double(0.),
    extraZKDBox = cms.double(0.2),
    extraRKDBox = cms.double(0.2),
    extraPhiKDBox = cms.double(0.005),
    fnSigmaRZ = cms.double(2.0),
    #refit&filter hits
    refitHits = cms.bool(True),
    ClusterShapeHitFilterName = cms.string('ClusterShapeHitFilter'),
    TTRHBuilder = cms.string('WithTrackAngle'),
    #chi2 cuts
    maxChi2 = cms.double(5.0),
    chi2VsPtCut = cms.bool(True),
    pt_interv = cms.vdouble(0.4,0.7,1.0,2.0),
    chi2_cuts = cms.vdouble(3.0,4.0,5.0,5.0),
    #debugging
    detIdsToDebug = cms.vint32(0,0,0)
)

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(MultiHitGeneratorFromChi2, maxElement = 1000000)
Exemplo n.º 7
0
from RecoTracker.TkSeedGenerator.trackerClusterCheckDefault_cfi import trackerClusterCheckDefault as _trackerClusterCheckDefault
trackerClusterCheck = _trackerClusterCheckDefault.clone()

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
# Disable too many clusters check until we have an updated cut string for phase1 and phase2
phase1Pixel.toModify(trackerClusterCheck, doClusterCheck=False) # FIXME
phase2_tracker.toModify(trackerClusterCheck, doClusterCheck=False) # FIXME

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(trackerClusterCheck,
                        doClusterCheck=True,  #FIXMETOO
                        cut = "strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)"
                        )
from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
pp_on_XeXe_2017.toModify(trackerClusterCheck,
               doClusterCheck=True, #FIXMETOO
               cut = "strip < 1000000 && pixel < 100000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + strip/2.)",
               MaxNumberOfPixelClusters = 100000
               )

from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
pp_on_AA_2018.toModify(trackerClusterCheck,
               doClusterCheck=True, 
               cut = "strip < 1000000 && pixel < 150000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + strip/2.)",
               MaxNumberOfPixelClusters = 150000,
               MaxNumberOfCosmicClusters = 500000
               )
Exemplo n.º 8
0
                                           'keep *_ak4GenJetsNoNu_*_*',
                                           'keep *_ak8GenJetsNoNu_*_*',
                                           'keep *_genParticle_*_*'
                                           )
    )

from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
#products from regular pp which does not fit the normal AOD
for e in [pA_2016, peripheralPbPb, pp_on_XeXe_2017]:
    e.toModify( RecoJetsAOD.outputCommands, 
                func=lambda outputCommands: outputCommands.extend(['keep *_towerMaker_*_*'])
                )

#HI-specific products: needed in AOD, propagate to more inclusive tiers as well
for ec in [RecoJetsAOD.outputCommands, RecoJetsRECO.outputCommands, RecoJetsFEVT.outputCommands]:
    pA_2016.toModify( ec, 
                      func=lambda outputCommands: outputCommands.extend(['keep recoCentrality*_pACentrality_*_*',
                                                                         'keep *_hiFJGridEmptyAreaCalculator_*_*',
                                                                         'keep *_hiFJRhoProducer_*_*'
                                                                         ])
                      )

#HI-specific products: needed in AOD, propagate to more inclusive tiers as well
for ec in [RecoJetsAOD.outputCommands, RecoJetsRECO.outputCommands, RecoJetsFEVT.outputCommands]:
    peripheralPbPb.toModify( ec, 
                             func=lambda outputCommands: outputCommands.extend(['keep recoCentrality*_pACentrality_*_*'])
                             )
    
)

from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
trackingPhase2PU140.toModify(photonConvTrajSeedFromSingleLeg,
    ClusterCheckPSet = dict(
        MaxNumberOfCosmicClusters = 1000000,
        MaxNumberOfPixelClusters = 100000,
        cut = None
    ),
    OrderedHitsFactoryPSet = dict(maxElement = 100000),
    RegionFactoryPSet = dict(RegionPSet = dict(ptMin = 0.3)),
)

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(photonConvTrajSeedFromSingleLeg,
                        ClusterCheckPSet = dict(cut = "strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)")
                        )
from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
(pp_on_XeXe_2017 | pp_on_AA_2018 ).toModify(photonConvTrajSeedFromSingleLeg,
                             ClusterCheckPSet = dict(MaxNumberOfPixelClusters = 100000,
                                                     cut = "strip < 1000000 && pixel < 100000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + strip/2.)"
                                                     ),
                             OrderedHitsFactoryPSet = dict(maxElement = 100000)
                             )
from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cff import globalTrackingRegionWithVertices as _globalTrackingRegionWithVertices
(pp_on_XeXe_2017 | pp_on_AA_2018 ).toModify(photonConvTrajSeedFromSingleLeg,
               RegionFactoryPSet = dict(ComponentName = 'GlobalTrackingRegionWithVerticesProducer',
                                        RegionPSet = _globalTrackingRegionWithVertices.RegionPSet.clone(
                                                          originRadius = 0,
                                                          originRScaling4BigEvts = True,
import FWCore.ParameterSet.Config as cms

# moving to the block.  Will delete the PSet once transition is done
PixelTripletLargeTipGenerator = cms.PSet(
    maxElement=cms.uint32(100000),
    useBending=cms.bool(True),
    useFixedPreFiltering=cms.bool(False),
    ComponentName=cms.string('PixelTripletLargeTipGenerator'),
    useMultScattering=cms.bool(True),
    phiPreFiltering=cms.double(0.3),
    extraHitRPhitolerance=cms.double(0.032),
    extraHitRZtolerance=cms.double(0.037))
from Configuration.Eras.Modifier_trackingPhase1PU70_cff import trackingPhase1PU70
trackingPhase1PU70.toModify(PixelTripletLargeTipGenerator, maxElement=0)

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(PixelTripletLargeTipGenerator, maxElement=1000000)
import FWCore.ParameterSet.Config as cms

# moving to the block.  Will delete the PSet once transition is done
PixelTripletLargeTipGenerator = cms.PSet(
    maxElement = cms.uint32(100000),
    useBending = cms.bool(True),
    useFixedPreFiltering = cms.bool(False),
    ComponentName = cms.string('PixelTripletLargeTipGenerator'),
    useMultScattering = cms.bool(True),
    phiPreFiltering = cms.double(0.3),
    extraHitRPhitolerance = cms.double(0.032),
    extraHitRZtolerance = cms.double(0.037)
)
from Configuration.Eras.Modifier_trackingPhase1PU70_cff import trackingPhase1PU70
trackingPhase1PU70.toModify(PixelTripletLargeTipGenerator, maxElement = 0)

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(PixelTripletLargeTipGenerator, maxElement = 1000000)
Exemplo n.º 12
0
import FWCore.ParameterSet.Config as cms

MultiHitGeneratorFromChi2 = cms.PSet(
    ComponentName=cms.string('MultiHitGeneratorFromChi2'),
    maxElement=cms.uint32(100000),
    #fixed phi filtering
    useFixedPreFiltering=cms.bool(False),
    phiPreFiltering=cms.double(0.3),
    #box properties
    extraHitRPhitolerance=cms.double(0.),
    extraHitRZtolerance=cms.double(0.),
    extraZKDBox=cms.double(0.2),
    extraRKDBox=cms.double(0.2),
    extraPhiKDBox=cms.double(0.005),
    fnSigmaRZ=cms.double(2.0),
    #refit&filter hits
    refitHits=cms.bool(True),
    ClusterShapeHitFilterName=cms.string('ClusterShapeHitFilter'),
    TTRHBuilder=cms.string('WithTrackAngle'),
    #chi2 cuts
    maxChi2=cms.double(5.0),
    chi2VsPtCut=cms.bool(True),
    pt_interv=cms.vdouble(0.4, 0.7, 1.0, 2.0),
    chi2_cuts=cms.vdouble(3.0, 4.0, 5.0, 5.0),
    #debugging
    detIdsToDebug=cms.vint32(0, 0, 0))

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(MultiHitGeneratorFromChi2, maxElement=1000000)
from RecoTracker.TkSeedGenerator.multiHitFromChi2EDProducerDefault_cfi import multiHitFromChi2EDProducerDefault as _multiHitFromChi2EDProducerDefault
multiHitFromChi2EDProducer = _multiHitFromChi2EDProducerDefault.clone()

from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
peripheralPbPb.toModify(multiHitFromChi2EDProducer, maxElement=1000000)