CMS 3D CMS Logo

Classes | Functions | Variables
FrontierCondition_GT_autoExpress_cfi Namespace Reference

Classes

class  Tier0Error
 
class  Tier0Handler
 

Functions

def unique (seq, keepstr=True)
 

Variables

 auto
 
 globaltag
 
 proxyurl
 
 t0
 
 tier0Url
 

Function Documentation

◆ unique()

def FrontierCondition_GT_autoExpress_cfi.unique (   seq,
  keepstr = True 
)

Definition at line 36 of file FrontierCondition_GT_autoExpress_cfi.py.

References nano_mu_local_reco_cff.bool, GetRecoTauVFromDQM_MC_cff.next, and submitPVValidationJobs.t.

Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getGlobalTag().

36 def unique(seq, keepstr=True):
37  t = type(seq)
38  if t in (unicode, str):
39  t = (list, t('').join)[bool(keepstr)]
40  try:
41  remaining = set(seq)
42  seen = set()
43  return t(c for c in seq if (c in remaining and not remaining.remove(c)))
44  except TypeError: # hashing didn't work, see if seq is sortable
45  try:
46  from itertools import groupby
47  s = sorted(enumerate(seq),key=lambda i_v1:(i_v1[1],i_v1[0]))
48  return t(next(g) for k,g in groupby(s, lambda i_v: i_v[1]))
49  except: # not sortable, use brute force
50  seen = []
51  return t(c for c in seq if not (c in seen or seen.append(c)))
52 

Variable Documentation

◆ auto

FrontierCondition_GT_autoExpress_cfi.auto

Definition at line 16 of file FrontierCondition_GT_autoExpress_cfi.py.

◆ globaltag

FrontierCondition_GT_autoExpress_cfi.globaltag

Definition at line 11 of file FrontierCondition_GT_autoExpress_cfi.py.

◆ proxyurl

FrontierCondition_GT_autoExpress_cfi.proxyurl

Definition at line 146 of file FrontierCondition_GT_autoExpress_cfi.py.

◆ t0

FrontierCondition_GT_autoExpress_cfi.t0

Definition at line 149 of file FrontierCondition_GT_autoExpress_cfi.py.

Referenced by SonicAcquirer< TritonClient, edm::stream::EDProducer< edm::ExternalWork, Capabilities... > >.acquire(), TrackDetectorAssociator.addTAMuonSegmentMatch(), ESTimingTask.analyze(), DTTPAnalyzer.analyze(), DTT0CalibrationRMS.analyze(), DiMuonVertexMonitor.analyze(), DTTPDeadWriter.analyze(), SonicOneEDAnalyzer< TritonClient, Capabilities... >.analyze(), CTPPSPixelDQMSource.analyze(), DTT0Calibration.analyze(), DiMuonVertexValidation.analyze(), DTDigiTask.analyze(), DiMuonMassBiasMonitor.analyze(), gctpf.bestOf2(), CTPPSDiamondRecHitProducerAlgorithm.build(), TrackExtenderWithMTDT< TrackCollection >.buildTrack(), reco::ForwardProton.calculateT(), MahiFit.ccTime(), riemannFit.circleFit(), EcalUncalibRecHitTimingCCAlgo.computeTimeCC(), CSCStripElectronicsSim.createDigi(), DTTTrigSyncFromDB.emulatorOffset(), DTT0CalibrationRMS.endJob(), DTT0Calibration.endJob(), trklet::DR.equalEnough(), ESRecHitAnalyticAlgo.EvalAmplitude(), ESRecHitSimAlgo.evalAmplitude(), RooCBExGaussShape.evaluate(), SonicEDFilter< TritonClient, edm::GlobalCache< G >, Capabilities... >.filter(), RPCNoise.filter(), MPQualityEnhancerFilter.filterUnique(), MuonPathFitter.fit(), CSCFindPeakTime.fivePoleFitTime(), DisappearingMuonsSkimming.getECALIsolation(), DTT0Handler.getNewObjects(), hTMaxCell.GetT0Factor(), gexp(), trklet::VarBase.kstring(), RPCIntegrator.makeRPCOnlySegments(), MtdTracksValidation.mvaRecSel(), Primary4DVertexValidation.mvaRecSel(), DTTTrigSyncT0Only.offset(), DTTTrigSyncFromDB.offset(), ESRecHitSimAlgo.oldEvalAmplitude(), ESRecHitSimAlgo.oldreconstruct(), sonic_utils.printDebugTime(), PPSDirectProtonSimulation.processProton(), EcalUncalibRecHitPhase2WeightsProducer.produce(), SonicEDProducer< TritonClient, edm::GlobalCache< G >, Capabilities... >.produce(), TOFPIDProducer.produce(), pat::PATPackedCandidateProducer.produce(), MuonSimHitProducer.produce(), EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >.pulseShapeFunction(), CastorSimpleRecAlgoImpl.reco(), HcalSimpleRecAlgoImpl.reco(), HcalQLPlotAnalAlgos.recoCalib(), HcalSimpleRecAlgoImpl.recoHFTime(), ESRecHitAnalyticAlgo.reconstruct(), ESRecHitSimAlgo.reconstruct(), ESRecHitFitAlgo.reconstruct(), HcalSimpleRecAlgo.reconstruct(), HcalSimpleRecAlgo.reconstructQIE10(), regressionTest_first(), QIE8Simulator.run(), BeamFitter.setRefTime(), PVFitter.setRefTime(), ME.time(), ME.timeDiff(), TransverseImpactPointExtrapolator.tipSurface(), EcalSimHitsValidProducer.update(), MahiFit.updatePulseShape(), cond::service::OnlineDBOutputService.writeIOVForNextLumisection(), and HcalPulseShapes.Y11206().

◆ tier0Url

FrontierCondition_GT_autoExpress_cfi.tier0Url

Definition at line 27 of file FrontierCondition_GT_autoExpress_cfi.py.