CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
plotBeamSpotDB Namespace Reference

Functions

def SetStyle
 

Variables

string acommand = 'cmscond_list_iov -c '
 
tuple aIOV = IOV()
 
 atime = ibeam.IOVBeginTime
 
string Banner = "CMS Preliminary"
 
list cvlist = []
 
tuple da = TDatime(time.strftime('%Y-%m-%d %H:%M:%S',ptm))
 
tuple da_first = TDatime(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(first - time.timezone)))
 
tuple da_last = TDatime(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(last - time.timezone)))
 
string datafilename = "tmp_beamspot.dat"
 
int datax = 0
 
tuple dataxerr = (float(last) - float(first))
 Comment out this block if running on Mac ##. More...
 
int datay = 0
 
 datayerr = ibeam.Xerr
 
list files = tmp[1]
 
 first = ibeam.IOVfirst
 
string firstRun = "0"
 
 getDBdata = True
 
list graphlist = []
 
list graphnamelist = ['X','Y','Z','SigmaZ','dxdz','dydz','beamWidthX', 'beamWidthY']
 
list graphtitlelist = ['beam spot X','beam spot Y','beam spot Z','beam spot #sigma_Z','beam spot dX/dZ','beam spot dY/dZ','beam width X','beam width Y']
 
string graphXaxis = 'Run number'
 
list graphYaxis = ['beam spot X [cm]','beam spot Y [cm]','beam spot Z [cm]', 'beam spot #sigma_{Z} [cm]', 'beam spot dX/dZ', 'beam spot dY/dZ','beam width X [cm]', 'beam width Y [cm]']
 
list ibeam = listbeam[ii]
 
int iline = 0
 
tuple input = open(option.data +"/"+f)
 
string IOVbase = 'runbase'
 
list iovlist = []
 
int ipoint = 0
 
 jline = iline
 
 last = ibeam.IOVlast
 
string lastRun = "4999999999"
 
tuple linedata = line.split()
 
list listbeam = []
 
tuple listmap = readBeamSpotFile(datafilename,listbeam,IOVbase,firstRun,lastRun)
 
string mydestdb = 'frontier://PromptProd/CMS_COND_31X_BEAMSPOT'
 
 offset_daylight = time.timezone-time.altzone
 
string otherArgs = ''
 
tuple output = open(datafilename,"w")
 
tuple outroot = TFile(option.output,"RECREATE")
 
 passiov = False
 
 passline = False
 
 printBanner = False
 
 printCanvas = False
 
string printFormat = "png"
 
tuple ptm = time.localtime(reftime)
 
 reftime = first
 print local time More...
 
tuple status = commands.getstatusoutput( acommand )
 
string suffix = ''
 print local time More...
 
string tag = ''
 
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)
 
 weighted = True;
 

Function Documentation

def plotBeamSpotDB.SetStyle ( )

Definition at line 68 of file plotBeamSpotDB.py.

68 
69 def SetStyle():
70 
71  # canvas
72  ROOT.gStyle.SetCanvasBorderMode(0)
73  ROOT.gStyle.SetCanvasColor(0)
74  ROOT.gStyle.SetCanvasDefH(600)
75  ROOT.gStyle.SetCanvasDefW(600)
76  ROOT.gStyle.SetCanvasDefX(0)
77  ROOT.gStyle.SetCanvasDefY(0)
78  # pad
79  ROOT.gStyle.SetPadBorderMode(0)
80  ROOT.gStyle.SetPadColor(0)
81  ROOT.gStyle.SetPadGridX(False)
82  ROOT.gStyle.SetPadGridY(False)
83  ROOT.gStyle.SetGridColor(0)
84  ROOT.gStyle.SetGridStyle(3)
85  ROOT.gStyle.SetGridWidth(1)
86 
87  ROOT.gStyle.SetFrameBorderMode(0)
88  ROOT.gStyle.SetFrameFillColor(0)
89  ROOT.gStyle.SetTitleColor(1)
90  ROOT.gStyle.SetStatColor(0)
91 
92  # set the paper & margin sizes
93  ROOT.gStyle.SetPaperSize(20,26)
94  ROOT.gStyle.SetPadTopMargin(0.04)
95  ROOT.gStyle.SetPadRightMargin(0.04)
96  ROOT.gStyle.SetPadBottomMargin(0.14)
97  ROOT.gStyle.SetPadLeftMargin(0.11)
98  ROOT.gStyle.SetPadTickX(1)
99  ROOT.gStyle.SetPadTickY(1)
100 
101  ROOT.gStyle.SetTextFont(42) #132
102  ROOT.gStyle.SetTextSize(0.09)
103  ROOT.gStyle.SetLabelFont(42,"xyz")
104  ROOT.gStyle.SetTitleFont(42,"xyz")
105  ROOT.gStyle.SetLabelSize(0.035,"xyz")
106  ROOT.gStyle.SetTitleSize(0.045,"xyz")
107  ROOT.gStyle.SetTitleOffset(1.1,"y")
108 
109  # use bold lines and markers
110  ROOT.gStyle.SetMarkerStyle(8)
111  ROOT.gStyle.SetHistLineWidth(2)
112  ROOT.gStyle.SetLineWidth(1)
113  #ROOT.gStyle.SetLineStyleString(2,"[12 12]") // postscript dashes
114 
115  ROOT.gStyle.SetMarkerSize(0.6)
116 
117  # do not display any of the standard histogram decorations
118  ROOT.gStyle.SetOptTitle(0)
119  ROOT.gStyle.SetOptStat(0) #("m")
120  ROOT.gStyle.SetOptFit(0)
121 
122  #ROOT.gStyle.SetPalette(1,0)
123  ROOT.gStyle.cd()
ROOT.gROOT.ForceStyle()

