CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
TrackValidation_cff Namespace Reference

Functions

def _addSeedToTrackProducers
 
def _addSelectorsByAlgo
 
def _addSelectorsByHp
 
def _addSelectorsByOriginalAlgoMask
 
def _addSelectorsBySrc
 
def _algoToSelector
 
def _getMVASelectors
 
def _getSeedingLayers
 
def _setForEra
 
def _taskForEachEra
 
def _translateArgs
 
def _uniqueFirstLayers
 

Variables

list _eleLayers = []
 
tuple _pixelTracksCustom
 
tuple _relevantEras = _cfg.allEras()
 
list _relevantErasAndFastSim = _relevantEras+[("fastSim", "_fastSim", fastSim)]
 
list _removeForFastSimSeedProducers
 
list _removeForFastTrackProducers
 
list _seedProd = ["initialStepSeedsPreSplitting"]
 First define the stuff for the standard validation sequence Track selectors. More...
 
list _seedProducers_fastSim = [ x for x in _seedProducers if x not in _removeForFastSimSeedProducers]
 
tuple _stdLayers = _getSeedingLayers(locals()["_seedProducers"+_postfix], _iterativeTk_cff)
 
list _trackProd = ["initialStepTracksPreSplitting"]
 
list _trackProducers_fastSim = [ x for x in _trackProducers if x not in _removeForFastTrackProducers]
 
tuple _trackValidatorsBase
 
tuple _trackValidatorsBasePhase2 = _trackValidatorsBase.copy()
 
tuple _trackValidatorSeedingBuilding
 
tuple ak4JetTracksAssociatorExplicitAll
 
list args = ["_selectorsByAlgoAndHpNoGenTkDupMerge"]
 Then define stuff for standalone mode (i.e. More...
 
tuple cutsRecoTracksAK4PFJets
 
tuple cutsRecoTracksBtvLike = btvTracks_cfi.btvTrackRefs.clone()
 
string cutstring = "hitPattern.trackerLayersWithMeasurement == 3"
 
 dodEdxPlots = False)
 
list doResolutionPlotsForLabels
 
tuple generalTracksEtaGreater2p7
 
tuple generalTracksFromPV
 
tuple generalTracksFromPVPt09 = generalTracksPt09.clone(src="generalTracksFromPV")
 
tuple generalTracksPt09 = cutsRecoTracks_cfi.cutsRecoTracks.clone(ptMin=0.9)
 
tuple highPtJets = cms.EDFilter("CandPtrSelector", src = cms.InputTag("ak4CaloJets"), cut = cms.string("pt()>1000"))
 
tuple highPtJetsForTrk = highPtJets.clone(src = "ak4CaloJetsForTrk")
 
list label = ["generalTracks", locals()["_generalTracksHp"+_postfix]]
 
tuple label_vertex = cms.untracked.InputTag('offlinePrimaryVertices4D')
 
tuple modifyTask = lambdatask:task.add(generalTracksPt09)
 
string names = "_selectorsByOriginalAlgo"
 
tuple nSigmaDtVertex = cms.double(3)
 
tuple pixelTracks3hits = trackRefSelector.clone( cut = cutstring )
 
tuple pixelTracks4hits = trackRefSelector.clone( cut = cutstring )
 
tuple pixelTracksFromPV = generalTracksFromPV.clone(quality = "highPurity", ptMin = 0.0, ptMax = 99999., ptErrorCut = 99999., copyExtras = True, **_pixelTracksCustom)
 
tuple pixelTracksFromPV4hits = pixelTracksFromPV.clone( numberOfValidPixelHits = 4 )
 
tuple pixelTracksFromPVPt09 = pixelTracksFromPV.clone(ptMin = 0.9)
 
tuple pixelTracksPt09 = trackRefSelector.clone( cut = cutstring )
 
tuple PixelVertexAssociatorByPositionAndTracks
 
list plainArgs = ["Pt09", "generalTracksPt09"]
 
tuple pset = getattr(trackValidatorConversion.histoProducerAlgoBlock, "TpSelectorForEfficiencyVs"+n)
 
dictionary quality
 https://cmssdt.cern.ch/lxr/source/DataFormats/TrackReco/interface/TrackBase.h#0150 More...
 
list qualityBit = value[0]
 
list qualityList = value[2]
 
list qualityName = value[1]
 
tuple quickTrackAssociatorByHitsPreSplitting = quickTrackAssociatorByHits.clone(cluster2TPSrc = "tpClusterProducerPreSplitting")
 
tuple selectors = locals()
 
tuple timeResosTag = cms.InputTag('tofPID:sigmat0')
 
tuple timesTag = cms.InputTag('tofPID:t0')
 
tuple tpClusterProducerPreSplitting = tpClusterProducer.clone(pixelClusterSrc = "siPixelClustersPreSplitting")
 
tuple trackingParticlePixelTrackAsssociation
 Pixel tracking only mode (placeholder for now) More...
 
tuple trackingParticlesBHadron = _trackingParticleBHadronRefSelector.clone()
 
tuple trackingParticlesConversion = _trackingParticleConversionRefSelector.clone()
 Select conversion TrackingParticles, and define the corresponding associator. More...
 
tuple trackingParticlesElectron
 Select electron TPs. More...
 
tuple trackingParticlesEtaGreater2p7
 Select signal TrackingParticles, and do the corresponding associations. More...
 
tuple trackingParticlesInTime
 Select in-time TrackingParticles, and do the corresponding associations. More...
 
tuple trackingParticlesSignal
 Select signal TrackingParticles, and do the corresponding associations. More...
 
tuple trackRefSelector
 
tuple trackSelector
 
tuple tracksPreValidation
 
tuple tracksPreValidationPhase2 = tracksPreValidation.copy()
 
tuple tracksPreValidationPixelTrackingOnly
 
tuple tracksPreValidationStandalone = tracksPreValidation.copy()
 
tuple tracksPreValidationTrackingOnly = tracksPreValidationStandalone.copy()
 
tuple tracksValidation
 
tuple tracksValidationLite
 
tuple tracksValidationPhase2
 
tuple tracksValidationPixelTrackingOnly
 
tuple tracksValidationSelectors
 
tuple tracksValidationSelectorsStandalone
 
