CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 # Author     : Andreas Mussgiller
00002 # Date       : July 1st, 2010
00003 # last update: $Date: 2010/07/06 11:48:22 $ by $Author: mussgill $
00004 
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 #_________________________________HLT bits___________________________________________
00008 import HLTrigger.HLTfilters.hltHighLevel_cfi
00009 ALCARECOTkAlCosmicsInCollisionsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00010     andOr = True, ## choose logical OR between Triggerbits
00011     eventSetupPathsKey = 'TkAlCosmics',
00012     throw = False # tolerate triggers not available
00013     )
00014 
00015 # DCS partitions
00016 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
00017 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
00018 # "BPIX","FPIX","ESp","ESm"
00019 import DPGAnalysis.Skims.skim_detstatus_cfi
00020 ALCARECOTkAlCosmicsInCollisionsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
00021     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
00022     ApplyFilter  = cms.bool(True),
00023     AndOr        = cms.bool(True),
00024     DebugOn      = cms.untracked.bool(False)
00025 )
00026 
00027 #________________________________Track selection____________________________________
00028 # AlCaReco for track based Alignment using Cosmic muons reconstructed by Combinatorial Track Finder
00029 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
00030 ALCARECOTkAlCosmicsInCollisions = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
00031     src = 'regionalCosmicTracks',
00032     filter = True,
00033     applyBasicCuts = True,
00034 
00035     ptMin = 0., ##10
00036     ptMax = 99999.,
00037     pMin = 4., ##10
00038     pMax = 99999.,
00039     etaMin = -99., ##-2.4 keep also what is going through...
00040     etaMax = 99., ## 2.4 ...both TEC with flat slope
00041 
00042     nHitMin = 7,
00043     nHitMin2D = 2,
00044     chi2nMax = 999999.,
00045     
00046     applyMultiplicityFilter = False,
00047     applyNHighestPt = True, ## select only highest pT track
00048     nHighestPt = 1
00049     )
00050 
00051 #________________________________Sequences____________________________________
00052 seqALCARECOTkAlCosmicsInCollisions = cms.Sequence(ALCARECOTkAlCosmicsInCollisionsHLT+ALCARECOTkAlCosmicsInCollisionsDCSFilter+ALCARECOTkAlCosmicsInCollisions)