Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FastSimulation
Validation
python
TrackValidation_HighPurity_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
#
4
# Define Validation sequence over "highPurity" tracks.
5
# For proper comparison the same requirement should be applied on FullSim as well.
6
#
7
# Tracking particle module
8
from
SimGeneral.TrackingAnalysis.trackingParticles_cfi
import
*
9
# Track Associators
10
from
SimTracker.TrackAssociatorProducers.trackAssociatorByChi2_cfi
import
*
11
from
SimTracker.TrackAssociatorPRoducers.trackAssociatorByHits_cfi
import
*
12
#new postreco sequence
13
from
SimTracker.TrackAssociation.trackMCMatch_cfi
import
*
14
from
SimTracker.TrackAssociation.trackingParticleRecoTrackAsssociation_cff
import
*
15
# Track Validator
16
from
Validation.RecoTrack.cuts_cff
import
*
17
from
Validation.RecoTrack.cutsTPEffic_cfi
import
*
18
from
Validation.RecoTrack.cutsTPFake_cfi
import
*
19
from
Validation.RecoTrack.MultiTrackValidator_cff
import
*
20
valid = cms.Sequence(cms.SequencePlaceholder(
"genParticles"
)*trackingParticles*cutsRecoTracks*cutsTPEffic*cutsTPFake*trackAssociatorByHits*multiTrackValidator)
21
#mergedtruth.simHitCollections = cms.PSet(tracker = cms.vstring("famosSimHitsTrackerHits"))
22
#mergedtruth.simHitLabel = 'famosSimHits'
23
mergedtruth.removeDeadModules = cms.bool(
False
)
24
trackAssociatorByHits.associateStrip =
False
25
trackAssociatorByHits.associatePixel =
False
26
#TrackAssociatorByHits.ROUList = ['famosSimHitsTrackerHits']
27
28
#use cutsRecoTracks
29
cutsRecoTracks.quality = [
'highPurity'
]
30
31
# pass only high purity tracks
32
multiTrackValidator.label = [
'cutsRecoTracks'
]
33
multiTrackValidator.associators = [
'trackAssociatorByHits'
]
34
multiTrackValidator.UseAssociators =
True
35
36
trackingParticles_cfi
MultiTrackValidator_cff
Config
cuts_cff
trackingParticleRecoTrackAsssociation_cff
trackMCMatch_cfi
trackAssociatorByChi2_cfi
cutsTPFake_cfi
cutsTPEffic_cfi
trackAssociatorByHits_cfi
Generated for CMSSW Reference Manual by
1.8.5