1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"MACRO")
4 process.add_(cms.Service(
"MessageLogger"))
5 process.source = cms.Source(
"EmptySource")
6 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
10 process.calibration = cms.EDAnalyzer(
11 "sistrip::EnsembleCalibrationLA",
12 InputFiles = cms.vstring([]),
13 InFileLocation = cms.string(
'/calibrationTree/tree'),
14 Samples = cms.uint32(10),
15 NBins = cms.uint32(5),
16 LowBin = cms.double(-0.16),
17 HighBin = cms.double(-0.0),
18 Prefix = cms.untracked.string(
"peak_"),
20 Methods = cms.vint32(METHOD_WIDTH.value(), METHOD_PROB1.value(), METHOD_AVGV2.value(), METHOD_AVGV3.value(), METHOD_RMSV2.value(), METHOD_RMSV3.value())
23 process.calibration.InputFiles += [
"/d1/bbetchar/LorentzAngle/calibration/ttbar_peak/calibTree_peak.root" 26 process.path = cms.Path(process.calibration)