Variable Documentation

string plotBeamSpotDB.acommand = 'cmscond_list_iov -c '

Definition at line 187 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.aIOV = IOV()

Definition at line 204 of file plotBeamSpotDB.py.

plotBeamSpotDB.atime = ibeam.IOVBeginTime

Definition at line 382 of file plotBeamSpotDB.py.

string plotBeamSpotDB.Banner = "CMS Preliminary"

Definition at line 135 of file plotBeamSpotDB.py.

list plotBeamSpotDB.cvlist = []

Definition at line 327 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.da = TDatime(time.strftime('%Y-%m-%d %H:%M:%S',ptm))

Definition at line 395 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.da_first = TDatime(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(first - time.timezone)))

Definition at line 386 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.da_last = TDatime(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(last - time.timezone)))

Definition at line 387 of file plotBeamSpotDB.py.

string plotBeamSpotDB.datafilename = "tmp_beamspot.dat"

Definition at line 152 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.datax = 0

Definition at line 342 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.dataxerr = (float(last) - float(first))

Comment out this block if running on Mac ##.

Definition at line 406 of file plotBeamSpotDB.py.

plotBeamSpotDB.datay = 0

Definition at line 343 of file plotBeamSpotDB.py.

plotBeamSpotDB.datayerr = ibeam.Xerr

Definition at line 346 of file plotBeamSpotDB.py.

list plotBeamSpotDB.files = tmp[1]

Definition at line 271 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.first = ibeam.IOVfirst

Definition at line 379 of file plotBeamSpotDB.py.

