CMS 3D CMS Logo

ALCARECOEcalESAlign_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # this imports the module that produces a reduced collections for ES alignment
4 #from Calibration.EcalAlCaRecoProducers.EcalAlCaESAlignTrackReducer_cfi import *
5 
6 # this imports the filter that skims the events requiring a min number of selected tracks
7 
8 esSelectedTracks = cms.EDFilter("TrackSelector",
9  src = cms.InputTag('generalTracks'),
10  cut = cms.string("abs(eta)>1.7 && abs(eta)<2.3 && pt>1 && numberOfValidHits>=10")
11  )
12 
14 ecalAlCaESAlignTrackReducer = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
15  src = cms.InputTag('esSelectedTracks'),
16  filter = True, ##do not store empty events
17  applyBasicCuts = False,
18  ptMin = 1.0, ##GeV
19  etaMin = -3.5,
20  etaMax = 3.5,
21  nHitMin = 0
22 )
23 
24 esMinTrackNumberFilter = cms.EDFilter("TrackCountFilter",
25  src = cms.InputTag('ecalAlCaESAlignTrackReducer'),
26  minNumber = cms.uint32(10)
27  )
28 
29 EcalESAlignTracksSkimSeq = cms.Sequence( esSelectedTracks * ecalAlCaESAlignTrackReducer * esMinTrackNumberFilter)
30 
31 seqEcalESAlign = cms.Sequence(EcalESAlignTracksSkimSeq)
32 
dont throw on unknown path names