ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CSCPriEff/test.py
Revision: 1.1
Committed: Mon Jul 5 23:19:30 2010 UTC (14 years, 10 months ago) by zhangjin
Content type: text/x-python
Branch: MAIN
Log Message:
initial

File Contents

# User Rev Content
1 zhangjin 1.1 import FWCore.ParameterSet.Config as cms
2     process = cms.Process("PROC")
3    
4     #process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
5     process.load("Configuration.StandardSequences.MagneticField_cff")
6     process.load("SimTracker.TrackAssociation.TrackAssociatorByChi2_cfi")
7     #process.load("SimTracker.TrackAssociation.TrackAssociatorByHits_cfi")
8     #process.load("SimTracker.TrackAssociation.trackingParticleRecoTrackAsssociation_cff")
9    
10    
11     #process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
12    
13     process.source = cms.Source('PoolSource',
14     #fileNames = cms.untracked.vstring("file:/home/zhangjin/CSCEffStudy/testCSCEff.root")
15     fileNames = cms.untracked.vstring("file:/afs/cern.ch/user/z/zhangjin/scratch0/testCSCEff.root")
16     )
17    
18     process.TrackAssociatorByChi2ESProducer.chi2cut=cms.double(25.0)
19    
20     process.TracksSelector = cms.EDFilter('CSCPriEff',
21     FileName = cms.untracked.string("TrkCands.root"),
22     LocalRun = cms.untracked.bool(True),
23     MaxDR = cms.untracked.double(0.15),
24     MaxRelpT = cms.untracked.double(0.2)
25     )
26    
27    
28     #process.p2 = cms.Path(process.trackingParticleRecoTrackAsssociation)
29     process.p = cms.Path(process.TracksSelector)
30    
31     from FWCore.MessageLogger.MessageLogger_cfi import *
32     process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
33     process.load("FWCore.MessageLogger.MessageLogger_cfi")
34     process.MessageLogger.cerr.FwkReport.reportEvery = 1000 #quench the message logger (optional)