Referenced by optutl::CommandLineParser._setVariablesFromFile(), TkTrackingRegionsMargin< float >.add(), pos::PixelConfigFile.addAlias(), HcalHardwareXml.addHardware(), ReferenceTrajectory.addMaterialEffectsBrl(), StripCPEgeometric::WrappedCluster.addSuppressedEdgeStrip(), CalibrationAlgorithm.analyse(), VpspScanAlgorithm.analyse(), PFCandConnector.analyseNuclearWPrim(), PFCandConnector.analyseNuclearWSec(), MultiTrackValidatorGenPs.analyze(), MultiTrackValidator.analyze(), TrackerSeedValidator.analyze(), EcalDQMonitorTask.analyze(), BxTiming.analyze(), LHEAnalyzer.analyze(), HcalQIEDataCheck.analyze(), HcalPedestalWidthsCheck.analyze(), EcalTPGParamBuilder.analyze(), HeavyFlavorValidation.analyze(), TestTrackHits.analyze(), TestOutliers.analyze(), SiPixelErrorsDigisToCalibDigis.analyze(), HLTScalers.analyze(), DiJetAnalyzer.analyze(), IsolatedTracksCone.analyze(), IsolatedTracksNxN.analyze(), GammaJetAnalysis.analyze(), EcalSelectiveReadoutValidation.analyzeEB(), EcalSelectiveReadoutValidation.analyzeEE(), L1GtAnalyzer.analyzeL1GtUtilsCore(), SiStripBadAPVAlgorithmFromClusterOccupancy.AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.AnalyzeOccupancy(), AlignmentProducer.applyDB(), PCLTrackerAlProducer.applyDB(), SurveyDataConverter.applyFineSurveyInfo(), TrackerHitAssociator.associateHit(), TrackerHitAssociator.associateSimpleRecHitCluster(), EcalClusterLazyToolsBase.BasicClusterTime(), TkAlCaSkimTreeMerger.beginJob(), PickEvents.beginJob(), EcalMonitorPrescaler.beginRun(), BxTiming.bookHistograms(), HLTSeedL1LogicScalers.bookHistograms(), HeavyFlavorValidation.bookHistograms(), PileupJetIdAlgo.bookReader(), SiStripBaseCondObjDQM.bookSummaryCumulMEs(), SiStripBaseCondObjDQM.bookSummaryMEs(), SiStripBaseCondObjDQM.bookSummaryProfileMEs(), MagGeoBuilderFromDDD::bRod.bRod(), MagGeoBuilderFromDDD::bSector.bSector(), ora::RelationalDeleter.build(), CSCGeometryParsFromDD.build(), MagGeoBuilderFromDDD.build(), SiStripDetVOffBuilder.BuildDetVOffObj(), PFEGammaAlgo.buildRefinedSuperCluster(), RunRangeDependentPedeLabeler.buildRunRangeDependencyMap(), SeedFromGenericPairOrTriplet.buildSeed(), SiTrackerMultiRecHitUpdator.calcParameters(), FWInvMassDialog.Calculate(), JetPartonMatching.calculate(), ClusterShapeAlgo.Calculate_BarrelBasketEnergyFraction(), PedeLabelerBase.calibrationLabel(), StripCPEgeometric::WrappedCluster.centroid(), HiggsValidation::MonitoredDecays.channel(), HBHENegativeEFilter.checkPassFilter(), CommonHcalNoiseRBXData.CheckPassFilter(), HBHEPulseShapeFlagSetter.CheckPassFilter(), TIBRing.checkPeriodicity(), TrackTransformer.checkRecHitsOrdering(), TrackCleaner.cleanTracks(), EcalClusterToolsT< noZS >.cluster2ndMoments(), MuonSeedOrcaPatternRecognition.complete(), L1TLSBlock.computeErrorFromRange(), GaussianSumUtilities1D.computeMode(), SiStripFecCabling.connections(), DDHCalBarrelAlgo.constructGeneralVolume(), DDHCalEndcapAlgo.constructGeneralVolume(), DDHCalBarrelAlgo.constructInsideDetectors(), DDHCalBarrelAlgo.constructInsideLayers(), DDHCalEndcapModuleAlgo.constructInsideModule(), DDHCalEndcapAlgo.constructInsideModule(), DDHCalEndcapModuleAlgo.constructInsideModule0(), DDHCalEndcapAlgo.constructInsideModule0(), DDHCalBarrelAlgo.constructInsideSector(), DDHCalEndcapAlgo.constructInsideSector(), DDHCalBarrelAlgo.constructMidLayer(), DDHCalEndcapModuleAlgo.constructScintLayer(), DDHCalEndcapAlgo.constructScintLayer(), DDHCalBarrelAlgo.constructSideLayer(), popcon::PopConSourceHandler< CastorPedestals >.convertFromOld(), copyObject(), FFTJetCorrectorSequence< Jet, InitialConverter, FinalConverter >.correct(), GsfBetheHeitlerUpdator.correctedFirstMean(), GsfBetheHeitlerUpdator.correctedFirstVar(), GsfBetheHeitlerUpdator.correctWeights(), CSCMotherboardME11GEM.correlateLCTsGEM(), EcalHitMaker.cracksPads(), RPCStripsRing.createRefConnections(), RPCSeedPattern.createSeed(), HDQMInspector.createTrendLastRuns(), RPCReadOutMapping.dccNumberRange(), DEutils< T >.de_find(), DDName.defineId(), StripCPEgeometric::WrappedCluster.deformed(), FastTimerService.delta(), edm::eventsetup.determinePreferred(), CSCOfflineMonitor.doEfficiencies(), CSCValidation.doEfficiencies(), VectorDoublet< Vector3D, Vector3D >.dot(), EmissionVetoHook1.doVetoMPIStep(), drawMap(), StripCPEgeometric::WrappedCluster.dropSmallerEdgeStrip(), triggerExpression::L1AlgoReader.dump(), triggerExpression::PathReader.dump(), triggerExpression::L1TechReader.dump(), MuScleFit.duringFastLoop(), InvRingCalib.duringLoop(), EcalEleCalibLooper.duringLoop(), ZeeCalibration.duringLoop(), EcalClusterToolsT< noZS >.e1x3(), EcalClusterToolsT< noZS >.e1x5(), EcalClusterToolsT< noZS >.e2nd(), EcalClusterToolsT< noZS >.e2x2(), EcalClusterToolsT< noZS >.e2x5Bottom(), EcalClusterToolsT< noZS >.e2x5Left(), EcalClusterToolsT< noZS >.e2x5Max(), EcalClusterToolsT< noZS >.e2x5Right(), EcalClusterToolsT< noZS >.e2x5Top(), EcalClusterToolsT< noZS >.e3x1(), EcalClusterToolsT< noZS >.e3x2(), EcalClusterToolsT< noZS >.e3x3(), EcalClusterToolsT< noZS >.e4x4(), EcalClusterToolsT< noZS >.e5x1(), EcalClusterToolsT< noZS >.e5x5(), EcalClusterToolsT< noZS >.eBottom(), EcalMonitorPrescaler.EcalMonitorPrescaler(), EcalClusterToolsT< noZS >.eLeft(), egammaisolation::EgammaRange< float >.empty(), muonisolation::Range< float >.empty(), TRange< int >.empty(), PixelRecoRange< float >.empty(), MixCollection< T >.end(), TowerBlockFormatter.EndEvent(), IsoTrig.endJob(), IsoTrackCalib.endJob(), IsolatedTracksNxN.endJob(), AlcaBeamMonitor.endLuminosityBlock(), DTDCSByLumiTask.endLuminosityBlock(), AlcaBeamMonitorClient.endRun(), EcalClusterToolsT< noZS >.energyBasketFractionEta(), EcalClusterToolsT< noZS >.energyBasketFractionPhi(), cond::serialization::access< T[N]>.equal_(), VoronoiAlgorithm.equalize(), MillePedeMonitor.equidistLogBins(), CosmicGenFilterHelix.equidistLogBins(), EcalClusterToolsT< noZS >.eRight(), MagGeoBuilderFromDDD::eSector.eSector(), StripCPEgeometric::WrappedCluster.eta(), EcalClusterToolsT< noZS >.eTop(), GenericMVAComputer.eval(), TtEvent.eventHypo(), DDTIDModulePosAlgo.execute(), DDTIDModuleAlgo.execute(), DDTOBAxCableAlgo.execute(), DDTOBRadCableAlgo.execute(), DDTOBRodAlgo.execute(), DDTrackerLinear.execute(), DDTrackerLinearXY.execute(), DDTrackerXYZPosAlgo.execute(), DDTrackerZPosAlgo.execute(), DDTIBLayerAlgo.execute(), DDPixBarStackLayerAlgo.execute(), DDPixBarStackLinearGap.execute(), DDPixFwdDiskAlgo.execute(), DDBHMAngular.execute(), DDPixBarStackTrigLayerAlgo.execute(), DDPixBarTPGStackLayerAlgo.execute(), DDHCalForwardAlgo.execute(), DDPixBarLayerUpgradeAlgoCoverage.execute(), DDHCalTBZposAlgo.execute(), DDPixBarStackLinear.execute(), DDTIBLayerAlgo_MTCC.execute(), DDHCalTBCableAlgo.execute(), DDTIBRadCableAlgo_MTCC.execute(), DDPixBarLayerUpgradeAlgo.execute(), DDTECCoolAlgo.execute(), DDTECOptoHybAlgo.execute(), DDPixBarLayerAlgo.execute(), DDTECPhiAltAlgo.execute(), DDTIDAxialCableAlgo.execute(), DDTIDRingAlgo.execute(), DDTrackerAngular.execute(), DDTrackerAngularV1.execute(), DDTrackerPhiAlgo.execute(), DDTrackerPhiAltAlgo.execute(), DDHCalLinearXY.execute(), DDTECModuleAlgo.execute(), DDTECPhiAlgo.execute(), DDTECAxialCableAlgo.execute(), DDHCalFibreBundle.execute(), DDPixFwdBlades.execute(), pos::PixelCalibConfiguration.fedCardsAndChannels(), CSCValHists.fill2DProfile(), pat::PATElectronProducer.fillElectron(), pat::PATElectronProducer.fillElectron2(), MillePedeMonitor.fillFrameToFrame(), EcalTrigPrimFunctionalAlgo.fillMap(), SiStripNoisesDQM.fillMEsForLayer(), SiStripBackPlaneCorrectionDQM.fillMEsForLayer(), SiStripLorentzAngleDQM.fillMEsForLayer(), SiStripPedestalsDQM.fillMEsForLayer(), SiStripThresholdDQM.fillMEsForLayer(), SiStripApvGainsDQM.fillMEsForLayer(), SiStripQualityDQM.fillMEsForLayer(), SimTrackManager.fillMotherList(), pat::PATMuonProducer.fillMuon(), MsgTools.fillNames(), LumiCorrectionSource.fillparamcache(), SiPixelUtility.fillPaveText(), ThroughputServiceClient.fillSummaryPlots(), ProbeTreeProducer.filter(), LHEDYdecayFilter.filter(), pos::PixelConfig.find(), HBHELinearMap.find(), EcalTBCrystalMap.findCrystalAngles(), reco.findMethod(), FFTJetPFPileupCleaner.findSomeVertexWFakes(), SymmetryFit.findUsableMinMax(), FWDetailViewManager.findViewersFor(), Alignable.firstCompsWithParams(), alpgen.fixEventHiggsTTbar(), alpgen.fixEventSingleTop(), alpgen.fixEventTTbar(), GraphPath< N, E >.fromTo(), FWEveViewManager.FWEveViewManager(), EcalHitMaker.gapsLifting(), gbl::GblTrajectory.GblTrajectory(), gen::Pythia6JetGun.generateEvent(), HcalQIEManager.generateQieTable(), IterativeHelixExtrapolatorToLine.genericPathLength(), pos::PixelConfigFile.getAlias(), NoisyChannel.getAverage(), CaloGeometryHelper.getClosestCell(), egHLT::ComCodes.getCode(), egHLT::TrigCodes.getCode(), pos::PixelConfigFile.getConfig(), SiStripPsuDetIdMap.getDcuId(), SiStripPsuDetIdMap.getDetectorLocation(), EcalClusterLazyToolsBase.getEcalRecHitCollection(), egHLT::trigTools.getFiltersPassed(), EcalClusterToolsT< noZS >.getFraction(), RPCRunIOV.getImon(), cond::persistency.getInsertionLogs(), CSCStripElectronicsSim.getKeyStripsFromMC(), pftools::IO.GetLineData(), TtHadEvtSolution.getLRJetCombObsVal(), TtSemiEvtSolution.getLRJetCombObsVal(), TtDilepEvtSolution.getLRSignalEvtObsVal(), TtHadEvtSolution.getLRSignalEvtObsVal(), TtSemiEvtSolution.getLRSignalEvtObsVal(), EcalClusterToolsT< noZS >.getMaximum(), FillInfoPopConSourceHandler.getNewObjects(), pftools::IO.GetNextLineData(), trigger::TriggerEventWithRefs.getObjects(), SimTrackManager.getOrCreateVertex(), edm::ParameterSet.getParameterNames(), RPCRunIOV.getTemp(), EcalClusterLocalContCorrection.getValue(), EcalBasicClusterLocalContCorrection.getValue(), EcalClusterCrackCorrection.getValue(), cond::EcalPulseShapesHelper.getValues(), cond::EcalPulseCovariancesHelper.getValues(), RPCRunIOV.getVmon(), ZIterativeAlgorithmWithFit.getWeight(), CSCValidation.getWidth(), SeedCleanerByHitPosition.good(), CachingSeedCleanerByHitPosition.good(), SeedCleanerBySharedInput.good(), CachingSeedCleanerBySharedInput.good(), graph_combine(), PedeSteerer.hierarchyConstraint(), PixelTripletLargeTipGenerator.hitTriplets(), HLTEgammaDoubleLegCombFilter.hltFilter(), HLTEgammaEtFilterPairs.hltFilter(), SimTrackManager.idSavedTrack(), ora::DatabaseUtilitySession.importContainerSchema(), MixCollection< T >.init(), init_filter(), L1GtUtils::LogicalExpressionL1Results.initialize(), muonisolation::Range< float >.inside(), egammaisolation::EgammaRange< float >.inside(), TRange< int >.inside(), PixelRecoRange< float >.inside(), EcalTB07DaqFormatter.interpretRawData(), EcalTBDaqFormatter.interpretRawData(), gbl::VSymMatrix.invert(), TtGenEvent.isFullLeptonic(), RPCFw.isMajor(), npstat.isNonDecreasing(), npstat.isNonIncreasing(), npstat.isStrictlyDecreasing(), npstat.isStrictlyIncreasing(), PhotonPair.isValid(), PFJetCorretPair.isValid(), JetCorretPair.jet(), PFJetCorretPair.jet(), JetCorretPair.JetCorretPair(), CastorLedAnalysis.LedCastorHists(), HcalLedAnalysis.LedHBHEHists(), HcalLedAnalysis.LedHFHists(), HcalLedAnalysis.LedHOHists(), TkTrackingRegionsMargin< float >.left(), fftjetcms::LinInterpolatedTable1D.LinInterpolatedTable1D(), SimpleNavigationSchool.linkOuterGroup(), PFEGammaAlgo.linkRefinableObjectConvSecondaryKFsToSecondaryKFs(), CalorimetryManager.loadFromEcalBarrel(), CalorimetryManager.loadFromEcalEndcap(), CalorimetryManager.loadFromHcal(), CalorimetryManager.loadFromPreshower(), EcalClusterLocal.localCoordsEB(), EcalClusterLocal.localCoordsEE(), L1GtUtils::LogicalExpressionL1Results.logicalExpressionRunUpdate(), ls_cert(), IsoDepositVetoFactory.make(), MuonRPCDetLayerGeometryBuilder.makeBarrelLayers(), MuonRPCDetLayerGeometryBuilder.makeBarrelRods(), pos::PixelConfigFile.makeKey(), AlignmentProducer.makeNonOverlappingRunRanges(), PCLTrackerAlProducer.makeNonOverlappingRunRanges(), DQMImplNet< DQMNet::Object >.makeObject(), SiStripHitEffFromCalibTree.makeTKMap(), pat::Flags.maskToString(), JetPartonMatching.matchingTotalMinDist(), egammaisolation::EgammaRange< float >.mean(), muonisolation::Range< float >.mean(), TRange< int >.mean(), PixelRecoRange< float >.mean(), EcalClusterToolsT< noZS >.meanClusterPosition(), StripCPEgeometric::WrappedCluster.middle(), TRange< int >.min(), egammaisolation::EgammaRange< float >.min(), muonisolation::Range< float >.min(), PixelRecoRange< float >.min(), EcalClusterToolsT< noZS >.n5x5(), ShallowClustersProducer::NearDigis.NearDigis(), lhef::LHEReader.next(), pos::PixelCalibConfiguration.nextFECState(), DDValuePair.operator const std::string &(), DDValuePair.operator std::string &(), CastorDbASCIIIO::DetIdLess.operator()(), helper::SelectionFirstPointerAdder< StoreContainer >.operator()(), reco::tau::RecoTauPiZeroStripPlugin.operator()(), helper::SelectionFirstRefAdder< StoreContainer >.operator()(), reco::tau::RecoTauPiZeroStripPlugin2.operator()(), reco::tau::RecoTauPiZeroStripPlugin3.operator()(), L1MuGMTExtendedCand::Rank.operator()(), SimpleL1MuGMTCand::Rank.operator()(), HLTScalersClient::CountLS_t.operator<(), sistrip::RawToDigiUnpacker::Registry.operator<(), operator<<(), HLTScalersClient::CountLS_t.operator==(), ClusterClusterMapping.overlap(), optutl::CommandLineParser.parseArguments(), DDLParser.parseFile(), reco::modules::TrackerTrackHitFilter.parseStoN(), SiStripDbParams.partitionNames(), PartitionGenerator.partitions(), PFJetCorretPair.PFJetCorretPair(), L1MuDTAssignmentUnit.PhiAU(), PhiBorderFinder.PhiBorderFinder(), PhotonPair.photon(), PhotonPair.PhotonPair(), pos::PixelCalibConfiguration.PixelCalibConfiguration(), cond::PayLoadInspector< DataT >.plot(), HiggsValidation::MonitoredDecays.position(), SiStripRegionCabling.position(), precomputed_value_sort(), PrimaryVertexPlots(), TtFullLeptonicEvent.print(), egHLT::TrigCodes.printCodes(), SiStripConfigDb.printFedConnections(), SiStripConfigDb.printFedDescriptions(), sipixelobjects::PixelFEDLink.printForMap(), CSCMotherboardME21GEM.printGEMTriggerPads(), CSCMotherboardME11GEM.printGEMTriggerPads(), CSCMotherboardME3141RPC.printRPCTriggerDigis(), HcalSimpleReconstructor.process(), PFAlgoTestBenchElectrons.processBlock(), PFAlgo.processBlock(), cscdqm::EventProcessor.processCSC(), HcalSimpleReconstructor.processUpgrade(), UnifiedSCCollectionProducer.produce(), CandOneToManyDeltaRMatcher.produce(), CleanAndMergeProducer.produce(), TtFullLepKinSolutionProducer.produce(), JetCoreClusterSplitter.produce(), reco::modulesNew::Matcher< C1, C2, S, D >.produce(), reco::modules::MatcherBase< C1, C2, M >.produce(), ConvertObjectMapRecord.produce(), ClusterTPAssociationProducer.produce(), TrackListMerger.produce(), DTFakeT0ESProducer.produce(), pat::PATJetUpdater.produce(), L1ExtraParticleMapProd.produce(), TrackMCQuality.produce(), pat::PATGenericParticleProducer.produce(), cms::DigitizerFP420.produce(), TrackMultiSelector.produce(), pat::PATTauProducer.produce(), InterestingDetIdFromSuperClusterProducer.produce(), HcalHitReconstructor.produce(), pat::PATJetProducer.produce(), ConvBremSeedProducer.produce(), pat::PATPhotonProducer.produce(), pat::PATElectronProducer.produce(), TrackClusterSplitter.produce(), ClusterSummaryProducer.produce(), NuclearTrackCorrector.produce(), PixelDigiCollection.put(), DigiCollectionFP420.put(), ClusterCollectionFP420.put(), RecoCollectionFP420.put(), TrackCollectionFP420.put(), CompositeLogicalTrajectoryFilter.QF(), RBorderFinder.RBorderFinder(), pos::PixelROCDACSettings.read(), popcon::RPCEMapSourceHandler.readEMap1(), popcon::L1RPCHwConfigSourceHandler.readHwConfig1(), PixelToLNKAssociateFromAscii.readRange(), PixelToFEDAssociateFromAscii.readRange(), FedRawDataInputSource.readWorker(), RealQuadEquation.RealQuadEquation(), CSCEfficiency.recHitSegment_Efficiencies(), EcalTBHodoscopeRecInfoAlgo.reconstruct(), HcalSimpleRecAlgo.reconstruct(), HcalSimpleRecAlgo.reconstructHBHEUpgrade(), SiStripDetVOffBuilder.reduce(), CandidateSeededTrackingRegionsProducer.regions(), PointSeededTrackingRegionsProducer.regions(), pat::eventhypothesis::Looper< T >.reset(), SiStripPsuDetIdMap.retrieveDcuDeviceAddresses(), EcalClusterToolsT< noZS >.roundnessBarrelSuperClusters(), EcalClusterToolsT< noZS >.roundnessBarrelSuperClustersUserExtended(), reco::modules::TrackerTrackHitFilter::Rule.Rule(), FP420TrackMain.run(), FP420RecoMain.run(), CSCMotherboardME3141RPC.run(), FP420ClusterMain.run(), CSCMotherboardME21GEM.run(), CSCMotherboardME11GEM.run(), FP420DigiMain.run(), L1MuDTERS.run(), DTTSS.run(), DTTSM.run(), DTSC.run(), EcalTrigPrimFunctionalAlgo.run_part2(), runInspector(), ecaldqm::RecoSummaryTask.runOnBasicClusters(), Comp2RefEqualH.runTest(), Comp2RefKolmogorov.runTest(), ContentsXRange.runTest(), ContentsYRange.runTest(), DeadChannel.runTest(), NoisyChannel.runTest(), DTTSPhi.runTSPhi(), PFJetCorretPair.scaledEt(), EcalClusterToolsT< noZS >.scLocalCovariances(), EcalSelectiveReadoutValidation.selectFedsForLog(), MuScleFit.selectMuons(), PFElectronAlgo.SetActive(), pos::PixelPortCardConfig.setAOHGain(), egHLT::ComCodes.setCode(), egHLT::TrigCodes.setCode(), pos::PixelPortCardConfig.setDataBaseAOHGain(), egHLT::trigTools.setFiltersObjPasses(), CondDBESSource.setIntervalFor(), HcalFEDList.setListOfFEDs(), DTTracoTrigData.setPV(), DTTracoChip.setPV(), HDQMInspector.setRange(), FWECALDetailViewBuilder.showSuperCluster(), StripCPEgeometric::WrappedCluster.sign(), SingleTopTChannelLeptonDQM.SingleTopTChannelLeptonDQM(), TrackTransformerForCosmicMuons.SlopeSum(), StripCPEgeometric::WrappedCluster.smallerEdgeStrip(), egammaisolation::EgammaRange< float >.sort(), muonisolation::Range< float >.sort(), PixelRecoRange< float >.sort(), TRange< int >.sort(), split(), TrackClusterSplitter.splitCluster(), SiStripZeroSuppression.storeCMN(), StringBasedNTupler.StringBasedNTupler(), TrackTransformerForCosmicMuons.SumDy(), cond::PayLoadInspector< DataT >.summary(), MagGeoBuilderFromDDD.summary(), StorageAccount.summaryText(), StripCPEgeometric::WrappedCluster.sumQ(), muon.tevOptimized(), HcalSimParameters.timeSmearRMS(), TopDiLeptonOfflineDQM.TopDiLeptonOfflineDQM(), TopSingleLeptonDQM.TopSingleLeptonDQM(), fwlite::MultiChainEvent.toSec(), egHLT::OffPho.trigCutsCutCode(), egHLT::OffEle.trigCutsCutCode(), EcalHitMaker.unbalancedDirection(), FastFedCablingHistosUsingDb.update(), PrintGeomMatInfo.update(), pos::PixelConfig.update(), SiTrackerMultiRecHitUpdator.update(), HBHENegativeEFilter.validate(), FWConfiguration.valueForKey(), viewNameFrom(), MuonAssociatorByHitsHelper.write_matched_simtracks(), pos::PixelCalibConfiguration.writeASCII(), and VirtualJetProducer.writeJets().