tuple tracksValidationSelectorsTrackingOnly = tracksValidationSelectors.copyAndExclude([ak4JetTracksAssociatorExplicitAll,cutsRecoTracksAK4PFJets])
 TrackingOnly mode (i.e. More...
 
tuple tracksValidationStandalone
 
tuple tracksValidationTrackingOnly
 
tuple tracksValidationTruth
 
tuple tracksValidationTruthPixelTrackingOnly = tracksValidationTruth.copy()
 
tuple trackValidator
 MTV instances. More...
 
tuple trackValidatorAllTPEffic
 
tuple trackValidatorAllTPEfficStandalone
 
tuple trackValidatorAllTPEfficTrackingOnly = trackValidatorAllTPEfficStandalone.clone(cores = "highPtJetsForTrk")
 
tuple trackValidatorBHadron
 
tuple trackValidatorBHadronPixelTrackingOnly
 
tuple trackValidatorBHadronStandalone
 
tuple trackValidatorBHadronTrackingOnly = trackValidatorBHadron.clone(label = [x for x in trackValidatorTrackingOnly.label if "Pt09" not in x])
 
tuple trackValidatorBuilding
 
tuple trackValidatorBuildingPreSplitting
 
tuple trackValidatorConversion
 
tuple trackValidatorConversionStandalone
 
tuple trackValidatorConversionTrackingOnly = trackValidatorConversion.clone(label = [x for x in trackValidatorConversion.label if x not in ["ckfInOutTracksFromConversions", "ckfOutInTracksFromConversions"]])
 
tuple trackValidatorDisplaced
 
tuple trackValidatorFromPV
 
tuple trackValidatorFromPVAllTP
 
tuple trackValidatorFromPVAllTPPixelTrackingOnly
 
tuple trackValidatorFromPVAllTPStandalone
 
tuple trackValidatorFromPVAllTPTrackingOnly = trackValidatorFromPVAllTPStandalone.clone(cores = "highPtJetsForTrk")
 
tuple trackValidatorFromPVPixelTrackingOnly
 
tuple trackValidatorFromPVStandalone
 
tuple trackValidatorFromPVTrackingOnly = trackValidatorFromPVStandalone.clone(cores = "highPtJetsForTrk")
 
tuple trackValidatorGsfTracks
 
tuple trackValidatorGsfTracksStandalone
 
tuple trackValidatorJetCore
 
tuple trackValidatorJetCoreSeedingTrackingOnly
 
tuple trackValidatorLite
 Lite mode (only generalTracks and HP) More...
 
tuple trackValidatorPixelTrackingOnly
 
tuple trackValidatorSeedingPreSplittingTrackingOnly
 
tuple trackValidatorSeedingTrackingOnly
 
tuple trackValidatorsStandalone = _trackValidatorsBase.copy()
 
tuple trackValidatorStandalone
 
tuple trackValidatorsTrackingOnly = _trackValidatorsBase.copy()
 
tuple trackValidatorTPEtaGreater2p7
 
tuple trackValidatorTPPtLess09
 
tuple trackValidatorTPPtLess09Standalone
 
tuple trackValidatorTPPtLess09TrackingOnly = trackValidatorTPPtLess09Standalone.clone(cores = "highPtJetsForTrk")
 
tuple trackValidatorTrackingOnly
 

Function Documentation

def TrackValidation_cff._addSeedToTrackProducers (   seedProducers,
  modDict 
)
private

Definition at line 131 of file TrackValidation_cff.py.

132 def _addSeedToTrackProducers(seedProducers,modDict):
133  names = []
134  task = cms.Task()
135  for seed in seedProducers:
136  modName = "seedTracks"+seed
137  if modName not in modDict:
138  mod = _trajectorySeedTracks.clone(src=seed)
139  modDict[modName] = mod
140  else:
141  mod = modDict[modName]
142  names.append(modName)
143  task.add(mod)
144  return (names, task)
def TrackValidation_cff._addSelectorsByAlgo (   algos,
  modDict 
)
private

Definition at line 65 of file TrackValidation_cff.py.

References _algoToSelector().

65 
66 def _addSelectorsByAlgo(algos, modDict):
67  names = []
68  task = cms.Task()
69  for algo in algos:
70  if algo == "generalTracks":
71  continue
72  modName = _algoToSelector(algo)
73  if modName not in modDict:
74  mod = cutsRecoTracks_cfi.cutsRecoTracks.clone(
75 # src = [src],
76  algorithm=[algo]
77  )
78  modDict[modName] = mod
79  else:
80  mod = modDict[modName]
81  names.append(modName)
82  task.add(mod)
return (names, task)
def TrackValidation_cff._addSelectorsByHp (   algos,
  modDict 
)
private

Definition at line 83 of file TrackValidation_cff.py.

References _algoToSelector(), and clone().

83 
84 def _addSelectorsByHp(algos, modDict):
85  task = cms.Task()
86  names = []
87  for algo in algos:
88  modName = _algoToSelector(algo)
89  modNameHp = modName+"Hp"
90  if modNameHp not in modDict:
91  if algo == "generalTracks":
92  mod = cutsRecoTracks_cfi.cutsRecoTracks.clone(quality=["highPurity"])
93  else:
94  mod = modDict[modName].clone(quality=["highPurity"])
95  modDict[modNameHp] = mod
96  else:
97  mod = modDict[modNameHp]
98  names.append(modNameHp)
99  task.add(mod)
return (names, task)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
def TrackValidation_cff._addSelectorsByOriginalAlgoMask (   modules,
  midfix,
  algoParam,
  modDict 
)
private

Definition at line 113 of file TrackValidation_cff.py.

References clone().

114 def _addSelectorsByOriginalAlgoMask(modules, midfix, algoParam,modDict):
115  task = cms.Task()
116  names = []
117  for modName in modules:
118  if modName[-2:] == "Hp":
119  modNameNew = modName[:-2] + midfix + "Hp"
120  else:
121  modNameNew = modName + midfix
122  if modNameNew not in modDict:
123  mod = modDict[modName].clone()
124  setattr(mod, algoParam, mod.algorithm.value())
125  mod.algorithm = []
126  modDict[modNameNew] = mod
127  else:
128  mod = modDict[modNameNew]
129  names.append(modNameNew)
130  task.add(mod)
return (names, task)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
def TrackValidation_cff._addSelectorsBySrc (   modules,
  midfix,
  src,
  modDict 
)
private

Definition at line 100 of file TrackValidation_cff.py.

References clone().

101 def _addSelectorsBySrc(modules, midfix, src, modDict):
102  task = cms.Task()
103  names = []
104  for modName in modules:
105  modNameNew = modName.replace("cutsRecoTracks", "cutsRecoTracks"+midfix)
106  if modNameNew not in modDict:
107  mod = modDict[modName].clone(src=src)
108  modDict[modNameNew] = mod
109  else:
110  mod = modDict[modNameNew]
111  names.append(modNameNew)
112  task.add(mod)
return (names, task)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
def TrackValidation_cff._algoToSelector (   algo)
private

Definition at line 59 of file TrackValidation_cff.py.

Referenced by _addSelectorsByAlgo(), and _addSelectorsByHp().

59 
60 def _algoToSelector(algo):
61  sel = ""
62  if algo != "generalTracks":
63  sel = algo[0].upper()+algo[1:]
64  return "cutsRecoTracks"+sel
def TrackValidation_cff._getMVASelectors (   postfix)
private

Definition at line 240 of file TrackValidation_cff.py.

References _taskForEachEra().

241 def _getMVASelectors(postfix):
242  mvaSel = _utils.getMVASelectors(postfix)
243 
244  pset = cms.untracked.PSet()
245  for iteration, (trackProducer, classifiers) in mvaSel.items():
246  setattr(pset, trackProducer, cms.untracked.vstring(classifiers))
return pset
def TrackValidation_cff._getSeedingLayers (   seedProducers,
  config 
)
private

Definition at line 190 of file TrackValidation_cff.py.

191 def _getSeedingLayers(seedProducers, config):
192  def _findSeedingLayers(name):
193  prod = getattr(config, name)
194  if hasattr(prod, "triplets"):
195  if hasattr(prod, "layerList"): # merger
196  return prod.layerList.refToPSet_.value()
197  return _findSeedingLayers(prod.triplets.getModuleLabel())
198  elif hasattr(prod, "doublets"):
199  return _findSeedingLayers(prod.doublets.getModuleLabel())
200  label = prod.trackingRegionsSeedingLayers.getModuleLabel()
201  if label != "":
202  return label
203  return prod.seedingLayers.getModuleLabel()
204 
205  seedingLayersMerged = []
206  for seedName in seedProducers:
207  seedProd = getattr(config, seedName)
208  seedingLayersName = None
209  seedingLayers = None
210  if hasattr(seedProd, "OrderedHitsFactoryPSet"): # old seeding framework
211  seedingLayersName = seedProd.OrderedHitsFactoryPSet.SeedingLayers.getModuleLabel()
212  elif hasattr(seedProd, "seedingHitSets"): # new seeding framework
213  seedingLayersName = _findSeedingLayers(seedProd.seedingHitSets.getModuleLabel())
214  elif hasattr(seedProd, "layerList"): # FastSim:
215  seedingLayers = seedProd.layerList.value()
216  else:
217  continue
218 
219  if seedingLayersName is not None:
220  seedingLayers = getattr(config, seedingLayersName).layerList.value()
221  for layerSet in seedingLayers:
222  if layerSet not in seedingLayersMerged:
223  seedingLayersMerged.append(layerSet)
224 
return seedingLayersMerged
def TrackValidation_cff._setForEra (   module,
  eraName,
  era,
  kwargs 
)
private

Definition at line 182 of file TrackValidation_cff.py.

183 def _setForEra(module, eraName, era, **kwargs):
184  if eraName == "":
185  for key, value in kwargs.items():
186  setattr(module, key, value)
187  else:
188  era.toModify(module, **kwargs)
189 
# Seeding layer sets
def TrackValidation_cff._taskForEachEra (   function,
  args,
  names,
  task,
  modDict,
  plainArgs = [],
  modifyTask = None,
  includeFastSim = False 
)
private

Definition at line 155 of file TrackValidation_cff.py.

References _translateArgs(), callgraph.function, and modifyTask.

Referenced by _getMVASelectors().

156 def _taskForEachEra(function, args, names, task, modDict, plainArgs=[], modifyTask=None, includeFastSim=False):
157  if task[0] != "_":
158  raise Exception("Task name is expected to begin with _")
159 
160  _eras = _relevantErasAndFastSim if includeFastSim else _relevantEras
161  for eraName, postfix, _era in _eras:
162  _args = _translateArgs(args, postfix, modDict)
163  _args.extend(plainArgs)
164  ret = function(*_args, modDict=modDict)
165  if len(ret) != 2:
166  raise Exception("_taskForEachEra is expected to return 2 values, but function returned %d" % len(ret))
167  modDict[names+postfix] = ret[0]
168  modDict[task+postfix] = ret[1]
169 
170  # The task of the first era will be the default one
171  defaultTaskName = task+_eras[0][0]
172  defaultTask = modDict[defaultTaskName]
173  modDict[defaultTaskName[1:]] = defaultTask # remove leading underscore
174 
175  # Optionally modify task before applying the era
176  if modifyTask is not None:
177  for eraName, postfix, _era in _eras:
178  modifyTask(modDict[task+postfix])
179 
180  # Apply eras
181  for _eraName, _postfix, _era in _eras[1:]:
_era.toReplaceWith(defaultTask, modDict[task+_postfix])
string function
Definition: callgraph.py:50
def TrackValidation_cff._translateArgs (   args,
  postfix,
  modDict 
)
private

Definition at line 147 of file TrackValidation_cff.py.

Referenced by _taskForEachEra().

148 def _translateArgs(args, postfix, modDict):
149  ret = []
150  for arg in args:
151  if isinstance(arg, list):
152  ret.append(_translateArgs(arg, postfix, modDict))
153  else:
154  ret.append(modDict[arg+postfix])
return ret
def TrackValidation_cff._uniqueFirstLayers (   layerList)
private

Definition at line 574 of file TrackValidation_cff.py.

575 def _uniqueFirstLayers(layerList):
576  firstLayers = [layerSet.split("+")[0] for layerSet in layerList]
577  ret = []
578  for l in firstLayers:
579  if not l in ret:
580  ret.append(l)
581  # For conversions add also the mono-TEC to the list as 'TEC'
582  # is used for both matched and unmatched rphi/stereo hits
583  if l.startswith("TEC"):
584  ret.append("M"+l)
585  return ret
586 # PhotonConversionTrajectorySeedProducerFromSingleLeg keeps only the
587 # first hit of the pairs in the seed, bookkeeping those is the best we
588 # can do without major further development
589 trackValidatorConversion.histoProducerAlgoBlock.seedingLayerSets = _uniqueFirstLayers(_convLayerPairs.layerList.value())
# relax lip and tip

Variable Documentation

list TrackValidation_cff._eleLayers = []

Definition at line 229 of file TrackValidation_cff.py.

tuple TrackValidation_cff._pixelTracksCustom
Initial value:
1 = dict(
2  src = "pixelTracks",
3  vertexTag = "pixelVertices",
4 )

Definition at line 988 of file TrackValidation_cff.py.

tuple TrackValidation_cff._relevantEras = _cfg.allEras()

Definition at line 145 of file TrackValidation_cff.py.

list TrackValidation_cff._relevantErasAndFastSim = _relevantEras+[("fastSim", "_fastSim", fastSim)]

Definition at line 146 of file TrackValidation_cff.py.

list TrackValidation_cff._removeForFastSimSeedProducers
Initial value:
1 = ["initialStepSeedsPreSplitting",
2  "jetCoreRegionalStepSeeds",
3  "jetCoreRegionalStepSeedsBarrel","jetCoreRegionalStepSeedsEndcap",
4  "muonSeededSeedsInOut",
5  "muonSeededSeedsOutIn"]

Definition at line 45 of file TrackValidation_cff.py.

list TrackValidation_cff._removeForFastTrackProducers
Initial value:
1 = ["initialStepTracksPreSplitting",
2  "jetCoreRegionalStepTracks",
3  "muonSeededTracksInOut",
4  "muonSeededTracksOutIn"]

Definition at line 53 of file TrackValidation_cff.py.

list TrackValidation_cff._seedProd = ["initialStepSeedsPreSplitting"]

First define the stuff for the standard validation sequence Track selectors.

Definition at line 28 of file TrackValidation_cff.py.

list TrackValidation_cff._seedProducers_fastSim = [ x for x in _seedProducers if x not in _removeForFastSimSeedProducers]

Definition at line 51 of file TrackValidation_cff.py.

tuple TrackValidation_cff._stdLayers = _getSeedingLayers(locals()["_seedProducers"+_postfix], _iterativeTk_cff)

Definition at line 228 of file TrackValidation_cff.py.

list TrackValidation_cff._trackProd = ["initialStepTracksPreSplitting"]

Definition at line 29 of file TrackValidation_cff.py.

list TrackValidation_cff._trackProducers_fastSim = [ x for x in _trackProducers if x not in _removeForFastTrackProducers]

Definition at line 57 of file TrackValidation_cff.py.

tuple TrackValidation_cff._trackValidatorsBase
Initial value:
1 = cms.Sequence(
2  trackValidatorStandalone +
3  trackValidatorTPPtLess09Standalone +
4  trackValidatorFromPVStandalone +
5  trackValidatorFromPVAllTPStandalone +
6  trackValidatorAllTPEfficStandalone +
7  trackValidatorConversionStandalone +
8  trackValidatorGsfTracksStandalone +
9  trackValidatorBHadronStandalone
10 )

Definition at line 851 of file TrackValidation_cff.py.

tuple TrackValidation_cff._trackValidatorsBasePhase2 = _trackValidatorsBase.copy()

Definition at line 862 of file TrackValidation_cff.py.

tuple TrackValidation_cff._trackValidatorSeedingBuilding
Initial value:
1 = trackValidator.clone( # common for built tracks and seeds (in trackingOnly)
2  associators = ["quickTrackAssociatorByHits"],
3  UseAssociators = True,
4  dodEdxPlots = False,
5  doPVAssociationPlots = False,
6  doSimPlots = False,
7  doResolutionPlotsForLabels = ["disabled"],
8 )

Definition at line 529 of file TrackValidation_cff.py.

tuple TrackValidation_cff.ak4JetTracksAssociatorExplicitAll
Initial value:
1 = ak4JTA_cff.ak4JetTracksAssociatorExplicit.clone(
2  jets = "ak4PFJets"
3 )

Definition at line 279 of file TrackValidation_cff.py.

list TrackValidation_cff.args = ["_selectorsByAlgoAndHpNoGenTkDupMerge"]

Then define stuff for standalone mode (i.e.

MTV with RECO+DIGI input)

Definition at line 264 of file TrackValidation_cff.py.

tuple TrackValidation_cff.cutsRecoTracksAK4PFJets
Initial value:
1 = jetTracksAssociationToTrackRefs_cfi.jetTracksAssociationToTrackRefs.clone(
2  association = "ak4JetTracksAssociatorExplicitAll",
3  jets = "ak4PFJets",
4  correctedPtMin = 10,
5 )

Definition at line 284 of file TrackValidation_cff.py.

tuple TrackValidation_cff.cutsRecoTracksBtvLike = btvTracks_cfi.btvTrackRefs.clone()

Definition at line 275 of file TrackValidation_cff.py.

string TrackValidation_cff.cutstring = "hitPattern.trackerLayersWithMeasurement == 3"

Definition at line 1003 of file TrackValidation_cff.py.

TrackValidation_cff.dodEdxPlots = False)

