CMS 3D CMS Logo

ALCARECOSiStripCalCosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Set the HLT paths
5 ALCARECOSiStripCalCosmicsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, ## choose logical OR between Triggerbits
7  HLTPaths = ["HLT_*"],
8  # eventually this needs to sterred via Global Tag in AlCaRecoTriggerBits
9  #eventSetupPathsKey = 'SiStripCalCosmics',
10  throw = False # tolerate triggers stated above, but not available
11  )
12 
13 # Select only events where tracker had HV on (according to DCS bit information)
14 # AND respective partition is in the run (according to FED information)
15 import CalibTracker.SiStripCommon.SiStripDCSFilter_cfi
16 DCSStatusForSiStripCalCosmics = CalibTracker.SiStripCommon.SiStripDCSFilter_cfi.siStripDCSFilter.clone(
17  DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm'),
18  ApplyFilter = cms.bool(True),
19  AndOr = cms.bool(True),
20  DebugOn = cms.untracked.bool(False)
21  )
22 
23 # Select only good tracks
25 ALCARECOSiStripCalCosmics = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
26 
27 ALCARECOSiStripCalCosmics.filter = True ##do not store empty events
28 ALCARECOSiStripCalCosmics.src = 'ctfWithMaterialTracksP5'
29 ALCARECOSiStripCalCosmics.applyBasicCuts = True
30 ALCARECOSiStripCalCosmics.ptMin = 0. ##GeV
31 ALCARECOSiStripCalCosmics.nHitMin = 6 ## at least 6 hits required
32 ALCARECOSiStripCalCosmics.chi2nMax = 10.
33 
34 ALCARECOSiStripCalCosmics.GlobalSelector.applyIsolationtest = False
35 ALCARECOSiStripCalCosmics.GlobalSelector.applyGlobalMuonFilter = False
36 ALCARECOSiStripCalCosmics.GlobalSelector.applyJetCountFilter = False
37 
38 ALCARECOSiStripCalCosmics.TwoBodyDecaySelector.applyMassrangeFilter = False
39 ALCARECOSiStripCalCosmics.TwoBodyDecaySelector.applyChargeFilter = False
40 ALCARECOSiStripCalCosmics.TwoBodyDecaySelector.applyAcoplanarityFilter = False
41 ALCARECOSiStripCalCosmics.TwoBodyDecaySelector.applyMissingETFilter = False
42 
43 # Sequence #
44 seqALCARECOSiStripCalCosmics = cms.Sequence(ALCARECOSiStripCalCosmicsHLT*DCSStatusForSiStripCalCosmics*ALCARECOSiStripCalCosmics)
dont throw on unknown path names