string plotBeamSpotDB.firstRun = "0"

Definition at line 167 of file plotBeamSpotDB.py.

plotBeamSpotDB.getDBdata = True

Definition at line 156 of file plotBeamSpotDB.py.

list plotBeamSpotDB.graphlist = []

Definition at line 312 of file plotBeamSpotDB.py.

list plotBeamSpotDB.graphnamelist = ['X','Y','Z','SigmaZ','dxdz','dydz','beamWidthX', 'beamWidthY']

Definition at line 313 of file plotBeamSpotDB.py.

list plotBeamSpotDB.graphtitlelist = ['beam spot X','beam spot Y','beam spot Z','beam spot #sigma_Z','beam spot dX/dZ','beam spot dY/dZ','beam width X','beam width Y']

Definition at line 314 of file plotBeamSpotDB.py.

string plotBeamSpotDB.graphXaxis = 'Run number'

Definition at line 315 of file plotBeamSpotDB.py.

list plotBeamSpotDB.graphYaxis = ['beam spot X [cm]','beam spot Y [cm]','beam spot Z [cm]', 'beam spot #sigma_{Z} [cm]', 'beam spot dX/dZ', 'beam spot dY/dZ','beam width X [cm]', 'beam width Y [cm]']

Definition at line 325 of file plotBeamSpotDB.py.