Definition at line 377 of file TrackValidation_cff.py.

list TrackValidation_cff.doResolutionPlotsForLabels
Initial value:
1 = [
2  "generalTracks",
3  locals()["_generalTracksHp"+_postfix],
4  "generalTracksPt09",
5  "cutsRecoTracksBtvLike",
6  "cutsRecoTracksJetCoreRegionalStepByOriginalAlgo",
7  ]

Definition at line 389 of file TrackValidation_cff.py.

Referenced by MultiTrackValidator.MultiTrackValidator().

tuple TrackValidation_cff.generalTracksEtaGreater2p7
Initial value:
1 = cutsRecoTracks_cfi.cutsRecoTracks.clone(
2  minRapidity = cms.double(-2.7),
3  maxRapidity = cms.double( 2.7),
4  invertRapidityCut = cms.bool(True)
5 )

Definition at line 428 of file TrackValidation_cff.py.

tuple TrackValidation_cff.generalTracksFromPV
Initial value:
1 = _trackWithVertexRefSelector.clone(
2  src = "generalTracks",
3  ptMin = 0,
4  ptMax = 1e10,
5  ptErrorCut = 1e10,
6  quality = "loose",
7  vertexTag = "offlinePrimaryVertices",
8  nVertices = 1,
9  vtxFallback = False,
10  zetaVtx = 0.1, # 1 mm
11  rhoVtx = 1e10, # intentionally no dxy cut
12 )

