Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:22

0001 import os
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 
0006 ApeEstimatorTemplate = cms.EDAnalyzer('ApeEstimator',
0007     
0008     #Input source of Tracks
0009     tjTkAssociationMapTag = cms.InputTag("TrackRefitterForApeEstimator"),
0010     
0011     #Max no. of tracks per event:
0012     # default = 0, no event selection
0013     maxTracksPerEvent = cms.uint32(0),
0014     
0015     #Perform Track Cuts
0016     applyTrackCuts = cms.bool(True),
0017     
0018     # Selection of useful hits for analysis
0019     HitSelector = cms.PSet(
0020       # FIXME: create own PSets for Pixel and Strip?
0021       
0022       #Parameters for Cuts on Strip Clusters (independent of track reconstruction, but associated to a track's hit)
0023       width = cms.vuint32(),        #interval, needs even number of arguments. for int specify one number n as interval (n,n)
0024       widthProj = cms.vdouble(),
0025       widthDiff = cms.vdouble(),
0026       charge = cms.vdouble(),
0027       edgeStrips = cms.vuint32(),   #how many strips on edge to exclude wrt. maxStrip (on both edges)
0028       maxCharge = cms.vdouble(),
0029       chargeOnEdges = cms.vdouble(),    # fraction of charge on edge strips of cluster
0030       chargeAsymmetry = cms.vdouble(),     # asymmetry of charge on edge strips of cluster
0031       chargeLRplus = cms.vdouble(),    # fraction of charge left and right from strip with maxCharge
0032       chargeLRminus = cms.vdouble(),     # asymmetry of charge left and right from strip with maxCharge
0033       maxIndex = cms.vuint32(),
0034       sOverN = cms.vdouble(),
0035       
0036       #Parameters for Cuts on Pixel Clusters (independent of track reconstruction, but associated to a track's hit)
0037       chargePixel = cms.vdouble(),
0038       widthX = cms.vuint32(),
0039       widthY = cms.vuint32(),
0040       baryStripX = cms.vdouble(),
0041       baryStripY = cms.vdouble(),
0042       clusterProbabilityXY = cms.vdouble(),
0043       clusterProbabilityQ = cms.vdouble(),
0044       clusterProbabilityXYQ = cms.vdouble(),
0045       logClusterProbability = cms.vdouble(),
0046       isOnEdge = cms.vuint32(),
0047       hasBadPixels = cms.vuint32(),
0048       spansTwoRoc = cms.vuint32(),
0049       qBin = cms.vuint32(),
0050       
0051       #Parameters for Cuts on Pixel+Strip Hits (depending on track reconstruction)
0052       phiSens = cms.vdouble(), #trajectory angle on module
0053       phiSensX = cms.vdouble(),
0054       phiSensY = cms.vdouble(),
0055       resX = cms.vdouble(),
0056       norResX = cms.vdouble(),
0057       probX = cms.vdouble(),
0058       errXHit = cms.vdouble(),
0059       errXTrk = cms.vdouble(),
0060       errX = cms.vdouble(),
0061       errX2 = cms.vdouble(),   #squared error of residuals(X)
0062       
0063       #Additional parameters for Cuts on Pixel Hits (depending on track reconstruction)
0064       resY = cms.vdouble(),
0065       norResY = cms.vdouble(),
0066       probY = cms.vdouble(),
0067       errYHit = cms.vdouble(),
0068       errYTrk = cms.vdouble(),
0069       errY = cms.vdouble(),
0070       errY2 = cms.vdouble(),   #squared error of residuals(Y)
0071     ),
0072     
0073     #Define minimum number of selected hits for track selection (choose only tracks with enough good hits)
0074     minGoodHitsPerTrack = cms.uint32(0),
0075     
0076     #File containing TrackerTree with ideal Geometry
0077     TrackerTreeFile = cms.string(os.environ['CMSSW_BASE'] + '/src/Alignment/TrackerAlignment/hists/TrackerTree.root'),
0078     
0079     #Sectors defining set of modules for common overview plots resp. APE values
0080     Sectors = cms.VPSet(),
0081     
0082     
0083     
0084     ## Tool 1: Switch on Analyzer mode with full set of overview plots
0085     analyzerMode = cms.bool(True),
0086     
0087     #Vary Histo's ranges for Overview Plots (for analyzer mode)
0088     zoomHists = cms.bool(True),
0089     
0090     #Special Filter for Residual Error Histograms, additional hists binned in 100um (1: 0-100um, 2: 100-200um), (for analyzer mode)
0091     vErrHists = cms.vuint32(),
0092     
0093     
0094     
0095     ## Tool 2: Switch on calculation of APE values
0096     calculateApe = cms.bool(False),
0097     
0098     #Define intervals in residual error for calculation of APE (one estimation per interval), (for APE calculation)
0099     residualErrorBinning = cms.vdouble(),
0100 )