Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EcalSelectiveReadoutValid")
0004 
0005 # Data input:
0006 process.source = cms.Source("PoolSource",
0007     fileNames = cms.untracked.vstring('/store/data/CRUZET2/Cosmics/RAW/v1/000/046/629/9A33ABCA-F037-DD11-8D85-000423D6BA18.root', 
0008         '/store/data/CRUZET2/Cosmics/RAW/v1/000/046/629/9CE2CDB9-F137-DD11-9840-000423D992DC.root', 
0009         '/store/data/CRUZET2/Cosmics/RAW/v1/000/046/629/F46E124B-F137-DD11-9FF4-000423D6B358.root')
0010 )
0011 
0012 # Number of events to process
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(1)
0015 )
0016 
0017 # ECAL data unpacker (raw to digi conversion):
0018 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0019 
0020 # Initializes  MessageLogger:
0021 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0022 process.MessageLogger.cerr.INFO.limit = 10
0023 process.MessageLogger.suppressWarning = ['ecalSelectiveReadoutValidation']
0024 
0025 # initialize magnetic field
0026 process.load("Configuration.StandardSequences.MagneticField_cff")
0027 
0028 # Geometry (Only Ecal)
0029 process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0030 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0031 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0032 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0033 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0034 
0035 # DQM services
0036 process.load("DQMServices.Core.DQM_cfg")
0037 
0038 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
0039 
0040 # Defines Ecal seletive readout validation module, ecalSelectiveReadoutValidation:
0041 process.load("Validation.EcalDigis.ecalSelectiveReadoutValidation_cfi")
0042 
0043 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0044 
0045 process.tpparams12 = cms.ESSource("EmptyESSource",
0046     recordName = cms.string('EcalTPGPhysicsConstRcd'),
0047     iovIsRunNotTime = cms.bool(True),
0048     firstValid = cms.vuint32(10)
0049 )
0050 
0051 process.p1 = cms.Path(process.ecalEBunpacker*process.ecalSelectiveReadoutValidation)
0052 
0053 process.DQM.collectorHost = ''
0054 process.ecalSelectiveReadoutValidation.EbDigiCollection = 'ecalEBunpacker:ebDigis'
0055 process.ecalSelectiveReadoutValidation.EeDigiCollection = 'ecalEBunpacker:eeDigis'
0056 process.ecalSelectiveReadoutValidation.EbSrFlagCollection = 'ecalEBunpacker:'
0057 process.ecalSelectiveReadoutValidation.EeSrFlagCollection = 'ecalEBunpacker:'
0058 process.ecalSelectiveReadoutValidation.TrigPrimCollection = 'ecalEBunpacker:EcalTriggerPrimitives'
0059 process.ecalSelectiveReadoutValidation.tpInGeV = False
0060 process.ecalSelectiveReadoutValidation.outputFile = 'srvalid_hists.root'
0061 process.ecalSelectiveReadoutValidation.histDir = ''
0062 process.ecalSelectiveReadoutValidation.histograms = [
0063     "EBEventSize", #Barrel data volume;Event size (kB);Nevts
0064     "EBHighInterestPayload", #Barrel high interest crystal data payload;Event size (kB);Nevts
0065     "EBLowInterestPayload", #ECAL Barrel low interest crystal data payload;Event size (kB);Nevts
0066     "EEEventSize", #Endcap data volume;Event size (kB);Nevts
0067     "EEHighInterestPayload", #Endcap high interest crystal data payload;Event size (kB);Nevts
0068     "EELowInterestPayload", #Endcap low interest crystal data payload;Event size (kB);Nevts
0069     "EbZeroSupp1SRFlagMap", #Trigger tower read-out with ZS threshold 1;iPhi;iEta;Event count
0070     "EcalChannelOccupancy", #ECAL crystal channel occupancy after zero suppression;iX0 / iEta0+120 / iX0 + 310;iY0 / iPhi0 (starting from 0);Event count
0071     "EcalDccEventSize", #ECAL DCC event fragment size;Dcc id; <Event size> (kB)
0072     "EcalDccEventSizeComputed", #ECAL DCC event fragment size;Dcc id; <Event size> (kB)
0073     "EcalEventSize", #ECAL data volume;Event size (kB);Nevts
0074     "EcalFullReadoutSRFlagMap", #Full Read-out trigger tower;iPhi;iEta;Event count
0075     "EcalHighInterestPayload", #ECAL high interest crystal data payload;Event size (kB);Nevts
0076     "EcalHighInterestTriggerTowerFlagMap", #High interest trigger tower flags;iPhi;iEta;Event count
0077     "EcalLowInterestPayload", #ECAL low interest crystal data payload;Event size (kB);Nevts
0078     "EcalLowInterestTriggerTowerFlagMap", #Low interest trigger tower flags;iPhi;iEta;Event count
0079     "EcalMidInterestTriggerTowerFlagMap", #Mid interest trigger tower flags;iPhi;iEta;Event count
0080     "EcalReadoutUnitForcedBitMap", #ECAL readout unit with forced bit of SR flag on;iPhi;iEta;Event count
0081     "EcalTriggerPrimitiveEt", #Trigger primitive TT E_{T};E_{T} GeV;Event Count
0082     "EcalTriggerPrimitiveEtMap", #Trigger primitive;iPhi;iEta;Event count
0083     "EcalTriggerTowerFlag", #Trigger primitive TT flag;Flag number;Event count
0084     "hEbEMean", #EE <E_hit>;event #;<E_hit> (GeV)
0085     "hEbNoZsRecVsSimE", #Crystal no-zs simulated vs reconstructed energy;Esim (GeV);Erec GeV);Event count
0086     "hEbRecE", #Crystal reconstructed energy;E (GeV);Event count
0087     "hEbRecEHitXtal", #EB rec energy of hit crystals
0088     "hEeEMean", #EE <E_hit>;event #;<E_hit> (GeV)
0089     "hEeRecE", #EE crystal reconstructed energy;E (GeV);Event count
0090     "hEeRecEHitXtal", #EE rec energy of hit crystals
0091     "hEeRecVsSimE", #EE crystal simulated vs reconstructed energy;Esim (GeV);Erec GeV);Event count
0092     "tpVsEtSum", #Trigger primitive Et (TP) vs #sumE_{T};E_{T} (sum) (GeV);E_{T} (TP) (GeV)
0093     "ttfVsEtSum", #Trigger tower flag vs #sumE_{T};E_{T}(TT) (GeV);TTF
0094     "ttfVsTp", #Trigger tower flag vs TP;E_{T}(TT) (GeV);Flag number
0095     "zsEbHiFIRemu", #Emulated ouput of ZS FIR filter for EB high interest crystals;ADC count*4;Event count
0096     "zsEbLiFIRemu", #Emulated ouput of ZS FIR filter for EB low interest crystals;ADC count*4;Event count
0097     "zsEeHiFIRemu", #Emulated ouput of ZS FIR filter for EE high interest crystals;ADC count*4;Event count
0098     "zsEeLiFIRemu", #Emulated ouput of ZS FIR filter for EE low interest crystals;ADC count*4;Event count
0099     ]