Definition at line 318 of file TrackValidation_cff.py.

tuple TrackValidation_cff.generalTracksFromPVPt09 = generalTracksPt09.clone(src="generalTracksFromPV")

Definition at line 338 of file TrackValidation_cff.py.

tuple TrackValidation_cff.generalTracksPt09 = cutsRecoTracks_cfi.cutsRecoTracks.clone(ptMin=0.9)

Definition at line 308 of file TrackValidation_cff.py.

tuple TrackValidation_cff.highPtJets = cms.EDFilter("CandPtrSelector", src = cms.InputTag("ak4CaloJets"), cut = cms.string("pt()>1000"))

Definition at line 361 of file TrackValidation_cff.py.

tuple TrackValidation_cff.highPtJetsForTrk = highPtJets.clone(src = "ak4CaloJetsForTrk")

Definition at line 362 of file TrackValidation_cff.py.

string TrackValidation_cff.label = ["generalTracks", locals()["_generalTracksHp"+_postfix]]

Definition at line 381 of file TrackValidation_cff.py.

tuple TrackValidation_cff.label_vertex = cms.untracked.InputTag('offlinePrimaryVertices4D')

Definition at line 1167 of file TrackValidation_cff.py.

tuple TrackValidation_cff.modifyTask = lambdatask:task.add(generalTracksPt09)

Definition at line 314 of file TrackValidation_cff.py.

Referenced by _taskForEachEra().

string TrackValidation_cff.names = "_selectorsByOriginalAlgo"

Definition at line 265 of file TrackValidation_cff.py.

tuple TrackValidation_cff.nSigmaDtVertex = cms.double(3)

Definition at line 1165 of file TrackValidation_cff.py.

tuple TrackValidation_cff.pixelTracks3hits = trackRefSelector.clone( cut = cutstring )

Definition at line 1004 of file TrackValidation_cff.py.

tuple TrackValidation_cff.pixelTracks4hits = trackRefSelector.clone( cut = cutstring )

Definition at line 1007 of file TrackValidation_cff.py.

tuple TrackValidation_cff.pixelTracksFromPV = generalTracksFromPV.clone(quality = "highPurity", ptMin = 0.0, ptMax = 99999., ptErrorCut = 99999., copyExtras = True, **_pixelTracksCustom)

Definition at line 1013 of file TrackValidation_cff.py.

tuple TrackValidation_cff.pixelTracksFromPV4hits = pixelTracksFromPV.clone( numberOfValidPixelHits = 4 )

Definition at line 1019 of file TrackValidation_cff.py.

tuple TrackValidation_cff.pixelTracksFromPVPt09 = pixelTracksFromPV.clone(ptMin = 0.9)

Definition at line 1015 of file TrackValidation_cff.py.

tuple TrackValidation_cff.pixelTracksPt09 = trackRefSelector.clone( cut = cutstring )

Definition at line 1010 of file TrackValidation_cff.py.

tuple TrackValidation_cff.PixelVertexAssociatorByPositionAndTracks
Initial value:
1 = VertexAssociatorByPositionAndTracks.clone(
2  trackAssociation = "trackingParticlePixelTrackAsssociation"
3 )

Definition at line 984 of file TrackValidation_cff.py.

list TrackValidation_cff.plainArgs = ["Pt09", "generalTracksPt09"]

Definition at line 312 of file TrackValidation_cff.py.

tuple TrackValidation_cff.pset = getattr(trackValidatorConversion.histoProducerAlgoBlock, "TpSelectorForEfficiencyVs"+n)

Definition at line 591 of file TrackValidation_cff.py.

