Functions | |
def | getFill |
Variables | |
string | acommand = 'cmscond_list_iov -c frontier://PromptProd/CMS_COND_31X_BEAMSPOT -P /afs/cern.ch/cms/DB/conddb -t ' |
list | afill = aline[1] |
tuple | aIOV = IOV() |
tuple | aline = line.split() |
tuple | begintime = time.mktime( time.strptime(line.split()[0] + " " + line.split()[1] + " " + line.split()[2],"%Y.%m.%d %H:%M:%S %Z") ) |
tuple | bntuple = spot() |
string | datafilename = "tmp_beamspot.dat" |
tuple | endtime = time.mktime( time.strptime(line.split()[0] + " " + line.split()[1] + " " + line.split()[2],"%Y.%m.%d %H:%M:%S %Z") ) |
list | files = tmp[1] |
dictionary | FillList = {} |
string | firstRun = "0:0" |
tuple | fntuple = TFile( 'bntuple.root', 'RECREATE' ) |
getDBdata = True | |
list | ibeam = listbeam[ii] |
int | iline = 0 |
tuple | input = open(option.data +"/"+f) |
string | IOVbase = 'lumibase' |
list | iovlist = [] |
jline = iline | |
string | lastRun = "4999999999:4999999999" |
line = ibeam.IOVBeginTime | |
tuple | linedata = line.split() |
list | listbeam = [] |
tuple | listmap = readBeamSpotFile(datafilename,listbeam,IOVbase,firstRun,lastRun) |
string | otherArgs = '' |
tuple | output = open(datafilename,"w") |
passiov = False | |
passline = False | |
list | run0 = aline[3] |
list | run1 = aline[5] |
tuple | runsfile = open("FillandRuns.txt") |
tuple | status = commands.getstatusoutput( acommand ) |
tuple | tbyIOV = TTree( 'byIOV', 'beam spot data by IOV' ) |
tuple | tbylumi = TTree( 'bylumi', 'beam spot data lumi by lumi' ) |
tuple | tbyrun = TTree( 'byrun', 'beam spot data by run' ) |
tuple | tmp = commands.getstatusoutput("ls "+option.data) |
tuple | tmpfile = open(datafilename,'w') |
list | tmplistiov = tmpstatus[1] |
tuple | tmplumi = unpack(iIOV.since) |
int | tmplumifirst = 1 |
int | tmplumilast = 9999999 |
tuple | tmprun = unpack(iIOV.since) |
tmprunfirst = firstRun | |
tmprunlast = lastRun | |
tuple | tmpstatus = commands.getstatusoutput( acommand ) |
tuple | totlines = len(tmplistiov) |
weightedlist = listbeam | |
def ntuplemaker.getFill | ( | json, | |
run | |||
) |
Definition at line 56 of file ntuplemaker.py.
string ntuplemaker.acommand = 'cmscond_list_iov -c frontier://PromptProd/CMS_COND_31X_BEAMSPOT -P /afs/cern.ch/cms/DB/conddb -t ' |
Definition at line 177 of file ntuplemaker.py.
Definition at line 81 of file ntuplemaker.py.
tuple ntuplemaker.aIOV = IOV() |
Definition at line 194 of file ntuplemaker.py.
tuple ntuplemaker.aline = line.split() |
Definition at line 80 of file ntuplemaker.py.
tuple ntuplemaker.begintime = time.mktime( time.strptime(line.split()[0] + " " + line.split()[1] + " " + line.split()[2],"%Y.%m.%d %H:%M:%S %Z") ) |
Definition at line 305 of file ntuplemaker.py.
tuple ntuplemaker.bntuple = spot() |
Definition at line 103 of file ntuplemaker.py.
string ntuplemaker.datafilename = "tmp_beamspot.dat" |
Definition at line 154 of file ntuplemaker.py.
tuple ntuplemaker.endtime = time.mktime( time.strptime(line.split()[0] + " " + line.split()[1] + " " + line.split()[2],"%Y.%m.%d %H:%M:%S %Z") ) |
Definition at line 307 of file ntuplemaker.py.
Definition at line 260 of file ntuplemaker.py.
dictionary ntuplemaker.FillList = {} |
Definition at line 76 of file ntuplemaker.py.
ntuplemaker.firstRun = "0:0" |
Definition at line 163 of file ntuplemaker.py.
tuple ntuplemaker.fntuple = TFile( 'bntuple.root', 'RECREATE' ) |
Definition at line 104 of file ntuplemaker.py.
ntuplemaker.getDBdata = True |
Definition at line 158 of file ntuplemaker.py.
Definition at line 295 of file ntuplemaker.py.
int ntuplemaker.iline = 0 |
Definition at line 184 of file ntuplemaker.py.
Referenced by CSCCLCTData.dataWord(), SRBlockFormatter.DigiToRaw(), TCCBlockFormatter.DigiToRaw(), MatacqProducer.loadOrbitOffset(), TextToRaw.produce(), and CSCTMBScope.UnpackScope().
tuple ntuplemaker.input = open(option.data +"/"+f) |
Definition at line 266 of file ntuplemaker.py.
string ntuplemaker.IOVbase = 'lumibase' |
Definition at line 162 of file ntuplemaker.py.
tuple ntuplemaker.iovlist = [] |
Definition at line 182 of file ntuplemaker.py.
Referenced by EcalCondDBInterface.fetchLMFRunIOV().
ntuplemaker.jline = iline |
Definition at line 190 of file ntuplemaker.py.
ntuplemaker.lastRun = "4999999999:4999999999" |
Definition at line 164 of file ntuplemaker.py.
ntuplemaker.line = ibeam.IOVBeginTime |
Definition at line 304 of file ntuplemaker.py.
tuple ntuplemaker.linedata = line.split() |
Definition at line 192 of file ntuplemaker.py.
list ntuplemaker.listbeam = [] |
Definition at line 277 of file ntuplemaker.py.
tuple ntuplemaker.listmap = readBeamSpotFile(datafilename,listbeam,IOVbase,firstRun,lastRun) |
Definition at line 280 of file ntuplemaker.py.
string ntuplemaker.otherArgs = '' |
Definition at line 206 of file ntuplemaker.py.
tuple ntuplemaker.output = open(datafilename,"w") |
Definition at line 262 of file ntuplemaker.py.
ntuplemaker.passiov = False |
Definition at line 217 of file ntuplemaker.py.
ntuplemaker.passline = False |
Definition at line 183 of file ntuplemaker.py.
Definition at line 82 of file ntuplemaker.py.
Definition at line 83 of file ntuplemaker.py.
tuple ntuplemaker.runsfile = open("FillandRuns.txt") |
Definition at line 77 of file ntuplemaker.py.
tuple ntuplemaker.status = commands.getstatusoutput( acommand ) |
Definition at line 245 of file ntuplemaker.py.
Referenced by HcalChannelQualityXml::_ChannelQuality._ChannelQuality(), XMLProcessor._toXMLCh(), addFilesWithFork(), ESTimingTask.analyze(), CSCTFAnalyzer.analyze(), BasicHepMCValidation.analyze(), DTNoiseCalibration.analyze(), MCEfficiencyAnalyzer.analyze(), WriteL1TriggerObjetsXml.analyze(), FixTrackHitPattern.analyze(), L1Validator.analyze(), L1TCSCTF.analyze(), FWCaloDataHistProxyBuilder.assertCaloDataSlice(), gen::PhotosInterface.attachParticles(), HcalMonitorClient.beginRun(), HcalDeadCellMonitor.bookHistograms(), HcalDigiMonitor.bookHistograms(), HcalDetDiagLEDMonitor.bookHistograms(), HcalDetDiagPedestalMonitor.bookHistograms(), HcalDetDiagLaserMonitor.bookHistograms(), EcalBoundaryInfoCalculator< EcalDetId >.boundaryRecHits(), gen::AMPTHadronizer.build_ampt(), TtSemiLepHypHitFit.buildHypo(), TtSemiLepHypKinFit.buildHypo(), TtFullHadHypKinFit.buildHypo(), CaloGeometryHelper.buildNeighbourArray(), PFMETBenchmark.calculateQuantities(), EcalRecHitWorkerRecover.checkChannelStatus(), pat::UserData.checkDictionaries(), QTestStatusChecker.checkGlobalStatus(), lhef::LHEEvent.checkHepMCTree(), HFTimingTrust.checkHFTimErr(), SiPixelFedCablingTree.checkNumbering(), EcalBoundaryInfoCalculator< EBDetId >.checkRecHitHasDeadNeighbour(), HcalDetDiagPedestalMonitor.CheckStatus(), EgammaHLTNxNClusterProducer.checkStatusOfEcalRecHit(), HLTEcalResonanceFilter.checkStatusOfEcalRecHit(), HLTRegionalEcalResonanceFilter.checkStatusOfEcalRecHit(), cond.className(), RFIOFile.close(), NuclearVertexBuilder.closestApproach(), dtCalibration::DTVDriftSegment.compute(), HFShower.compute(), HDShower.compute(), EMShower.compute(), EcalHitMaker.configureGeometry(), ErrorChecker.conversionError(), dtCalibration::DTTTrigFillWithAverage.correction(), dtCalibration::DTTTrigMatchRPhi.correction(), dtCalibration::DTT0FillDefaultFromDB.correction(), dtCalibration::DTTTrigConstantShift.correction(), dtCalibration::DTT0AbsoluteReferenceCorrection.correction(), dtCalibration::DTT0ChamberReferenceCorrection.correction(), dtCalibration::DTT0FillChamberFromDB.correction(), dtCalibration::DTT0FEBPathCorrection.correction(), dtCalibration::DTT0WireInChamberReferenceCorrection.correction(), dtCalibration::DTTTrigT0SegCorrection.correction(), dtCalibration::DTTTrigResidualCorrection.correction(), TMatacq.countBadPulses(), ThePEG::HepMCConverter< HepMCEventT, Traits >.createParticle(), DDIsValid(), gen::TauolappInterface.decay(), gen::EvtGenLHCInterface.decay(), LzmaFile.DecodeAll(), LzmaFile.DecodeBuffer(), dtCalibration::DTT0AbsoluteReferenceCorrection.defaultT0(), dtCalibration::DTT0ChamberReferenceCorrection.defaultT0(), dtCalibration::DTT0WireInChamberReferenceCorrection.defaultT0(), dtCalibration::DTT0FEBPathCorrection.defaultT0(), Demangle.Demangle(), ora::ClassUtils.demangledName(), EcalHitMaker.diagonalEdge(), doBZ2Compression(), edm::EDLooperBase.doDuringLoop(), PulseChiSqSNNLS.DoFit(), SiPixelGainCalibrationAnalysis.doFits(), EmissionVetoHook1.doVetoFSREmission(), EmissionVetoHook1.doVetoISREmission(), doZlibCompression(), PFECALHashNavigator.ecalNeighbArray(), DTVDriftWriter.endJob(), DTT0Correction.endJob(), DTTTrigCorrection.endJob(), LogicTool< RBCLogic >.endjob(), edm::EventProcessor.endOfLoop(), TMatacq.enterdata(), ErrorChecker.errorDetId(), ESRecHitAnalyticAlgo.EvalAmplitude(), ESRecHitFitAlgo.EvalAmplitude(), ESRecHitSimAlgo.evalAmplitude(), PhysicsTools::MVAComputer.evalInternal(), ExternalLHEProducer.executeScript(), EcalHitMaker.fastInsideCell(), MuScleFitPlotter.fillGen(), Py8toJetInput.fillJetAlgoInput(), PFElectronTranslator.fillMVAValueMap(), TrackingQualityChecker.fillTrackingStatus(), TrackingQualityChecker.fillTrackingStatusAtLumi(), PythiaFilterIsolatedTrack.filter(), PythiaFilterTTBar.filter(), EcalDeadCellBoundaryEnergyFilter.filter(), Phase2Tracker::Phase2TrackerFEDBuffer.findChannels(), HepMCValidationHelper.findFSRPhotons(), findGenParticleForMCEmbedding(), L1GtVhdlWriterCore.findObjectType(), UnbinnedLikelihoodFit.fit(), TtFullHadKinFitter::KinFit.fit(), BSFitter.Fit_d0phi(), PixelDataFormatter.formatRawData(), Phase2Tracker::Phase2TrackerFEDHeader.frontendStatus(), EcalBoundaryInfoCalculator< EcalDetId >.gapRecHits(), GaussNoiseProducerFP420.generate(), pat::PATObject< ObjectType >.genParticleById(), DTTtrig.get(), DTMtime.get(), Py8toJetInput.getAncestor(), dtCalibration::DTTTrigFillWithAverage.getAverage(), edm::EventPrincipal.getByProductID(), ESTrivialConditionRetriever.getChannelStatusFromConfiguration(), EcalTrivialConditionRetriever.getChannelStatusFromConfiguration(), EcalDeadCellTriggerPrimitiveFilter.getChannelStatusMaps(), EcalDeadCellDeltaRFilter.getChannelStatusMaps(), cscdqm::Summary.GetEfficiencyHW(), PixelSLinkDataInputSource.getEventNumberFromFillWords(), edm::Principal.getForOutput(), HLTTauMCProducer.getGenDecayProducts(), CrossingPtBasedLinearizationPointFinder.getLinearizationPoint(), TrackingUtility.getMEStatus(), SiStripUtility.getMEStatus(), DTStatusFlagHandler.getNewObjects(), DTDeadFlagHandler.getNewObjects(), DTMtimeHandler.getNewObjects(), DTRangeT0Handler.getNewObjects(), DTReadOutMappingHandler.getNewObjects(), DTPerformanceHandler.getNewObjects(), DTT0Handler.getNewObjects(), DTTPGParametersHandler.getNewObjects(), DTTtrigHandler.getNewObjects(), FedRawDataInputSource.getNextEvent(), edm::Principal.getProvenance(), cscdqm::Summary.GetReportingArea(), SiPixelUtility.getStatus(), DQMStore.getStatus(), edm::EventPrincipal.getThinnedAssociation(), EcalTrivialConditionRetriever.getTrgChannelStatusFromConfiguration(), XrdAdaptor::ClientRequest.HandleResponse(), DelayedClose.HandleResponseWithHosts(), XrdAdaptor::RequestManager::OpenHandler.HandleResponseWithHosts(), GenParticlesHelper.hasAncestor(), HcalDetDiagLaserClient.hasErrors_Temp(), HcalDetDiagLaserClient.hasWarnings_Temp(), HcalDetDiagLaserClient.HcalDetDiagLaserClient(), CalorimetryManager.HDShowerSimulation(), Generator.HepMC2G4(), HcalHFStatusBitFromRecHits.hfSetFlagFromRecHits(), HcalDetDiagLaserClient.htmlOutput(), InduceChargeFP420.induce(), fireworks::Context.initEveElements(), RBCBasicConfig.initialise(), TTUBasicConfig.initialise(), RBCLogicUnit.initialise(), TTULogicUnit.initialise(), LogicTool< RBCLogic >.initialise(), RPCWheel.initialise(), RBCEmulator.initialise(), TTUEmulator.initialise(), XrdAdaptor::RequestManager.initialize(), Pythia8Hadronizer.initializeForExternalPartons(), Pythia8Hadronizer.initializeForInternalPartons(), edm::ParameterDescriptionCases< T >.insert(), edm::ParameterSwitchBase.insertAndCheckLabels(), MBUEandQCDValidation.isCharged(), HepMCValidationHelper.isChargedLepton(), EcalDeadCellDeltaRFilter.isCloseToBadEcalChannel(), AnomalousECALVariables.isDeadEcalCluster(), GenParticlesHelper.isDirect(), MBUEandQCDValidation.isNeutral(), HepMCValidationHelper.isNeutrino(), MBUEandQCDValidation.isNeutrino(), npstat.isNonDecreasing(), npstat.isNonIncreasing(), cscdqm::Summary.IsPhysicsReady(), npstat.isStrictlyDecreasing(), npstat.isStrictlyIncreasing(), FFTJetProducer.iterateJetReconstruction(), PFRecoTauDiscriminationAgainstElectronDeadECAL.loopXtals(), main(), lhef::LHEEvent.makeHepMCParticle(), gen.GeneratorAnalyzer.GeneratorAnalyzer.makeMCInfo(), EcalUncalibRecHitMultiFitAlgo.makeRecHit(), reco::MCMatchSelector< T1, T2 >.MCMatchSelector(), MergeRootfile(), PulseChiSqSNNLS.Minimize(), CaloGeometryHelper.move(), FedRawDataInputSource.nextEvent(), ESRecHitSimAlgo.oldEvalAmplitude(), ESRecHitSimAlgo.oldreconstruct(), XrdFile.open(), XrdAdaptor::RequestManager::OpenHandler.open(), TEcnaRead.OpenRootFile(), TEcnaRun.OpenRootFile(), TSCBLBuilderNoMaterial.operator()(), GenJetParticleSelector.operator()(), trigger::TriggerObject.particle(), FFTJetCorrectionProducer.performPileupSubtraction(), pos::PixelDetectorConfig.PixelDetectorConfig(), SymmetryFit.pol2_from_pol2(), SymmetryFit.pol2_from_pol3(), edm::OccurrenceTraits< EventPrincipal, BranchActionStreamBegin >.postPathSignal(), HepMCFileReader.printEvent(), TMatacq.printitermatacqData(), PrimaryVertexAnalyzer4PU.printPVTrks(), RBCChamberORLogic.process(), RPCWheel.process(), edm::EventProcessor.processEvent(), WeakEffectsWeightProducer.produce(), PseudoTopProducer.produce(), TtSemiLepKinFitProducer< LeptonCollection >.produce(), ISRGammaWeightProducer.produce(), ISRWeightProducer.produce(), PdfWeightProducer.produce(), PFElectronTranslator.produce(), RPCUnpackingModule.produce(), CSCTFUnpacker.produce(), PFPhotonTranslator.produce(), FlavorHistoryProducer.produce(), l1t::GenToInputProducer.produce(), RPCTechnicalTrigger.produce(), FFTJetProducer.produce(), EcalTrivialConditionRetriever.produceEcalDAQTowerStatus(), EcalTrivialConditionRetriever.produceEcalDCSTowerStatus(), ecaldqm::CalibrationSummaryClient.producePlots(), ecaldqm::SummaryClient.producePlots(), Herwig6Hadronizer.pythiaStatusCode(), StoreEcalCondition.readEcalChannelStatusFromFile(), DTReadOutMapping.readOutToGeometry(), FedRawDataInputSource.readSupervisor(), IOInput.readv(), EcalDCSTowerStatusXMLTranslator.readXML(), EcalDAQTowerStatusXMLTranslator.readXML(), ESRecHitAnalyticAlgo.reconstruct(), ESRecHitSimAlgo.reconstruct(), ESRecHitFitAlgo.reconstruct(), XrdAdaptor::RequestManager.requestFailure(), gen::Cascade2Hadronizer.residualDecay(), gen::Pythia6Hadronizer.residualDecay(), TEcnaRootFile.ReStart(), L1GtVhdlWriterCore.returnConditionsOfOneClass(), dqmservices::TriggerSelector::TreeElement.returnStatus(), Pythia8PartonSelector.run(), run_script(), ecaldqm::RawDataTask.runOnRawData(), DQMStore.save(), SiStripInformationExtractor.selectColor(), SiStripInformationExtractor.selectImage(), HcalSourcePositionData.set(), DTStatusFlag.setCellDead(), DTDeadFlag.setCellDead_HV(), DTDeadFlag.setCellDead_RO(), DTDeadFlag.setCellDead_TP(), DTDeadFlag.setCellDiscCat(), DTStatusFlag.setCellFEMask(), DTStatusFlag.setCellNoHV(), DTStatusFlag.setCellNoise(), DTStatusFlag.setCellTDCMask(), DTStatusFlag.setCellTrigMask(), ESRecHitSimAlgo.setChannelStatus(), ESRecHitAnalyticAlgo.setChannelStatus(), ESRecHitFitAlgo.setChannelStatus(), FWLegoViewBase.setContext(), EcalDeadCellTriggerPrimitiveFilter.setEvtRecHitstatus(), EcalDeadCellTriggerPrimitiveFilter.setEvtTPstatus(), ESDigitizer.setGain(), EcalTBHodoscopePlaneRawHits.setHit(), reco::CSCHaloData.SetHLTBit(), FFTJetProducer.setJetStatusBit(), MonDelaysTTDat.setTaskStatus(), MonPedestalsOnlineDat.setTaskStatus(), MonPedestalOffsetsDat.setTaskStatus(), MonLed1Dat.setTaskStatus(), MonLaserIRedDat.setTaskStatus(), MonLaserGreenDat.setTaskStatus(), MonLed2Dat.setTaskStatus(), MonLaserRedDat.setTaskStatus(), MonLaserBlueDat.setTaskStatus(), MonPNPedDat.setTaskStatus(), MonMemChConsistencyDat.setTaskStatus(), MonCrystalConsistencyDat.setTaskStatus(), MonPedestalsDat.setTaskStatus(), MonTestPulseDat.setTaskStatus(), MonTTConsistencyDat.setTaskStatus(), MonMemTTConsistencyDat.setTaskStatus(), MonPNBlueDat.setTaskStatus(), MonPNIRedDat.setTaskStatus(), MonPNRedDat.setTaskStatus(), MonPNLed1Dat.setTaskStatus(), MonPNGreenDat.setTaskStatus(), MonPNMGPADat.setTaskStatus(), MonPNLed2Dat.setTaskStatus(), ITimingDat.setTaskStatus(), HBHETimingShapedFlagSetter.SetTimingShapedFlags(), Utils.stringMatch(), pftools::Utils.StringMatch(), SymmetryFit.symmetryChi2(), TEcnaRootFile.TEcnaRootFile(), CSCFitAFEBThr.ThresholdNoise(), HBHETimingShapedFlagSetter.timingStatus(), TMatacq.TMatacq(), HLTPerformanceInfo.totalPathCPUTime(), HLTPerformanceInfo.totalPathTime(), edm.typeDemangle(), pat::UserHolder< T >.typeName_(), HcaluLUTTPGCoder.update(), edm::service::CondorStatusService.updateChirp(), PulseChiSqSNNLS.updateCov(), CrossingPtBasedLinearizationPointFinder.useAllTracks(), PixelDataFormatter.word2digi(), cscdqm::Summary.Write(), npstat::LinInterpolatedTableND< Numeric, Axis >.write(), EPOS::IO_EPOS.write_event(), gs.writeCompressedStringArchive(), and gs.writeStringArchive().
Definition at line 117 of file ntuplemaker.py.
tuple ntuplemaker.tbylumi = TTree( 'bylumi', 'beam spot data lumi by lumi' ) |
Definition at line 105 of file ntuplemaker.py.
tuple ntuplemaker.tbyrun = TTree( 'byrun', 'beam spot data by run' ) |
Definition at line 129 of file ntuplemaker.py.
tuple ntuplemaker.tmp = commands.getstatusoutput("ls "+option.data) |
Definition at line 259 of file ntuplemaker.py.
tuple ntuplemaker.tmpfile = open(datafilename,'w') |
Definition at line 214 of file ntuplemaker.py.
Definition at line 179 of file ntuplemaker.py.
tuple ntuplemaker.tmplumi = unpack(iIOV.since) |
Definition at line 243 of file ntuplemaker.py.
int ntuplemaker.tmplumifirst = 1 |
Definition at line 220 of file ntuplemaker.py.
int ntuplemaker.tmplumilast = 9999999 |
Definition at line 221 of file ntuplemaker.py.
tuple ntuplemaker.tmprun = unpack(iIOV.since) |
Definition at line 242 of file ntuplemaker.py.
Referenced by AlcaBeamSpotManager.createWeightedPayloads().
tuple ntuplemaker.tmprunfirst = firstRun |
Definition at line 218 of file ntuplemaker.py.
tuple ntuplemaker.tmprunlast = lastRun |
Definition at line 219 of file ntuplemaker.py.
tuple ntuplemaker.tmpstatus = commands.getstatusoutput( acommand ) |
Definition at line 178 of file ntuplemaker.py.
tuple ntuplemaker.totlines = len(tmplistiov) |
Definition at line 185 of file ntuplemaker.py.
tuple ntuplemaker.weightedlist = listbeam |
Definition at line 334 of file ntuplemaker.py.