CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CalibTracker/SiStripLorentzAngle/python/EnsembleCalibrationLA_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("MACRO")
00004 process.add_(cms.Service("MessageLogger"))
00005 process.source = cms.Source("EmptySource")
00006 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
00007 
00008 from CalibTracker.SiStripLorentzAngle.MeasureLA_cff import METHOD_WIDTH, METHOD_PROB1, METHOD_AVGV2, METHOD_AVGV3, METHOD_RMSV2, METHOD_RMSV3
00009 
00010 process.calibration = cms.EDAnalyzer(
00011     "sistrip::EnsembleCalibrationLA",
00012     InputFiles = cms.vstring([]),
00013     InFileLocation = cms.string('/calibrationTree/tree'),
00014     Samples = cms.uint32(10),
00015     NBins = cms.uint32(5),
00016     LowBin = cms.double(-0.16),
00017     HighBin = cms.double(-0.0),
00018     Prefix = cms.untracked.string("peak_"),
00019     #MaxEvents = cms.untracked.uint32(9000),
00020     Methods = cms.vint32(METHOD_WIDTH.value(), METHOD_PROB1.value(), METHOD_AVGV2.value(), METHOD_AVGV3.value(), METHOD_RMSV2.value(), METHOD_RMSV3.value())
00021     )
00022 
00023 process.calibration.InputFiles += ["/d1/bbetchar/LorentzAngle/calibration/ttbar_peak/calibTree_peak.root"
00024                                    ]
00025 
00026 process.path = cms.Path(process.calibration)