Referenced by InitialClusteringStepBase._algoName(), edm::ProcessDesc.addDefaultService(), edm::ProcessDesc.addService(), pat::TriggerObjectStandAlone.allLabels(), CompareToObjectMapRecord.analyze(), Basic2DGenericPFlowPositionCalc.Basic2DGenericPFlowPositionCalc(), edm::service::CondorStatusService.beginPost(), MixCollectionValidation.bookHistograms(), CTPPSCompositeESSource.buildOptics(), edm::ParameterSet.calculateID(), edm::CFWriter.CFWriter(), edm::eventsetup::EventSetupProvider.checkESProducerSharing(), ConversionPostprocessing.ConversionPostprocessing(), edm::ParameterTypeTraits< std::vector< std::pair< std::string, T > > >.convert(), edm::ParameterSetConverter.convertParameterSets(), edm::EventSkipperByID.create(), edm::MixingModule.createDigiAccumulators(), TkModuleGroupSelector.createModuleGroups(), CSCALCTDigiValidation.CSCALCTDigiValidation(), CSCCLCTDigiValidation.CSCCLCTDigiValidation(), CSCCLCTPreTriggerDigiValidation.CSCCLCTPreTriggerDigiValidation(), CSCCorrelatedLCTDigiValidation.CSCCorrelatedLCTDigiValidation(), CSCRecHit2DValidation.CSCRecHit2DValidation(), CSCRecHitMatcher.CSCRecHitMatcher(), CSCSegmentValidation.CSCSegmentValidation(), CSCStripDigiValidation.CSCStripDigiValidation(), CSCStubEfficiencyValidation.CSCStubEfficiencyValidation(), CSCStubResolutionValidation.CSCStubResolutionValidation(), CSCWireDigiValidation.CSCWireDigiValidation(), CTPPSDiamondDQMSource.CTPPSDiamondDQMSource(), CTPPSOpticalFunctionsESSource.CTPPSOpticalFunctionsESSource(), MCMisalignmentScaler.decodeSubDetectors(), edm::service::MessageServicePSetValidation.defaultPSet(), edm::StreamerInputSource.deserializeAndMergeWithRegistry(), edm::service::MessageServicePSetValidation.destinationPSet(), DQMAnalyzer.DQMAnalyzer(), PlotCombiner.dqmEndJob(), HeavyFlavorHarvesting.dqmEndJob(), edm::EmbeddedRootSource.dropUnwantedBranches_(), DTCalibValidation.DTCalibValidation(), DTCalibValidationFromMuons.DTCalibValidationFromMuons(), DTChamberEfficiencyTask.DTChamberEfficiencyTask(), DTEfficiencyTask.DTEfficiencyTask(), DTOccupancyEfficiency.DTOccupancyEfficiency(), DTSegmentsTask.DTSegmentsTask(), DTTrigTest.DTTrigTest(), edm.edmModuleTypeEnum(), DependencyGraph.edmModuleTypeEnum(), ElectronConversionRejectionValidator.ElectronConversionRejectionValidator(), edm::ParameterSet.eraseOrSetUntrackedParameterSet(), eventSetupComponent(), edm::PluginDescription< T >.exists_(), HLTConfigData.extract(), edm::LHEProvenanceHelper.fillCommonProcessParameterSet(), RPCAMCUnpacker.fillDescription(), PFRecoTauDiscriminationByHPSSelection.fillDescriptions(), edm.fillParameterSetBranch(), fwlite::Event.fillParameterSetRegistry(), FilterSelections.FilterSelections(), for(), edm.for(), FSQDiJetAve.FSQDiJetAve(), getHLTConfigData(), edm::service::TriggerNamesService.getTrigPaths(), GsfElectronDataAnalyzer.GsfElectronDataAnalyzer(), GsfElectronFakeAnalyzer.GsfElectronFakeAnalyzer(), GsfElectronMCAnalyzer.GsfElectronMCAnalyzer(), GsfElectronMCFakeAnalyzer.GsfElectronMCFakeAnalyzer(), HBHEStatusBitSetter.HBHEStatusBitSetter(), HcalTrigPrimDigiProducer.HcalTrigPrimDigiProducer(), Herwig7Hadronizer.Herwig7Hadronizer(), HLTInfo.HLTInfo(), HLTMuonCertSummary.HLTMuonCertSummary(), HLTOverallSummary.HLTOverallSummary(), HLTPPSPerPotTrackFilter.HLTPPSPerPotTrackFilter(), HLTPrescaleProvider.HLTPrescaleProvider(), HLTTauDQMOfflineSource.HLTTauDQMOfflineSource(), edm::PluginDescription< T >.howManyXORSubNodesExist_(), if(), HLTConfigProvider.init(), TrackToTrackComparisonHists.initialize_parameter(), edm::StreamSchedule.initializeEarlyDelete(), edm::BMixingModule.initializeGlobalCache(), PileupJetIdProducer.initializeGlobalCache(), DTROS8Unpacker.interpretRawData(), L1GtUtils.L1GtUtils(), L1TBPTX.L1TBPTX(), l1t::L1TGlobalUtil.L1TGlobalUtil(), L1TMuonBarrelTrackProducer.L1TMuonBarrelTrackProducer(), L1TowerCalibrator.L1TowerCalibrator(), L1TSync.L1TSync(), L1TSync_Offline.L1TSync_Offline(), l1tpf_calo.makeCaloLinker(), edm::MakeModuleHelper< Base >.makeModule(), edm::MakeModuleHelper< edm::stream::EDProducerAdaptorBase >.makeModule(), edm::MakeModuleHelper< edm::stream::EDFilterAdaptorBase >.makeModule(), edm::MakeModuleHelper< edm::stream::EDAnalyzerAdaptorBase >.makeModule(), edm.makeRunHelper(), MeasurementTrackerESProducer.MeasurementTrackerESProducer(), edm::service::MessageServicePSetValidation.messageLoggerPSet(), edm::MixingModule.MixingModule(), HLTConfigData.moduleEDMType(), HLTConfigData.moduleType(), MuonTrackAnalyzer.MuonTrackAnalyzer(), MuonTrackResidualAnalyzer.MuonTrackResidualAnalyzer(), NanoAODDQM.NanoAODDQM(), edm::ParameterSetConverter.noConvertParameterSets(), edm::service::MessageServicePSetValidation.noNonPSetUsage(), nonProducerComponent(), OffsetAnalyzerDQM.OffsetAnalyzerDQM(), FWFileEntry.openFile(), dqmservices::DQMStreamerReader.openFileImp_(), parameters(), fwlite::MultiChainEvent.parameterSet(), edm::ParameterSetConverter.ParameterSetConverter(), edm::PluginDescription< T >.partiallyExists_(), PFRecHitQTestHCALThresholdVsDepth.PFRecHitQTestHCALThresholdVsDepth(), PFRecHitQTestHCALTimeVsDepth.PFRecHitQTestHCALTimeVsDepth(), PFRecoTauChargedHadronProducer.PFRecoTauChargedHadronProducer(), PFTau3ProngReco.PFTau3ProngReco(), PFTauPrimaryVertexProducerBase.PFTauPrimaryVertexProducerBase(), PFTauSelectorDefinition.PFTauSelectorDefinition(), Phase1L1TJetCalibrator.Phase1L1TJetCalibrator(), PhotonDataCertification.PhotonDataCertification(), PhotonOfflineClient.PhotonOfflineClient(), PhotonPostprocessing.PhotonPostprocessing(), PhotonValidator.PhotonValidator(), edm::ParameterSet.popParameterSet(), edm::service::PrescaleService.postBeginJob(), PFJetAnalyzerDQM.prepareGenJetPlots(), PFJetAnalyzerDQM.prepareJetResponsePlots(), printTrackerMap(), edm::service::MessageServicePSetValidation.psetLists(), edm::eventsetup::NumberOfConcurrentIOVs.readConfigurationParameters(), ReferenceTrajectoryFactory.ReferenceTrajectoryFactory(), edm::RepeatingCachedRootSource.RepeatingCachedRootSource(), edm::RootFile.RootFile(), RunInfoTestESProducer.RunInfoTestESProducer(), HLTConfigData.saveTags(), edm::SecondaryEventProvider.SecondaryEventProvider(), TauJetCorrector.setParameters(), JetPartonCorrector.setParameters(), TFWLiteSelectorBasic.setupNewFile(), SiPixelDigiToRaw.SiPixelDigiToRaw(), SiStripDelayESProducer.SiStripDelayESProducer(), SiStripQualityHotStripIdentifier.SiStripQualityHotStripIdentifier(), SplittingConfigurableHisto.SplittingConfigurableHisto(), edm::service::MessageServicePSetValidation.statisticsPSet(), edm::service::MessageServicePSetValidation.suppressionLists(), SusyDQM< Mu, Ele, Jet, Met >.SusyDQM(), TkConvValidator.TkConvValidator(), topLevelPSet(), TriggerOutputBranches.triggerNames(), edm::EventBase.triggerNames_(), TriggerObjectTableProducer.TriggerObjectTableProducer(), edm::PluginDescription< T >.validate_(), edm.validateTopLevelParameterSets(), and ProvenanceDumper.work_().

dictionary TrackValidation_cff.quality
Initial value:
1 = {
2  "L" : (1,"loose", ["loose","tight","highPurity"]),
3  "T" : (2,"tight", ["tight","highPurity"]),
4  "HP" : (4,"highPurity",["highPurity"]),
5 }

https://cmssdt.cern.ch/lxr/source/DataFormats/TrackReco/interface/TrackBase.h#0150

Definition at line 1095 of file TrackValidation_cff.py.

list TrackValidation_cff.qualityBit = value[0]

Definition at line 1103 of file TrackValidation_cff.py.

list TrackValidation_cff.qualityList = value[2]

Definition at line 1104 of file TrackValidation_cff.py.

list TrackValidation_cff.qualityName = value[1]

Definition at line 1102 of file TrackValidation_cff.py.

tuple TrackValidation_cff.quickTrackAssociatorByHitsPreSplitting = quickTrackAssociatorByHits.clone(cluster2TPSrc = "tpClusterProducerPreSplitting")

Definition at line 528 of file TrackValidation_cff.py.

tuple TrackValidation_cff.selectors = locals()

Definition at line 269 of file TrackValidation_cff.py.

Referenced by muon.makeSelectorBitset(), and TrackListMerger.TrackListMerger().

tuple TrackValidation_cff.timeResosTag = cms.InputTag('tofPID:sigmat0')

Definition at line 1164 of file TrackValidation_cff.py.

tuple TrackValidation_cff.timesTag = cms.InputTag('tofPID:t0')

Definition at line 1163 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tpClusterProducerPreSplitting = tpClusterProducer.clone(pixelClusterSrc = "siPixelClustersPreSplitting")

Definition at line 527 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackingParticlePixelTrackAsssociation
Initial value:
1 = trackingParticleRecoTrackAsssociation.clone(
2  label_tr = "pixelTracks",
3  associator = "quickTrackAssociatorByHitsPreSplitting",
4 )

Pixel tracking only mode (placeholder for now)

