Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:15

0001 # AlCaReco for track based alignment using min. bias events
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 ALCARECOTkAlJetHTHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006     andOr = True, ## choose logical OR between Triggerbits
0007     eventSetupPathsKey = 'TkAlJetHTHLT',
0008     throw = False # tolerate triggers stated above, but not available
0009     )
0010 
0011 # DCS partitions
0012 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0013 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0014 # "BPIX","FPIX","ESp","ESm"
0015 import DPGAnalysis.Skims.skim_detstatus_cfi
0016 ALCARECOTkAlJetHTDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0017     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
0018     ApplyFilter  = cms.bool(True),
0019     AndOr        = cms.bool(True),
0020     DebugOn      = cms.untracked.bool(False)
0021 )
0022 
0023 import FWCore.Modules.preScaler_cfi
0024 ALCARECOTkAlJetHTPrescaler = FWCore.Modules.preScaler_cfi.preScaler.clone(
0025     prescaleFactor = cms.int32(10), # selects one event out of 10
0026     prescaleOffset = cms.int32(1)
0027 )
0028     
0029 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0030 ALCARECOTkAlJetHT = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0031     filter = True, ##do not store empty events  
0032     applyBasicCuts = True,
0033     ptMin = 0.65, ##GeV
0034     pMin = 1.5, ##GeV
0035     etaMin = -3.5,
0036     etaMax = 3.5,
0037     nHitMin = 7 ## at least 7 hits required
0038 )
0039 
0040 ALCARECOTkAlJetHT.GlobalSelector.applyIsolationtest = False
0041 ALCARECOTkAlJetHT.GlobalSelector.applyGlobalMuonFilter = False
0042 ALCARECOTkAlJetHT.TwoBodyDecaySelector.applyMassrangeFilter = False
0043 ALCARECOTkAlJetHT.TwoBodyDecaySelector.applyChargeFilter = False
0044 ALCARECOTkAlJetHT.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0045 
0046 seqALCARECOTkAlJetHT = cms.Sequence(ALCARECOTkAlJetHTHLT+ALCARECOTkAlJetHTDCSFilter+ALCARECOTkAlJetHTPrescaler*ALCARECOTkAlJetHT)
0047 
0048 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0049 phase2_tracker.toModify(ALCARECOTkAlJetHT, etaMin = -4, etaMax = 4)