test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EnsembleCalibrationLA_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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) )
7 
8 from CalibTracker.SiStripLorentzAngle.MeasureLA_cff import METHOD_WIDTH, METHOD_PROB1, METHOD_AVGV2, METHOD_AVGV3, METHOD_RMSV2, METHOD_RMSV3
9 
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_"),
19  #MaxEvents = cms.untracked.uint32(9000),
20  Methods = cms.vint32(METHOD_WIDTH.value(), METHOD_PROB1.value(), METHOD_AVGV2.value(), METHOD_AVGV3.value(), METHOD_RMSV2.value(), METHOD_RMSV3.value())
21  )
22 
23 process.calibration.InputFiles += ["/d1/bbetchar/LorentzAngle/calibration/ttbar_peak/calibTree_peak.root"
24  ]
25 
26 process.path = cms.Path(process.calibration)