CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ecalPulseShapeGrapher_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("ECALPULSESHAPEGRAPHER")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 
7 
8 process.source = cms.Source("PoolSource",
9  # replace 'myfile.root' with the source file you want to use
10  fileNames = cms.untracked.vstring(
11 #'/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/063/46D299E0-137F-DD11-9A92-001617E30CE8.root'
12 #'/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/095/5A984886-717F-DD11-A16F-000423D6CA6E.root'
13  '/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/096/56077B20-7B7F-DD11-B9D5-00161757BF42.root'
14 )
15 )
16 
17 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(15) )
18 
19 process.load("CaloOnlineTools.EcalTools.ecalPulseShapeGrapher_cfi")
20 
21 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
22 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
23 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
24 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
25 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
26 process.load("Geometry.EcalMapping.EcalMapping_cfi")
27 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
28 process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
29 
30 import RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi
31 #process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi.ecalMaxSampleUncalibRecHit.clone()
33 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
34 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
35 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
36 
37 process.load("Configuration.StandardSequences.MagneticField_cff")
38 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
39 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
40 
41 process.MessageLogger = cms.Service("MessageLogger",
42  #suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
43  cout = cms.untracked.PSet(
44  threshold = cms.untracked.string('WARNING')
45  ),
46  categories = cms.untracked.vstring('EcalPulseShapeGrapher'),
47  destinations = cms.untracked.vstring('cout')
48 )
49 
50 #process.TFileService = cms.Service("TFileService",
51 # fileName = cms.string('ecalBxOrbitNumberGrapher.root'),
52 # closeFileFast = cms.untracked.bool(True)
53 #)
54 
55 process.p = cms.Path(process.ecalEBunpacker*process.ecalUncalibHit*process.ecalRecHit*process.ecalPulseShapeGrapher)
56 
57 process.GlobalTag.globaltag = 'CRUZET4_V5P::All'
58 process.ecalUncalibHit.EBdigiCollection = 'ecalEBunpacker:ebDigis'
59 process.ecalUncalibHit.EEdigiCollection = 'ecalEBunpacker:eeDigis'
60 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
61 process.ecalRecHit.EBuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEB'
62 process.ecalRecHit.EEuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEE'
63 process.EcalTrivialConditionRetriever.producedEcalWeights = False
64 process.EcalTrivialConditionRetriever.producedEcalPedestals = False
65 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants = False
66 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors = False
67 process.EcalTrivialConditionRetriever.producedEcalGainRatios = False
68 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant = False
69 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection = False
70 process.EcalTrivialConditionRetriever.producedChannelStatus = cms.untracked.bool(False)
71 #process.EcalTrivialConditionRetriever.producedChannelStatus = True
72 #process.EcalTrivialConditionRetriever.channelStatusFile = 'CaloOnlineTools/EcalTools/data/listCRUZET4.v5.hashed.txt'
73 #es_prefer_EcalChannelStatus = cms.ESPrefer("EcalTrivialConditionRetriever","EcalChannelStatus")