CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOTkAlCosmics_cff.py
Go to the documentation of this file.
1 # Author : Gero Flucke
2 # Date : July 19th, 2007
3 # last update: $Date: 2011/07/01 07:01:20 $ by $Author: mussgill $
4 
5 import FWCore.ParameterSet.Config as cms
6 
7 # DCS partitions
8 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
9 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
10 # "BPIX","FPIX","ESp","ESm"
11 import DPGAnalysis.Skims.skim_detstatus_cfi
12 ALCARECOTkAlCosmicsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
13  DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
14  ApplyFilter = cms.bool(True),
15  AndOr = cms.bool(True),
16  DebugOn = cms.untracked.bool(False)
17 )
18 
19 #________________________________Track selection____________________________________
20 # AlCaReco for track based alignment using Cosmic muons reconstructed by Combinatorial Track Finder
21 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
22 ALCARECOTkAlCosmicsCTF = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
23  src = 'ctfWithMaterialTracksP5',
24  filter = True,
25  applyBasicCuts = True,
26 
27  ptMin = 0., ##10
28  ptMax = 99999.,
29  pMin = 4., ##10
30  pMax = 99999.,
31  etaMin = -99., ##-2.4 keep also what is going through...
32  etaMax = 99., ## 2.4 ...both TEC with flat slope
33 
34  nHitMin = 7,
35  nHitMin2D = 2,
36  chi2nMax = 999999.,
37 
38  applyMultiplicityFilter = False,
39  applyNHighestPt = True, ## select only highest pT track
40  nHighestPt = 1
41  )
42 
43 # AlCaReco for track based alignment using Cosmic muons reconstructed by Cosmic Track Finder
44 # (same cuts)
45 ALCARECOTkAlCosmicsCosmicTF = ALCARECOTkAlCosmicsCTF.clone(
46  src = 'cosmictrackfinderP5' ## different for CTF
47  )
48 
49 # AlCaReco for track based alignment using Cosmic muons reconstructed by Regional Cosmic Tracking
50 # (same cuts)
51 ALCARECOTkAlCosmicsRegional = ALCARECOTkAlCosmicsCTF.clone(
52  src = 'regionalCosmicTracks'
53  )
54 
55 #________________________________Sequences____________________________________
56 seqALCARECOTkAlCosmicsCTF = cms.Sequence(ALCARECOTkAlCosmicsCTF)
57 seqALCARECOTkAlCosmicsCosmicTF = cms.Sequence(ALCARECOTkAlCosmicsCosmicTF)
58 seqALCARECOTkAlCosmicsRegional = cms.Sequence(ALCARECOTkAlCosmicsRegional)