Definition at line 980 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackingParticlesBHadron = _trackingParticleBHadronRefSelector.clone()

Definition at line 365 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackingParticlesConversion = _trackingParticleConversionRefSelector.clone()

Select conversion TrackingParticles, and define the corresponding associator.

Definition at line 347 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackingParticlesElectron
Initial value:
1 = _trackingParticleRefSelector.clone(
2  pdgId = [-11, 11],
3  signalOnly = False,
4  tip = 1e5,
5  lip = 1e5,
6  minRapidity = -10,
7  maxRapidity = 10,
8  ptMin = 0,
9 )

Select electron TPs.

Definition at line 350 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackingParticlesEtaGreater2p7
Initial value:
1 = _trackingParticleRefSelector.clone(
2  signalOnly = cms.bool(False),
3  tip = 1e5,
4  lip = 1e5,
5  minRapidity = -2.7,
6  maxRapidity = 2.7,
7  invertRapidityCut = cms.bool(True),
8  ptMin = 0,
9 )

Select signal TrackingParticles, and do the corresponding associations.

Definition at line 416 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackingParticlesInTime
Initial value:
1 = trackingParticlesSignal.clone(
2  signalOnly = False,
3  intimeOnly = True,
4 )

Select in-time TrackingParticles, and do the corresponding associations.

Definition at line 302 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackingParticlesSignal
Initial value:
1 = _trackingParticleRefSelector.clone(
2  signalOnly = True,
3  chargedOnly = False,
4  tip = 1e5,
5  lip = 1e5,
6  minRapidity = -10,
7  maxRapidity = 10,
8  ptMin = 0,
9 )

Select signal TrackingParticles, and do the corresponding associations.

Definition at line 292 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackRefSelector
Initial value:
1 = cms.EDFilter('TrackRefSelector',
2  src = cms.InputTag('pixelTracks'),
3  cut = cms.string("")
4 )

Definition at line 993 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackSelector
Initial value:
1 = cms.EDFilter('TrackSelector',
2  src = cms.InputTag('pixelTracks'),
3  cut = cms.string("")
4 )

Definition at line 998 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksPreValidation
Initial value:
1 = cms.Task(
2  highPtJetsForTrk,
3  tracksValidationSelectors,
4  tracksValidationSelectorsPt09,
5  tracksValidationSelectorsFromPV,
6  tracksValidationSelectorsFromPVPt09,
7  tracksValidationTruth,
8  trackingParticlesSignal,
9  trackingParticlesInTime,
10  trackingParticlesElectron,
11  trackingParticlesConversion
12 )

Definition at line 714 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksPreValidationPhase2 = tracksPreValidation.copy()

Definition at line 753 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksPreValidationPixelTrackingOnly
Initial value:
1 = cms.Task(
2  tracksValidationTruthPixelTrackingOnly,
3  trackingParticlesSignal)

Definition at line 1090 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksPreValidationStandalone = tracksPreValidation.copy()

Definition at line 837 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksPreValidationTrackingOnly = tracksPreValidationStandalone.copy()

Definition at line 934 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidation
Initial value:
1 = cms.Sequence(
2  trackValidator +
3  trackValidatorTPPtLess09 +
4  trackValidatorFromPV +
5  trackValidatorFromPVAllTP +
6  trackValidatorAllTPEffic +
7  trackValidatorBuilding +
8  trackValidatorBuildingPreSplitting +
9  trackValidatorConversion +
10  trackValidatorGsfTracks,
11  tracksPreValidation
12 )

Definition at line 733 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationLite
Initial value:
1 = cms.Sequence(
2  cutsRecoTracksHp +
3  trackValidatorLite,
4  tracksValidationTruth
5 )

Definition at line 1154 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationPhase2
Initial value:
1 = tracksValidation.copyAndExclude([
2  trackValidatorJetCore
3 ])

Definition at line 757 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationPixelTrackingOnly
Initial value:
1 = cms.Sequence(
2  trackValidatorPixelTrackingOnly +
3  trackValidatorFromPVPixelTrackingOnly +
4  trackValidatorFromPVAllTPPixelTrackingOnly +
5  trackValidatorBHadronPixelTrackingOnly,
6  tracksPreValidationPixelTrackingOnly
7 )

Definition at line 1141 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationSelectors
Initial value:
1 = cms.Task(
2  tracksValidationSelectorsByAlgo,
3  tracksValidationSelectorsByAlgoHp,
4  tracksValidationSelectorsByOriginalAlgo,
5  cutsRecoTracksBtvLike,
6  ak4JetTracksAssociatorExplicitAll,
7  cutsRecoTracksAK4PFJets
8 )

Definition at line 671 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationSelectorsStandalone
Initial value:
1 = cms.Task(
2  tracksValidationSelectorsByAlgoMaskStandalone,
3  tracksValidationSelectorsPt09Standalone,
4  tracksValidationSelectorsFromPVStandalone,
5  tracksValidationSelectorsFromPVPt09Standalone
6 )

Definition at line 842 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationSelectorsTrackingOnly = tracksValidationSelectors.copyAndExclude([ak4JetTracksAssociatorExplicitAll,cutsRecoTracksAK4PFJets])

TrackingOnly mode (i.e.

MTV with DIGI input + tracking-only reconstruction)

Definition at line 879 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationStandalone
Initial value:
1 = cms.Sequence(
2  ak4PFL1FastL2L3CorrectorChain +
3  trackValidatorsStandalone,
4  tracksPreValidationStandalone,
5  tracksValidationSelectorsStandalone
6 )

Definition at line 869 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationTrackingOnly
Initial value:
1 = cms.Sequence(
2  trackValidatorsTrackingOnly,
3  tracksPreValidationTrackingOnly,
4  tracksValidationSelectorsStandalone,
5  tracksValidationSeedSelectorsTrackingOnly
6 )

Definition at line 971 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationTruth
Initial value:
1 = cms.Task(
2  tpClusterProducer,
3  tpClusterProducerPreSplitting,
4  trackAssociatorByChi2,
5  quickTrackAssociatorByHits,
6  quickTrackAssociatorByHitsPreSplitting,
7  trackingParticleRecoTrackAsssociation,
8  VertexAssociatorByPositionAndTracks,
9  trackingParticleNumberOfLayersProducer
10 )

Definition at line 702 of file TrackValidation_cff.py.

tuple TrackValidation_cff.tracksValidationTruthPixelTrackingOnly = tracksValidationTruth.copy()

Definition at line 1079 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidator
Initial value:
1 = Validation.RecoTrack.MultiTrackValidator_cfi.multiTrackValidator.clone(
2  useLogPt = cms.untracked.bool(True),
3  dodEdxPlots = True,
4  doPVAssociationPlots = True
5  #,minpT = cms.double(-1)
6  #,maxpT = cms.double(3)
7  #,nintpT = cms.int32(40)
8 )

MTV instances.

Definition at line 368 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorAllTPEffic
Initial value:
1 = trackValidator.clone(
2  dirName = "Tracking/TrackAllTPEffic/",
3  label = [x for x in trackValidator.label.value() if "Pt09" not in x],
4  doSimPlots = False,
5  doRecoTrackPlots = True, # Fake rate of all tracks vs. all TPs is already included in trackValidator, but we want the reco plots for other reasons
6  doPVAssociationPlots = False,
7  doResolutionPlotsForLabels = ["disabled"], # resolution plots are the same as in "trackValidator"
8 )

Definition at line 509 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorAllTPEfficStandalone
Initial value:
1 = trackValidatorAllTPEffic.clone(
2  label = [ x for x in trackValidator.label.value() if x not in ["cutsRecoTracksBtvLike", "cutsRecoTracksAK4PFJets"] and "Pt09" not in x],
3  cores = "highPtJets"
4 )

Definition at line 817 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorAllTPEfficTrackingOnly = trackValidatorAllTPEfficStandalone.clone(cores = "highPtJetsForTrk")