list plotBeamSpotDB.ibeam = listbeam[ii]

Definition at line 341 of file plotBeamSpotDB.py.

int plotBeamSpotDB.iline = 0

Definition at line 194 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.input = open(option.data +"/"+f)

Definition at line 276 of file plotBeamSpotDB.py.

plotBeamSpotDB.IOVbase = 'runbase'

Definition at line 160 of file plotBeamSpotDB.py.

list plotBeamSpotDB.iovlist = []

Definition at line 192 of file plotBeamSpotDB.py.

int plotBeamSpotDB.ipoint = 0

Definition at line 338 of file plotBeamSpotDB.py.

Referenced by SiPixelCalibDigi.fill(), SiPixelCalibDigi.getnentries(), SiPixelCalibDigi.getsum(), SiPixelCalibDigi.getsumsquares(), ColinearityKinematicConstraintT< Dim >.init(), and GeometryComparisonPlotter.MakePlots().

plotBeamSpotDB.jline = iline

Definition at line 200 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.last = ibeam.IOVlast

Definition at line 380 of file plotBeamSpotDB.py.

string plotBeamSpotDB.lastRun = "4999999999"

Definition at line 168 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.linedata = line.split()

Definition at line 202 of file plotBeamSpotDB.py.

list plotBeamSpotDB.listbeam = []

