Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:15:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ECALMIPGRAPHS")
0004 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0005 
0006 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0007 
0008 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0009 
0010 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0011 
0012 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0013 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0014 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0015 
0016 process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
0017 
0018 import RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi
0019 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi.ecalMaxSampleUncalibRecHit.clone()
0020 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
0021 
0022 process.load("CaloOnlineTools.EcalTools.ecalMipGraphs_cfi")
0023 process.load("HLTrigger.special.TriggerTypeFilter_cfi")
0024 
0025 process.source = cms.Source("PoolSource",
0026     skipEvents = cms.untracked.uint32(0),
0027     fileNames = cms.untracked.vstring(#'/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/057/289/1E1407F1-106D-DD11-97A7-000423D985E4.root'
0028 #'/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/058/359/005A40D9-1470-DD11-A2B6-001617C3B6DE.root')
0029 '/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/057/771/00D18762-386E-DD11-A081-0016177CA7A0.root')
0030 )
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(-1)
0033 )
0034 
0035 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
0036 
0037 process.load("Configuration.StandardSequences.MagneticField_cff")
0038 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
0039 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0040 
0041 process.dumpEv = cms.EDAnalyzer("EventContentAnalyzer")
0042 
0043 process.MessageLogger = cms.Service("MessageLogger",
0044     #suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
0045     cout = cms.untracked.PSet(
0046         threshold = cms.untracked.string('DEBUG')
0047     ),
0048     categories = cms.untracked.vstring('EcalMipGraphs'),
0049     destinations = cms.untracked.vstring('cout')
0050 )
0051 
0052 process.TFileService = cms.Service("TFileService",
0053   fileName = cms.string('ecalMipGraphs-57771.graph.root'),
0054   closeFileFast = cms.untracked.bool(True)
0055 )
0056 
0057 process.p = cms.Path(process.triggerTypeFilter*process.ecalEBunpacker*process.ecalUncalibHit*process.ecalRecHit*process.ecalMipGraphs)
0058 
0059 process.GlobalTag.globaltag = 'CRUZET4_V1P::All'
0060 
0061 process.ecalUncalibHit.EBdigiCollection = 'ecalEBunpacker:ebDigis'
0062 process.ecalUncalibHit.EEdigiCollection = 'ecalEBunpacker:eeDigis'
0063 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
0064 process.ecalRecHit.EBuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEB'
0065 process.ecalRecHit.EEuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEE'
0066 process.EcalTrivialConditionRetriever.producedEcalWeights = False
0067 process.EcalTrivialConditionRetriever.producedEcalPedestals = False
0068 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants = False
0069 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors = False
0070 process.EcalTrivialConditionRetriever.producedEcalGainRatios = False
0071 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant = False
0072 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection = False
0073 process.EcalTrivialConditionRetriever.producedChannelStatus = cms.untracked.bool(False)
0074 #process.EcalTrivialConditionRetriever.channelStatusFile = 'CaloOnlineTools/EcalTools/data/listCRUZET4.v2.hashed.txt'
0075 #es_prefer_EcalChannelStatus = cms.ESPrefer("EcalTrivialConditionRetriever","EcalChannelStatus")
0076 #process.ecalUncalibHit.EBdigiCollection = 'ecalEBunpacker:ebDigis'
0077 #process.ecalUncalibHit.EEdigiCollection = 'ecalEBunpacker:eeDigis'
0078 #process.ecalRecHit.ChannelStatusToBeExcluded = [1]
0079 #process.ecalRecHit.EBuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEB'
0080 #process.ecalRecHit.EEuncalibRecHitCollection = 'ecalUncalibHit:EcalUncalibRecHitsEE'
0081 process.ecalMipGraphs.amplitudeThreshold = 0.5
0082 process.triggerTypeFilter.SelectedTriggerType = 1
0083 
0084 #list of hot channels
0085 #process.ecalMipGraphs.seedCrys = (27034,27033,27032,27031,27030,27390,27391,27392,27393,27394,27754,27753,27752,27751,27750,28110,28111,28112,28113,28114,28474,28473,28471,28470,27039,27038,27037,27036,27035,27395,27396,27397,27398,27399,27759,27758,27757,27756,27755,28115,28116,28117,28118,28119,28479,28478,28477,28476,28475,19884,19883,19882,19881,19880,20240,20241,20242,20243,20244,20604,20603,20602,20601,20600,20960,20961,20962,20963,20964,21324,21323,21322,21321,21320,19889,19888,19887,19886,19885,20245,20246,20247,20248,20249,20609,20608,20607,20606,20605,20965,20966,20967,20968,20969,21329,21328,21327,21326,21325,3330,3331,3332,3333,3334,2974,2973,2972,2971,2970,2610,2611,2612,2613,2614,2254,2253,2252,2251,2250,1890,1891,1892,1893,1894,3335,3336,3337,3338,3339,2979,2978,2977,2976,2975,2615,2616,2617,2618,2619,2259,2258,2257,2256,2255,1895,1897,1898,1899,10580,10581,10582,10583,10584,10224,10223,10222,10220,9860,9861,9862,9863,9864,9504,9503,9502,9501,9500,9140,9141,9142,9143,9144,10585,10586,10587,10588,10589,10229,10228,10227,10226,10225,9865,9866,9868,9869,9509,9508,9507,9506,9505,9145,9146,9147,9148,9149,41155,41156,41157,41158,41159,40799,40798,40797,40796,40795,40435,40436,40437,40438,40439,40079,40078,40077,40076,40075,39715,39716,39718,39719,41150,41151,41152,41153,41154,40794,40793,40792,40791,40790,40430,40431,40432,40433,40434,40074,40073,40072,40071,40070,39710,39711,39712,39713,39714,57555,57556,57557,57558,57559,57199,57198,57197,57196,57195,56835,56836,56837,56838,56839,56479,56478,56477,56476,56475,56115,56116,56117,56118,56119,57550,57551,57552,57553,57554,57194,57193,57192,57191,57190,56830,56831,56832,56833,56834,56474,56472,56471,56470,56110,56111,56112,56113,56114,36329,36328,36327,36326,36325,36685,36686,36687,36688,36689,37049,37048,37047,37046,37045,37405,37406,37407,37408,37409,37769,37768,37767,37766,37765,36324,36323,36322,36321,36320,36680,36681,36682,36683,36684,37044,37043,37042,37041,37040,37400,37401,37402,37403,37404,37764,37763,37762,37761,37760,141,199,276,277,297,414,559,999,1358,1896,2847,3049,3241,3242,3243,3713,3817,4176,4177,4263,5532,6932,6972,6978,7151,7152,7169,7507,8108,8583,9867,10070,10221,10902,12256,13024,13485,14314,14502,14528,14636,14639,14663,14673,14675,15193,15323,15808,16002,16210,16675,17107,17255,20005,20040,21013,21300,21446,21740,21803,22086,22437,23286,24060,24317,24491,26832,27877,28410,28472,30079,30425,30501,32006,32564,32680,32681,32682,32683,32684,32705,33040,33041,33042,33043,33044,33101,33280,33400,33401,33402,33403,33404,33760,33761,33762,33763,33764,33964,34120,34121,34122,34123,34124,34267,34853,36669,39296,39392,39665,39717,39798,39799,39947,40247,40306,42125,42407,42769,42803,42805,43127,43980,45736,45775,45784,46144,46456,46478,46504,46506,46555,46655,46712,46845,46865,46875,46889,47137,49189,49217,49392,49867,50466,51628,52052,52058,53802,53825,53845,54073,54145,54659,54863,55038,55152,56264,56473,56818,57958,58746,60319,60679,60884,61058,61195,1,674,1413,1496,1497,2910,2911,2912,2927,2928,2929,3010,3011,3028,3029,3110,3129,4610,4629,4710,4711,4728,4729,4810,4811,4812,4827,4828,4829,6242,6243,6252,6321,6326,6327,7767,7812,7842,8063,8120,8121,8122,8123,8487,9072,9074,9075,9146,9158,9159,9230,9320,10650,10651,10652,10667,10668,10669,10750,10751,10768,10769,10850,10869,12350,12369,12450,12451,12468,12469,12550,12551,12552,12567,12568,12569,12586,12587,14061) # if you want to fix on one xtal (hashed Index)
0086 
0087 #process.ecalMipGraphs.maskedFEDs = (601, 602, 603, 604, 605, 606, 607, 608, 609,646,647,648,649,650,651,652,653,654)