Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:05:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TrackOriginAnalyzerTest")
0004 
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi.py");
0006 process.load("Configuration.StandardSequences.FakeConditions_cff")
0007 process.load("Configuration.StandardSequences.GeometryIdeal_cff")
0008 process.load("SimTracker.TrackHistory.TrackClassifier_cff")
0009 
0010 process.source = cms.Source("PoolSource",
0011     fileNames = cms.untracked.vstring('')
0012 )
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(1000)
0016 )
0017 process.trackOriginAnalyzer = cms.EDAnalyzer("QualityCutsAnalyzer",
0018     process.trackClassifier,
0019     jetTracksAssociation = cms.untracked.InputTag("ic5JetTracksAssociatorAtVertex"),
0020     # no selection whatsoever   
0021     minimumNumberOfHits = cms.untracked.int32(0),
0022     minimumTransverseMomentum = cms.untracked.double(0.0),
0023     # track categories
0024     trackQualityClass = cms.untracked.string('loose'),
0025     minimumNumberOfPixelHits = cms.untracked.int32(0),
0026     # jetTraksAssociator for optimization analysis
0027     primaryVertexProducer = cms.untracked.InputTag("offlinePrimaryVertices"),
0028     maximumChiSquared = cms.untracked.double(10000.0),
0029     # output file 
0030     rootFile = cms.untracked.string('file:test.root')
0031 )
0032 
0033 process.p = cms.Path(process.trackOriginAnalyzer)
0034