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(True),
13  DebugOn = cms.untracked.bool(False)
14 )
15 
17 ALCARECOSiPixelCalCosmicsHLTFilter = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
18  andOr = True, ## choose logical OR between Triggerbits
19  HLTPaths = ["HLT_*"],
20  # eventually this needs to sterred via Global Tag in AlCaRecoTriggerBits
21  eventSetupPathsKey = '',
22  throw = False # tolerate triggers stated above, but not available
23 )
24 
26 ALCARECOSiPixelCalCosmics = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
27  filter = True,
28  applyBasicCuts = True,
29  ptMin = 3.,
30  ptMax = 99999.,
31  pMin = 0.,
32  pMax = 99999.,
33  etaMin = -99., ##-2.4 keep also what is going through...
34  etaMax = 99., ## 2.4 ...both TEC with flat slope
35  chi2nMax = 3.,
36  applyMultiplicityFilter = False,
37  applyNHighestPt = False, ## select only highest pT track
38  src = 'ctfWithMaterialTracksP5',
39 )
40 ALCARECOSiPixelCalCosmics.minHitsPerSubDet.inPIXEL = 1
41 
42 # Sequence #
43 seqALCARECOSiPixelCalCosmics = cms.Sequence(ALCARECOSiPixelCalCosmicsDCSFilter+ALCARECOSiPixelCalCosmicsHLTFilter*ALCARECOSiPixelCalCosmics)
dont throw on unknown path names