Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:57

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MACRO")
0004 process.add_(cms.Service("MessageLogger"))
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0007 
0008 from CalibTracker.SiStripLorentzAngle.MeasureLA_cff import METHOD_WIDTH, METHOD_PROB1, METHOD_AVGV2, METHOD_AVGV3, METHOD_RMSV2, METHOD_RMSV3
0009 
0010 process.load('Configuration.Geometry.GeometryIdeal_cff')
0011 
0012 process.calibration = cms.EDAnalyzer(
0013     "sistrip::EnsembleCalibrationLA",
0014     InputFiles = cms.vstring([]),
0015     InFileLocation = cms.string('/calibrationTree/tree'),
0016     Samples = cms.uint32(10),
0017     NBins = cms.uint32(5),
0018     LowBin = cms.double(-0.16),
0019     HighBin = cms.double(-0.0),
0020     Prefix = cms.untracked.string("peak_"),
0021     #MaxEvents = cms.untracked.uint32(9000),
0022     Methods = cms.vint32(METHOD_WIDTH.value(), METHOD_PROB1.value(), METHOD_AVGV2.value(), METHOD_AVGV3.value(), METHOD_RMSV2.value(), METHOD_RMSV3.value())
0023     )
0024 
0025 process.calibration.InputFiles += ["/d1/bbetchar/LorentzAngle/calibration/ttbar_peak/calibTree_peak.root"]
0026 
0027 process.path = cms.Path(process.calibration)