CMS 3D CMS Logo

ALCARECOSiPixelCalCosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import copy
3 
4 # DCS partitions
5 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
6 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
7 # "BPIX","FPIX","ESp","ESm"
8 import DPGAnalysis.Skims.skim_detstatus_cfi
9 ALCARECOSiPixelCalCosmicsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
10  DetectorType = cms.vstring('BPIX','FPIX'),
11  ApplyFilter = cms.bool(True),
12  AndOr = cms.bool(False), # if True put partitions in AND, otherwise in OR
13  DebugOn = cms.untracked.bool(False)
14 )
15 
17 ALCARECOSiPixelCalCosmicsHLTFilter = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
18  andOr = True,
19  eventSetupPathsKey = 'SiPixelCalCosmics',
20  throw = False # tolerate triggers stated above, but not available
21 )
22 
24 ALCARECOSiPixelCalCosmics = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
25  filter = True,
26  applyBasicCuts = True,
27  ptMin = 3.,
28  ptMax = 99999.,
29  pMin = 0.,
30  pMax = 99999.,
31  etaMin = -99.,
32  etaMax = 99.,
33  chi2nMax = 3.,
34  applyMultiplicityFilter = False,
35  applyNHighestPt = False,
36  src = 'ctfWithMaterialTracksP5',
37 )
38 ALCARECOSiPixelCalCosmics.minHitsPerSubDet.inPIXEL = 1
39 
40 # Sequence #
41 seqALCARECOSiPixelCalCosmics = cms.Sequence(ALCARECOSiPixelCalCosmicsDCSFilter*
42  ALCARECOSiPixelCalCosmicsHLTFilter*
43  ALCARECOSiPixelCalCosmics)