1 import FWCore.ParameterSet.Config
as cms
3 from Validation.RecoTrack.trajectorySeedTracks_cfi
import trajectorySeedTracks
as _trajectorySeedTracks
7 _seedProducerLabels = [
"initialStepSeeds",
8 "detachedTripletStepSeeds",
9 "lowPtTripletStepSeeds",
11 "mixedTripletStepSeedsA",
12 "mixedTripletStepSeedsB",
14 "tobTecStepSeedsPair",
15 "tobTecStepSeedsTripl",
16 "jetCoreRegionalStepSeeds",
19 from Configuration.StandardSequences.Eras
import eras
20 if eras.fastSim.isChosen():
21 _seedProducerLabels.remove(
"jetCoreRegionalStepSeeds")
24 for _label
in _seedProducerLabels:
26 {0}Tracks = _trajectorySeedTracks.clone(src = cms.InputTag(\"{0}\"))
27 _moduleNames.extend([\"{0}Tracks\"])
32 trajectorySeedValidator = trackValidator.clone(
34 label = [cms.InputTag(x)
for x
in _moduleNames],
36 associators=[cms.InputTag(
"quickTrackAssociatorByHits")]
39 _line =
"trajectorySeedValidation = cms.Sequence(quickTrackAssociatorByHits+{0}+trajectorySeedValidator)".
format(
"+".
join(_moduleNames))
43 tracksAndTrajectorySeedsValidationStandalone = cms.Sequence(
44 tracksValidationStandalone +
45 trajectorySeedValidation
50 trajectorySeedValidatorSlim = trajectorySeedValidator.clone(
51 doPVAssociationPlots = cms.untracked.bool(
False),
53 trajectorySeedValidationSlim = trajectorySeedValidation.copy()
54 trajectorySeedValidationSlim.replace(trajectorySeedValidator,trajectorySeedValidatorSlim)
56 tracksAndTrajectorySeedsValidationSlim = cms.Sequence(
57 tracksValidationSlim +
58 trajectorySeedValidationSlim
static std::string join(char **cmd)