Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import HLTrigger.HLTfilters.hltHighLevel_cfi
0004 ALCARECOEcalESAlignHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0005     andOr = True, # choose logical OR between Triggerbits
0006     eventSetupPathsKey = 'EcalESAlign',
0007     throw = False # tolerate triggers stated above, but not available
0008 )
0009 
0010 # this imports the module that produces a reduced collections for ES alignment
0011 #from Calibration.EcalAlCaRecoProducers.EcalAlCaESAlignTrackReducer_cfi import *
0012 
0013 # this imports the filter that skims the events requiring a min number of selected tracks
0014 
0015 esSelectedTracks = cms.EDFilter("TrackSelector",
0016                                 src = cms.InputTag('generalTracks'),
0017                                 cut = cms.string("abs(eta)>1.65 && pt>1 && numberOfValidHits>=10")
0018                                 )
0019 
0020 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0021 ecalAlCaESAlignTrackReducer = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0022     src = cms.InputTag('esSelectedTracks'),
0023     filter = True, ##do not store empty events
0024     applyBasicCuts = False,
0025     ptMin = 1.0, ##GeV 
0026     etaMin = -3.5,
0027     etaMax = 3.5,
0028     nHitMin = 0
0029 )
0030 
0031 esMinTrackNumberFilter = cms.EDFilter("TrackCountFilter",
0032                                       src = cms.InputTag('ecalAlCaESAlignTrackReducer'),
0033                                       minNumber = cms.uint32(10)
0034                                       )
0035 
0036 EcalESAlignTracksSkimSeq = cms.Sequence( esSelectedTracks * ecalAlCaESAlignTrackReducer * esMinTrackNumberFilter) 
0037 
0038 seqEcalESAlign = cms.Sequence(ALCARECOEcalESAlignHLT * EcalESAlignTracksSkimSeq)
0039