Definition at line 932 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorBHadron
Initial value:
1 = trackValidator.clone(
2  dirName = "Tracking/TrackBHadron/",
3  label_tp_effic = "trackingParticlesBHadron",
4  label_tp_effic_refvector = True,
5  doSimPlots = True,
6  doRecoTrackPlots = False, # Fake rate is defined wrt. all TPs, and that is already included in trackValidator
7  dodEdxPlots = False,
8 )

Definition at line 630 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorBHadronPixelTrackingOnly
Initial value:
1 = trackValidatorPixelTrackingOnly.clone(
2  dirName = "Tracking/PixelTrackBHadron/",
3  label = [
4  "pixelTracks", "pixelTracksPt09",
5  "pixelTracksL", "pixelTracks3hitsL", "pixelTracks4hitsL",
6  "pixelTracksT", "pixelTracks3hitsT", "pixelTracks4hitsT",
7  "pixelTracksHP", "pixelTracks3hitsHP", "pixelTracks4hitsHP",
8  ],
9  label_tp_effic = "trackingParticlesBHadron",
10  label_tp_effic_refvector = True,
11  doSimPlots = True,
12  doRecoTrackPlots = False, # Fake rate is defined wrt. all TPs, and that is already included in trackValidator
13  dodEdxPlots = False,
14 )

Definition at line 1064 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorBHadronStandalone
Initial value:
1 = trackValidatorBHadron.clone(
2  label = [x for x in trackValidatorStandalone.label if "Pt09" not in x],
3  cores = "highPtJets"
4 )

Definition at line 827 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorBHadronTrackingOnly = trackValidatorBHadron.clone(label = [x for x in trackValidatorTrackingOnly.label if "Pt09" not in x])

Definition at line 927 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorBuilding
Initial value:
1 = _trackValidatorSeedingBuilding.clone(
2  dirName = "Tracking/TrackBuilding/",
3  doMVAPlots = True,
4  doResolutionPlotsForLabels = ['jetCoreRegionalStepTracks'],
5 )

Definition at line 537 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorBuildingPreSplitting
Initial value:
1 = trackValidatorBuilding.clone(
2  associators = ["quickTrackAssociatorByHitsPreSplitting"],
3  doMVAPlots = False,
4  doSummaryPlots = False,
5 )

Definition at line 542 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorConversion
Initial value:
1 = trackValidator.clone(
2  dirName = "Tracking/TrackConversion/",
3  label = [
4  "convStepTracks",
5  "conversionStepTracks",
6  "ckfInOutTracksFromConversions",
7  "ckfOutInTracksFromConversions",
8  ],
9  label_tp_effic = "trackingParticlesConversion",
10  label_tp_effic_refvector = True,
11  associators = ["quickTrackAssociatorByHits"],
12  UseAssociators = True,
13  doSimPlots = True,
14  dodEdxPlots = False,
15  doPVAssociationPlots = False,
16  calculateDrSingleCollection = False,
17 )

Definition at line 556 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorConversionStandalone
Initial value:
1 = trackValidatorConversion.clone(
2  label = [x for x in trackValidatorConversion.label if x != "convStepTracks"],
3  cores = "highPtJets"
4 )

Definition at line 822 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorConversionTrackingOnly = trackValidatorConversion.clone(label = [x for x in trackValidatorConversion.label if x not in ["ckfInOutTracksFromConversions", "ckfOutInTracksFromConversions"]])

Definition at line 925 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorDisplaced
Initial value:
1 = trackValidator.clone(
2  dirName = "Tracking/TrackDisplaced/",
3  label = [x for x in trackValidator.label.value() if ("Pt09" not in x) and ("BtvLike" not in x) and ("AK4PFJets" not in x)],
4  ptMaxTP = 1e5,
5  dodEdxPlots = False,
6  invertRapidityCutTP = False,
7  histoProducerAlgoBlock = dict(
8  TpSelectorForEfficiencyVsPt = dict(ptMin=0.005, signalOnly=True, tip=1e5, lip=1e5), # enough to set min pT here
9  TpSelectorForEfficiencyVsEta = dict(ptMin=0.005, signalOnly=True, tip=1e5, lip=1e5), # enough to set min pT here
10  TpSelectorForEfficiencyVsPhi = dict(ptMin=0.005, signalOnly=True, tip=1e5, lip=1e5),
11  TpSelectorForEfficiencyVsVTXR = dict(ptMin=0.005, signalOnly=True, tip=1e5, lip=1e5),
12  TpSelectorForEfficiencyVsVTXZ = dict(ptMin=0.005, signalOnly=True, tip=1e5, lip=1e5),
13  generalTpSelector = dict(ptMin=0.005, signalOnly=True, tip=1e5, lip=1e5),
14  minDxy = -60,
15  maxDxy = 60,
16  nintDxy = 120,
17  minDz = -30,
18  maxDz = 30,
19  nintDz = 60,
20  ),
21  signalOnlyTP = True,
22  lipTP = 1e5,
23  tipTP = 1e5,
24 )

Definition at line 645 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorFromPV
Initial value:
1 = trackValidator.clone(
2  dirName = "Tracking/TrackFromPV/",
3  label_tp_effic = "trackingParticlesSignal",
4  label_tp_fake = "trackingParticlesSignal",
5  label_tp_effic_refvector = True,
6  label_tp_fake_refvector = True,
7  trackCollectionForDrCalculation = "generalTracksFromPV",
8  doPlotsOnlyForTruePV = True,
9  doPVAssociationPlots = False,
10  doResolutionPlotsForLabels = ["disabled"],
11 )

Definition at line 478 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorFromPVAllTP
Initial value:
1 = trackValidatorFromPV.clone(
2  dirName = "Tracking/TrackFromPVAllTP/",
3  label_tp_effic = trackValidator.label_tp_effic.value(),
4  label_tp_fake = trackValidator.label_tp_fake.value(),
5  label_tp_effic_refvector = False,
6  label_tp_fake_refvector = False,
7  doSimPlots = False,
8  doSimTrackPlots = False,
9  doResolutionPlotsForLabels = ["disabled"], # resolution plots are the same as in "trackValidatorFromPV"
10 )

Definition at line 497 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorFromPVAllTPPixelTrackingOnly
Initial value:
1 = trackValidatorFromPVPixelTrackingOnly.clone(
2  dirName = "Tracking/PixelTrackFromPVAllTP/",
3  label_tp_effic = trackValidatorPixelTrackingOnly.label_tp_effic.value(),
4  label_tp_fake = trackValidatorPixelTrackingOnly.label_tp_fake.value(),
5  label_tp_effic_refvector = False,
6  label_tp_fake_refvector = False,
7  doSimPlots = False,
8  doSimTrackPlots = False,
9 )

Definition at line 1055 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorFromPVAllTPStandalone
Initial value:
1 = trackValidatorFromPVAllTP.clone(
2  label = trackValidatorFromPVStandalone.label.value(),
3  cores = "highPtJets"
4 
5 )

Definition at line 812 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorFromPVAllTPTrackingOnly = trackValidatorFromPVAllTPStandalone.clone(cores = "highPtJetsForTrk")

Definition at line 931 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorFromPVPixelTrackingOnly
Initial value:
1 = trackValidatorPixelTrackingOnly.clone(
2  dirName = "Tracking/PixelTrackFromPV/",
3  label = [
4  "pixelTracksFromPV", "pixelTracksFromPVPt09", "pixelTracksFromPV4hits",
5  "pixelTracksFromPVL", "pixelTracksFromPVT", "pixelTracksFromPVHP",
6  "pixelTracksFromPVPt09L", "pixelTracksFromPVPt09T", "pixelTracksFromPVPt09HP",
7  "pixelTracksFromPV4hitsL", "pixelTracksFromPV4hitsT", "pixelTracksFromPV4hitsHP",
8  ],
9  label_tp_effic = "trackingParticlesSignal",
10  label_tp_fake = "trackingParticlesSignal",
11  label_tp_effic_refvector = True,
12  label_tp_fake_refvector = True,
13  trackCollectionForDrCalculation = "pixelTracksFromPV",
14  doPlotsOnlyForTruePV = True,
15  doPVAssociationPlots = False,
16  doResolutionPlotsForLabels = ["disabled"],
17 )

