CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ApeEstimator_cfi.py
Go to the documentation of this file.
1 import os
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 
6 ApeEstimatorTemplate = cms.EDAnalyzer('ApeEstimator',
7 
8  #Input source of Tracks
9  tjTkAssociationMapTag = cms.InputTag("TrackRefitterForApeEstimator"),
10 
11  #Max no. of tracks per event:
12  # default = 0, no event selection
13  maxTracksPerEvent = cms.uint32(0),
14 
15  #Perform Track Cuts
16  applyTrackCuts = cms.bool(True),
17 
18  # Selection of useful hits for analysis
19  HitSelector = cms.PSet(
20  # FIXME: create own PSets for Pixel and Strip?
21 
22  #Parameters for Cuts on Strip Clusters (independent of track reconstruction, but associated to a track's hit)
23  width = cms.vuint32(), #interval, needs even number of arguments. for int specify one number n as interval (n,n)
24  widthProj = cms.vdouble(),
25  widthDiff = cms.vdouble(),
26  charge = cms.vdouble(),
27  edgeStrips = cms.vuint32(), #how many strips on edge to exclude wrt. maxStrip (on both edges)
28  maxCharge = cms.vdouble(),
29  chargeOnEdges = cms.vdouble(), # fraction of charge on edge strips of cluster
30  chargeAsymmetry = cms.vdouble(), # asymmetry of charge on edge strips of cluster
31  chargeLRplus = cms.vdouble(), # fraction of charge left and right from strip with maxCharge
32  chargeLRminus = cms.vdouble(), # asymmetry of charge left and right from strip with maxCharge
33  maxIndex = cms.vuint32(),
34  sOverN = cms.vdouble(),
35 
36  #Parameters for Cuts on Pixel Clusters (independent of track reconstruction, but associated to a track's hit)
37  chargePixel = cms.vdouble(),
38  widthX = cms.vuint32(),
39  widthY = cms.vuint32(),
40  baryStripX = cms.vdouble(),
41  baryStripY = cms.vdouble(),
42  clusterProbabilityXY = cms.vdouble(),
43  clusterProbabilityQ = cms.vdouble(),
44  clusterProbabilityXYQ = cms.vdouble(),
45  logClusterProbability = cms.vdouble(),
46  isOnEdge = cms.vuint32(),
47  hasBadPixels = cms.vuint32(),
48  spansTwoRoc = cms.vuint32(),
49  qBin = cms.vuint32(),
50 
51  #Parameters for Cuts on Pixel+Strip Hits (depending on track reconstruction)
52  phiSens = cms.vdouble(), #trajectory angle on module
53  phiSensX = cms.vdouble(),
54  phiSensY = cms.vdouble(),
55  resX = cms.vdouble(),
56  norResX = cms.vdouble(),
57  probX = cms.vdouble(),
58  errXHit = cms.vdouble(),
59  errXTrk = cms.vdouble(),
60  errX = cms.vdouble(),
61  errX2 = cms.vdouble(), #squared error of residuals(X)
62 
63  #Additional parameters for Cuts on Pixel Hits (depending on track reconstruction)
64  resY = cms.vdouble(),
65  norResY = cms.vdouble(),
66  probY = cms.vdouble(),
67  errYHit = cms.vdouble(),
68  errYTrk = cms.vdouble(),
69  errY = cms.vdouble(),
70  errY2 = cms.vdouble(), #squared error of residuals(Y)
71  ),
72 
73  #Define minimum number of selected hits for track selection (choose only tracks with enough good hits)
74  minGoodHitsPerTrack = cms.uint32(0),
75 
76  #File containing TrackerTree with ideal Geometry
77  TrackerTreeFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/TrackerAlignment/hists/TrackerTree.root'),
78 
79  #Sectors defining set of modules for common overview plots resp. APE values
80  Sectors = cms.VPSet(),
81 
82 
83 
84  ## Tool 1: Switch on Analyzer mode with full set of overview plots
85  analyzerMode = cms.bool(True),
86 
87  #Vary Histo's ranges for Overview Plots (for analyzer mode)
88  zoomHists = cms.bool(True),
89 
90  #Special Filter for Residual Error Histograms, additional hists binned in 100um (1: 0-100um, 2: 100-200um), (for analyzer mode)
91  vErrHists = cms.vuint32(),
92 
93 
94 
95  ## Tool 2: Switch on calculation of APE values
96  calculateApe = cms.bool(False),
97 
98  #Define intervals in residual error for calculation of APE (one estimation per interval), (for APE calculation)
99  residualErrorBinning = cms.vdouble(),
100 )