Definition at line 287 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.listmap = readBeamSpotFile(datafilename,listbeam,IOVbase,firstRun,lastRun)

Definition at line 290 of file plotBeamSpotDB.py.

plotBeamSpotDB.mydestdb = 'frontier://PromptProd/CMS_COND_31X_BEAMSPOT'

Definition at line 184 of file plotBeamSpotDB.py.

plotBeamSpotDB.offset_daylight = time.timezone-time.altzone

Definition at line 397 of file plotBeamSpotDB.py.

string plotBeamSpotDB.otherArgs = ''

Definition at line 216 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.output = open(datafilename,"w")

Definition at line 273 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.outroot = TFile(option.output,"RECREATE")

Definition at line 440 of file plotBeamSpotDB.py.

plotBeamSpotDB.passiov = False

Definition at line 227 of file plotBeamSpotDB.py.

plotBeamSpotDB.passline = False

Definition at line 193 of file plotBeamSpotDB.py.

plotBeamSpotDB.printBanner = False

Definition at line 134 of file plotBeamSpotDB.py.

plotBeamSpotDB.printCanvas = False

Definition at line 132 of file plotBeamSpotDB.py.

string plotBeamSpotDB.printFormat = "png"

Definition at line 133 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.ptm = time.localtime(reftime)

