CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlCosmics_cff.py

Go to the documentation of this file.
00001 # Author     : Gero Flucke
00002 # Date       :   July 19th, 2007
00003 # last update: $Date: 2011/07/01 07:01:20 $ by $Author: mussgill $
00004 
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 # DCS partitions
00008 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
00009 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
00010 # "BPIX","FPIX","ESp","ESm"
00011 import DPGAnalysis.Skims.skim_detstatus_cfi
00012 ALCARECOTkAlCosmicsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
00013     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
00014     ApplyFilter  = cms.bool(True),
00015     AndOr        = cms.bool(True),
00016     DebugOn      = cms.untracked.bool(False)
00017 )
00018 
00019 #________________________________Track selection____________________________________
00020 # AlCaReco for track based Alignment using Cosmic muons reconstructed by Combinatorial Track Finder
00021 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
00022 ALCARECOTkAlCosmicsCTF = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
00023     src = 'ctfWithMaterialTracksP5',
00024     filter = True,
00025     applyBasicCuts = True,
00026 
00027     ptMin = 0., ##10
00028     ptMax = 99999.,
00029     pMin = 4., ##10
00030     pMax = 99999.,
00031     etaMin = -99., ##-2.4 keep also what is going through...
00032     etaMax = 99., ## 2.4 ...both TEC with flat slope
00033 
00034     nHitMin = 7,
00035     nHitMin2D = 2,
00036     chi2nMax = 999999.,
00037     
00038     applyMultiplicityFilter = False,
00039     applyNHighestPt = True, ## select only highest pT track
00040     nHighestPt = 1
00041     )
00042 
00043 # AlCaReco for track based Alignment using Cosmic muons reconstructed by Cosmic Track Finder
00044 # (same cuts)
00045 ALCARECOTkAlCosmicsCosmicTF = ALCARECOTkAlCosmicsCTF.clone(
00046     src = 'cosmictrackfinderP5' ## different for CTF
00047     )
00048 
00049 # AlCaReco for track based Alignment using Cosmic muons reconstructed by Regional Cosmic Tracking
00050 # (same cuts)
00051 ALCARECOTkAlCosmicsRegional = ALCARECOTkAlCosmicsCTF.clone(
00052     src = 'regionalCosmicTracks'
00053     )
00054 
00055 #________________________________Sequences____________________________________
00056 seqALCARECOTkAlCosmicsCTF = cms.Sequence(ALCARECOTkAlCosmicsCTF)
00057 seqALCARECOTkAlCosmicsCosmicTF = cms.Sequence(ALCARECOTkAlCosmicsCosmicTF)
00058 seqALCARECOTkAlCosmicsRegional = cms.Sequence(ALCARECOTkAlCosmicsRegional)