CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Alignment/CommonAlignmentProducer/python/ALCARECOMuAlBeamHaloOverlaps_cff.py

Go to the documentation of this file.
00001 # AlCaReco for muon based alignment using beam-halo muons in the CSC overlap regions
00002 
00003 import FWCore.ParameterSet.Config as cms
00004 
00005 import HLTrigger.HLTfilters.hltHighLevel_cfi
00006 ALCARECOMuAlBeamHaloOverlapsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00007     eventSetupPathsKey = 'MuAlBeamHaloOverlaps',
00008     throw = False # tolerate triggers not available
00009     )
00010 
00011 # DCS partitions
00012 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
00013 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
00014 # "BPIX","FPIX","ESp","ESm"
00015 import DPGAnalysis.Skims.skim_detstatus_cfi
00016 ALCARECOMuAlBeamHaloOverlapsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
00017     DetectorType = cms.vstring('CSCp','CSCm'),
00018     ApplyFilter  = cms.bool(True),
00019     AndOr        = cms.bool(False),
00020     DebugOn      = cms.untracked.bool(False)
00021 )
00022 
00023 ALCARECOMuAlBeamHaloOverlapsEnergyCut = cms.EDFilter("AlignmentCSCBeamHaloSelectorModule",
00024     filter = cms.bool(True),
00025     src = cms.InputTag("cosmicMuons"), # get cosmicMuons from global-run reconstruction
00026     minStations = cms.uint32(0), # no "energy cut" yet
00027     minHitsPerStation = cms.uint32(4)
00028 )
00029 
00030 ALCARECOMuAlBeamHaloOverlaps = cms.EDFilter("AlignmentCSCOverlapSelectorModule",
00031     filter = cms.bool(True),
00032     src = cms.InputTag("ALCARECOMuAlBeamHaloOverlapsEnergyCut"),
00033     minHitsPerChamber = cms.uint32(4),
00034     station = cms.int32(0) # all stations: I'll need to split it by station (8 subsamples) offline
00035 )
00036 
00037 seqALCARECOMuAlBeamHaloOverlaps = cms.Sequence(ALCARECOMuAlBeamHaloOverlapsHLT + ALCARECOMuAlBeamHaloOverlapsDCSFilter + ALCARECOMuAlBeamHaloOverlapsEnergyCut * ALCARECOMuAlBeamHaloOverlaps)
00038