Definition at line 394 of file plotBeamSpotDB.py.

Referenced by BeamMonitor.formatFitTime(), BeamMonitorBx.formatFitTime(), and popcon::RPCEMapSourceHandler.getNewObjects().

plotBeamSpotDB.reftime = first

print local time

print gmt time

Definition at line 393 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.status = commands.getstatusoutput( acommand )

Definition at line 256 of file plotBeamSpotDB.py.

plotBeamSpotDB.suffix = ''

print local time

Definition at line 431 of file plotBeamSpotDB.py.

plotBeamSpotDB.tag = ''

Definition at line 142 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.tmp = commands.getstatusoutput("ls "+option.data)

Definition at line 270 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.tmpfile = open(datafilename,'w')

Definition at line 224 of file plotBeamSpotDB.py.

list plotBeamSpotDB.tmplistiov = tmpstatus[1]

Definition at line 189 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.tmplumi = unpack(iIOV.since)

Definition at line 253 of file plotBeamSpotDB.py.

int plotBeamSpotDB.tmplumifirst = 1

Definition at line 230 of file plotBeamSpotDB.py.

int plotBeamSpotDB.tmplumilast = 9999999

Definition at line 231 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.tmprun = unpack(iIOV.since)

Definition at line 252 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.tmprunfirst = firstRun

Definition at line 228 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.tmprunlast = lastRun

Definition at line 229 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.tmpstatus = commands.getstatusoutput( acommand )

Definition at line 188 of file plotBeamSpotDB.py.

tuple plotBeamSpotDB.totlines = len(tmplistiov)

Definition at line 195 of file plotBeamSpotDB.py.

plotBeamSpotDB.weighted = True;

Definition at line 301 of file plotBeamSpotDB.py.

Referenced by SmsModeFinder3d.operator()().