Definition at line 1038 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorFromPVStandalone
Initial value:
1 = trackValidatorFromPV.clone(
2  cores = "highPtJets"
3 )

Definition at line 805 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorFromPVTrackingOnly = trackValidatorFromPVStandalone.clone(cores = "highPtJetsForTrk")

Definition at line 930 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorGsfTracks
Initial value:
1 = trackValidatorConversion.clone(
2  dirName = "Tracking/TrackGsf/",
3  label = ["electronGsfTracks"],
4  label_tp_effic = "trackingParticlesElectron",
5 )

Definition at line 596 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorGsfTracksStandalone
Initial value:
1 = trackValidatorGsfTracks.clone(
2  cores = "highPtJets"
3 )

Definition at line 832 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorJetCore
Initial value:
1 = trackValidator.clone(#equivalent to trackBuilding case
2  dirName = "Tracking/JetCore/",
3  useLogPt = cms.untracked.bool(True),
4  dodEdxPlots = False,
5  associators= ["trackAssociatorByChi2"],#cms.untracked.VInputTag('MTVTrackAssociationByChi2'),
6  UseAssociators = True,
7  doPVAssociationPlots = True,
8  label_tp_effic = "trackingParticlesInTime",
9  label_tp_fake = "trackingParticlesInTime",
10  label_tp_effic_refvector = True,
11  label_tp_fake_refvector = True,
12 )

Definition at line 606 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorJetCoreSeedingTrackingOnly
Initial value:
1 = trackValidatorSeedingTrackingOnly.clone(
2  dirName = "Tracking/JetCore/TrackSeeding/",
3  associators = ["trackAssociatorByChi2"],
4  UseAssociators = True,
5  doSeedPlots = True,
6 )

Definition at line 905 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorLite
Initial value:
1 = trackValidator.clone(
2  label = ["generalTracks", "cutsRecoTracksHp"]
3 )

Lite mode (only generalTracks and HP)

Definition at line 1151 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorPixelTrackingOnly
Initial value:
1 = trackValidator.clone(
2  dirName = "Tracking/PixelTrack/",
3  label = [
4  "pixelTracks", "pixelTracksPt09", "pixelTracks3hits", "pixelTracks4hits",
5  "pixelTracksL", "pixelTracksPt09L", "pixelTracks3hitsL", "pixelTracks4hitsL",
6  "pixelTracksT", "pixelTracksPt09T", "pixelTracks3hitsT", "pixelTracks4hitsT",
7  "pixelTracksHP", "pixelTracksPt09HP", "pixelTracks3hitsHP", "pixelTracks4hitsHP",
8  ],
9  doResolutionPlotsForLabels = [],
10  trackCollectionForDrCalculation = "pixelTracks",
11  associators = ["trackingParticlePixelTrackAsssociation"],
12  label_vertex = "pixelVertices",
13  vertexAssociator = "PixelVertexAssociatorByPositionAndTracks",
14  dodEdxPlots = False,
15  cores = cms.InputTag(""),
16 )

Definition at line 1022 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorSeedingPreSplittingTrackingOnly
Initial value:
1 = trackValidatorSeedingTrackingOnly.clone(
2  associators = ["quickTrackAssociatorByHitsPreSplitting"],
3  label = _seedSelectorsPreSplitting,
4  doSummaryPlots = False,
5 
6 )

Definition at line 898 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorSeedingTrackingOnly
Initial value:
1 = _trackValidatorSeedingBuilding.clone(
2  dirName = "Tracking/TrackSeeding/",
3  label = _seedSelectors,
4  doSeedPlots = True,
5  doResolutionPlotsForLabels = [ "seedTracksjetCoreRegionalStepSeeds" ]
6 )

Definition at line 890 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorsStandalone = _trackValidatorsBase.copy()

Definition at line 866 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorStandalone
Initial value:
1 = trackValidator.clone(
2  cores = "highPtJets"
3 )

Definition at line 795 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorsTrackingOnly = _trackValidatorsBase.copy()

Definition at line 938 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorTPEtaGreater2p7
Initial value:
1 = trackValidator.clone(
2  dirName = "Tracking/TrackTPEtaGreater2p7/",
3  label_tp_effic = "trackingParticlesEtaGreater2p7",
4  label_tp_fake = "trackingParticlesEtaGreater2p7",
5  label_tp_effic_refvector = True,
6  label_tp_fake_refvector = True,
7  dodEdxPlots = False,
8 # doPVAssociationPlots = False,
9  minRapidityTP = -2.7,
10  maxRapidityTP = 2.7,
11  invertRapidityCutTP = True,
12 # ptMaxTP = 0.9, # set maximum pT globally
13  histoProducerAlgoBlock = dict(
14  TpSelectorForEfficiencyVsPt = dict(ptMin=0.005,minRapidity=-2.7,maxRapidity=2.7,invertRapidityCut=True), # enough to set min pT here
15  TpSelectorForEfficiencyVsEta = dict(ptMin=0.005,minRapidity=-2.7,maxRapidity=2.7,invertRapidityCut=True), # enough to set min pT here
16  TpSelectorForEfficiencyVsPhi = dict(ptMin=0.005,minRapidity=-2.7,maxRapidity=2.7,invertRapidityCut=True),
17  TpSelectorForEfficiencyVsVTXR = dict(ptMin=0.005,minRapidity=-2.7,maxRapidity=2.7,invertRapidityCut=True),
18  TpSelectorForEfficiencyVsVTXZ = dict(ptMin=0.005,minRapidity=-2.7,maxRapidity=2.7,invertRapidityCut=True),
19  generalTpSelector = dict(ptMin=0.005,minRapidity=-2.7,maxRapidity=2.7,invertRapidityCut=True),
20 # minEta = -4.5,
21 # maxEta = 4.5,
22 # nintEta = 90,
23  # minPt = 0.01,
24  ),
25  doSimPlots = True, # ####same as in trackValidator, no need to repeat here
26  doRecoTrackPlots = True, # ####fake rates are same as in trackValidator, no need to repeat here
27  doResolutionPlotsForLabels = ["disabled"] # resolutions are same as in trackValidator, no need to repeat here
28 )

Definition at line 441 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorTPPtLess09
Initial value:
1 = trackValidator.clone(
2  dirName = "Tracking/TrackTPPtLess09/",
3  label = [x for x in trackValidator.label.value() if ("Pt09" not in x) and ("BtvLike" not in x) and ("AK4PFJets" not in x)],
4  ptMaxTP = 0.9, # set maximum pT globally
5  histoProducerAlgoBlock = dict(
6  TpSelectorForEfficiencyVsEta = dict(ptMin=0.05), # enough to set min pT here
7  TpSelectorForEfficiencyVsPhi = dict(ptMin=0.05),
8  TpSelectorForEfficiencyVsVTXR = dict(ptMin=0.05),
9  TpSelectorForEfficiencyVsVTXZ = dict(ptMin=0.05),
10  ),
11  doSimPlots = False, # same as in trackValidator, no need to repeat here
12  doRecoTrackPlots = False, # fake rates are same as in trackValidator, no need to repeat here
13  doResolutionPlotsForLabels = ["disabled"], # resolutions are same as in trackValidator, no need to repeat here
14 )

Definition at line 400 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorTPPtLess09Standalone
Initial value:
1 = trackValidatorTPPtLess09.clone(
2  cores = "highPtJets"
3 )

Definition at line 798 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorTPPtLess09TrackingOnly = trackValidatorTPPtLess09Standalone.clone(cores = "highPtJetsForTrk")

Definition at line 929 of file TrackValidation_cff.py.

tuple TrackValidation_cff.trackValidatorTrackingOnly
Initial value:
1 = trackValidatorStandalone.clone(
2  label = [ x for x in trackValidatorStandalone.label if x != "cutsRecoTracksAK4PFJets"],
3  cores = "highPtJetsForTrk"
4  )

Definition at line 885 of file TrackValidation_cff.py.