CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOMuAlOverlaps_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 import FWCore.ParameterSet.Config as cms
3 
5 ALCARECOMuAlOverlapsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, ## choose logical OR between Triggerbits
7  eventSetupPathsKey = 'MuAlOverlaps',
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 ALCARECOMuAlOverlapsDCSFilter = 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 ALCARECOMuAlOverlaps = cms.EDFilter("AlignmentCSCOverlapSelectorModule",
24  filter = cms.bool(True),
25  src = cms.InputTag("ALCARECOMuAlOverlapsMuonSelector","StandAlone"),
26  minHitsPerChamber = cms.uint32(4),
27  station = cms.int32(0) ## all stations: the algorithm can handle multiple stations now
28 )
29 
30 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
31 ALCARECOMuAlOverlapsMuonSelector = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
32  ptMin = 3.
33  )
34 
35 seqALCARECOMuAlOverlaps = cms.Sequence(ALCARECOMuAlOverlapsHLT+ALCARECOMuAlOverlapsDCSFilter+ALCARECOMuAlOverlapsMuonSelector*ALCARECOMuAlOverlaps)