Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:47

0001 # Author     : Gero Flucke
0002 # Date       :   July 19th, 2007
0003 # last update: $Date: 2010/03/17 18:17:34 $ by $Author: mussgill $
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 # DCS partitions
0007 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0008 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0009 # "BPIX","FPIX","ESp","ESm"
0010 import DPGAnalysis.Skims.skim_detstatus_cfi
0011 ALCARECOTkAlCosmics0TDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0012     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
0013     ApplyFilter  = cms.bool(True),
0014     AndOr        = cms.bool(True),
0015     DebugOn      = cms.untracked.bool(False)
0016 )
0017 
0018 #________________________________Track selection____________________________________
0019 # AlCaReco for track based alignment using Cosmic muons reconstructed by Combinatorial Track Finder
0020 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0021 ALCARECOTkAlCosmicsCTF0T = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0022     src = 'ctfWithMaterialTracksP5',
0023     filter = True,
0024     applyBasicCuts = True,
0025     ptMin = 0., ##10
0026     ptMax = 99999.,
0027     etaMin = -99., ##-2.4 keep also what is going through...
0028     etaMax = 99., ## 2.4 ...both TEC with flat slope
0029     nHitMin = 7,
0030     nHitMin2D = 2,
0031     chi2nMax = 999999.,
0032     applyNHighestPt = False, ## no pT measurement -> sort meaningless
0033     nHighestPt = 1,
0034     applyMultiplicityFilter = False
0035     )
0036 
0037 # AlCaReco for track based alignment using Cosmic muons reconstructed by Cosmic Track Finder
0038 # (same cuts)
0039 ALCARECOTkAlCosmicsCosmicTF0T = ALCARECOTkAlCosmicsCTF0T.clone(
0040     src = 'cosmictrackfinderP5' ## different for CTF
0041     )
0042 
0043 # AlCaReco for track based alignment using Cosmic muons reconstructed by Regional Cosmic Tracking
0044 # (same cuts)
0045 ALCARECOTkAlCosmicsRegional0T = ALCARECOTkAlCosmicsCTF0T.clone(
0046     src = 'regionalCosmicTracks'
0047     )
0048 
0049 # AlCaReco for track based alignment using Cosmic muons reconstructed by Cosmics During Collisions Algorithm
0050 # (same cuts)
0051 ALCARECOTkAlCosmicsDuringCollisions0T = ALCARECOTkAlCosmicsCTF0T.clone(
0052     src = 'cosmicDCTracks'
0053     )
0054 
0055 #________________________________Sequences____________________________________
0056 seqALCARECOTkAlCosmicsCTF0T = cms.Sequence(ALCARECOTkAlCosmicsCTF0T)
0057 seqALCARECOTkAlCosmicsCosmicTF0T = cms.Sequence(ALCARECOTkAlCosmicsCosmicTF0T)
0058 seqALCARECOTkAlCosmicsRegional0T = cms.Sequence(ALCARECOTkAlCosmicsRegional0T)
0059 seqALCARECOTkAlCosmicsDuringCollisions0T = cms.Sequence(ALCARECOTkAlCosmicsDuringCollisions0T)