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 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 # DCS partitions
0008 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0009 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0010 # "BPIX","FPIX","ESp","ESm"
0011 import DPGAnalysis.Skims.skim_detstatus_cfi
0012 ALCARECOTkAlCosmicsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0013     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
0014     ApplyFilter  = cms.bool(True),
0015     AndOr        = cms.bool(True),
0016     DebugOn      = cms.untracked.bool(False)
0017 )
0018 
0019 #________________________________Track selection____________________________________
0020 # AlCaReco for track based alignment using Cosmic muons reconstructed by Combinatorial Track Finder
0021 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0022 ALCARECOTkAlCosmicsCTF = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0023     src = 'ctfWithMaterialTracksP5',
0024     filter = True,
0025     applyBasicCuts = True,
0026 
0027     ptMin = 0., ##10
0028     ptMax = 99999.,
0029     pMin = 4., ##10
0030     pMax = 99999.,
0031     etaMin = -99., ##-2.4 keep also what is going through...
0032     etaMax = 99., ## 2.4 ...both TEC with flat slope
0033 
0034     nHitMin = 7,
0035     nHitMin2D = 2,
0036     chi2nMax = 999999.,
0037     
0038     applyMultiplicityFilter = False,
0039     applyNHighestPt = True, ## select only highest pT track
0040     nHighestPt = 1
0041     )
0042 
0043 # AlCaReco for track based alignment using Cosmic muons reconstructed by Cosmic Track Finder
0044 # (same cuts)
0045 ALCARECOTkAlCosmicsCosmicTF = ALCARECOTkAlCosmicsCTF.clone(
0046     src = 'cosmictrackfinderP5' ## different for CTF
0047     )
0048 
0049 # AlCaReco for track based alignment using Cosmic muons reconstructed by Regional Cosmic Tracking
0050 # (same cuts)
0051 ALCARECOTkAlCosmicsRegional = ALCARECOTkAlCosmicsCTF.clone(
0052     src = 'regionalCosmicTracks'
0053     )
0054 
0055 #________________________________Sequences____________________________________
0056 seqALCARECOTkAlCosmicsCTF = cms.Sequence(ALCARECOTkAlCosmicsCTF)
0057 seqALCARECOTkAlCosmicsCosmicTF = cms.Sequence(ALCARECOTkAlCosmicsCosmicTF)
0058 seqALCARECOTkAlCosmicsRegional = cms.Sequence(ALCARECOTkAlCosmicsRegional)