CMS 3D CMS Logo

ALCARECOMuAlBeamHaloOverlaps_cff.py
Go to the documentation of this file.
1 # AlCaReco for muon based alignment using beam-halo muons in the CSC overlap regions
2 
3 import FWCore.ParameterSet.Config as cms
4 
6 ALCARECOMuAlBeamHaloOverlapsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
7  eventSetupPathsKey = 'MuAlBeamHaloOverlaps',
8  throw = False # tolerate triggers not available
9  )
10 
11 # DCS partitions
12 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
13 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
14 # "BPIX","FPIX","ESp","ESm"
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOMuAlBeamHaloOverlapsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17  DetectorType = cms.vstring('CSCp','CSCm'),
18  ApplyFilter = cms.bool(True),
19  AndOr = cms.bool(False),
20  DebugOn = cms.untracked.bool(False)
21 )
22 
23 ALCARECOMuAlBeamHaloOverlapsEnergyCut = cms.EDFilter("AlignmentCSCBeamHaloSelectorModule",
24  filter = cms.bool(True),
25  src = cms.InputTag("cosmicMuons"), # get cosmicMuons from global-run reconstruction
26  minStations = cms.uint32(0), # no "energy cut" yet
27  minHitsPerStation = cms.uint32(1)
28 )
29 
30 ALCARECOMuAlBeamHaloOverlaps = cms.EDFilter("AlignmentCSCOverlapSelectorModule",
31  filter = cms.bool(True),
32  src = cms.InputTag("ALCARECOMuAlBeamHaloOverlapsEnergyCut"),
33  minHitsPerChamber = cms.uint32(1),
34  station = cms.int32(0) # all stations: I'll need to split it by station (8 subsamples) offline
35 )
36 
37 seqALCARECOMuAlBeamHaloOverlaps = cms.Sequence(ALCARECOMuAlBeamHaloOverlapsHLT + ALCARECOMuAlBeamHaloOverlapsDCSFilter + ALCARECOMuAlBeamHaloOverlapsEnergyCut * ALCARECOMuAlBeamHaloOverlaps)
hltHighLevel_cfi