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.load(
'Configuration.Geometry.GeometryIdeal_cff')
12 process.calibration = cms.EDAnalyzer(
13 "sistrip::EnsembleCalibrationLA",
14 InputFiles = cms.vstring([]),
15 InFileLocation = cms.string(
'/calibrationTree/tree'),
16 Samples = cms.uint32(10),
17 NBins = cms.uint32(5),
18 LowBin = cms.double(-0.16),
19 HighBin = cms.double(-0.0),
20 Prefix = cms.untracked.string(
"peak_"),
22 Methods = cms.vint32(METHOD_WIDTH.value(), METHOD_PROB1.value(), METHOD_AVGV2.value(), METHOD_AVGV3.value(), METHOD_RMSV2.value(), METHOD_RMSV3.value())
25 process.calibration.InputFiles += [
"/d1/bbetchar/LorentzAngle/calibration/ttbar_peak/calibTree_peak.root"]
27 process.path = cms.Path(process.calibration)