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.TrackAssociation.TrackAssociatorByChi2_cfi
import
*
11
from
SimTracker.TrackAssociation.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*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
TrackAssociatorByChi2_cfi
Config
TrackAssociatorByHits_cfi
cuts_cff
trackingParticleRecoTrackAsssociation_cff
trackMCMatch_cfi
cutsTPFake_cfi
cutsTPEffic_cfi
Generated for CMSSW Reference Manual by
1.8.5