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 35 of file FrontierCondition_GT_autoExpress_cfi.py.

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

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

Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getGlobalTag().

Variable Documentation

◆ auto

FrontierCondition_GT_autoExpress_cfi.auto

Definition at line 15 of file FrontierCondition_GT_autoExpress_cfi.py.

◆ globaltag

FrontierCondition_GT_autoExpress_cfi.globaltag

Definition at line 10 of file FrontierCondition_GT_autoExpress_cfi.py.

◆ proxyurl

FrontierCondition_GT_autoExpress_cfi.proxyurl

Definition at line 145 of file FrontierCondition_GT_autoExpress_cfi.py.

◆ t0

FrontierCondition_GT_autoExpress_cfi.t0

Definition at line 148 of file FrontierCondition_GT_autoExpress_cfi.py.

Referenced by SonicAcquirer< Client, edm::stream::EDFilter< edm::ExternalWork, Capabilities... > >.acquire(), TrackDetectorAssociator.addTAMuonSegmentMatch(), DTTPAnalyzer.analyze(), ESTimingTask.analyze(), SonicOneEDAnalyzer< Client, Capabilities >.analyze(), DTT0CalibrationRMS.analyze(), DTTPDeadWriter.analyze(), DTT0Calibration.analyze(), DTDigiTask.analyze(), DTTPDeadWriter.beginRun(), DTt0DBValidation.beginRun(), CSCTriggerPrimitivesReader.bookEfficHistos(), CSCTriggerPrimitivesReader.bookResolHistos(), CTPPSDiamondRecHitProducerAlgorithm.build(), TrackExtenderWithMTDT< TrackCollection >.buildTrack(), reco::ForwardProton.calculateT(), CSCStripElectronicsSim.createDigi(), ChargeDividerFP420.DeconvolutionShape(), DTTTrigSyncFromDB.emulatorOffset(), DTT0CalibrationRMS.endJob(), DTT0Calibration.endJob(), ESRecHitAnalyticAlgo.EvalAmplitude(), ESRecHitSimAlgo.evalAmplitude(), RooCBExGaussShape.evaluate(), SonicEDFilter< Client, Capabilities >.filter(), RPCNoise.filter(), MPQualityEnhancerFilter.filterUnique(), CSCFindPeakTime.fivePoleFitTime(), gen::Hydjet2Hadronizer.generatePartonsAndHadronize(), DTT0Handler.getNewObjects(), hTMaxCell.GetT0Factor(), gexp(), trklet::VarBase.kstring(), RPCIntegrator.makeRPCOnlySegments(), DTTTrigSyncT0Only.offset(), DTTTrigSyncFromDB.offset(), ESRecHitSimAlgo.oldEvalAmplitude(), ESRecHitSimAlgo.oldreconstruct(), ChargeDividerFP420.PeakShape(), sonic_utils.printDebugTime(), CTPPSDirectProtonSimulation.processProton(), SonicEDProducer< Client, Capabilities >.produce(), HcalTimeSlewEP.produce(), TOFPIDProducer.produce(), pat::PATPackedCandidateProducer.produce(), MuonSimHitProducer.produce(), EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >.pulseShapeFunction(), CastorSimpleRecAlgoImpl.reco(), HcalSimpleRecAlgoImpl.reco(), HcalQLPlotAnalAlgos.recoCalib(), HcalSimpleRecAlgoImpl.recoHFTime(), ESRecHitSimAlgo.reconstruct(), ESRecHitAnalyticAlgo.reconstruct(), ESRecHitFitAlgo.reconstruct(), HcalSimpleRecAlgo.reconstruct(), HcalSimpleRecAlgo.reconstructQIE10(), regressionTest_first(), QIE8Simulator.run(), DTTTrigSyncT0Only.setES(), BeamFitter.setRefTime(), PVFitter.setRefTime(), ME.time(), ME.timeDiff(), TransverseImpactPointExtrapolator.tipSurface(), EcalSimHitsValidProducer.update(), MahiFit.updatePulseShape(), cond::service::OnlineDBOutputService.writeForNextLumisection(), and HcalPulseShapes.Y11206().

◆ tier0Url

FrontierCondition_GT_autoExpress_cfi.tier0Url

Definition at line 26 of file FrontierCondition_GT_autoExpress_cfi.py.

electrons_cff.bool
bool
Definition: electrons_cff.py:393
FrontierCondition_GT_autoExpress_cfi.unique
def unique(seq, keepstr=True)
Definition: FrontierCondition_GT_autoExpress_cfi.py:35
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
GetRecoTauVFromDQM_MC_cff.next
next
Definition: GetRecoTauVFromDQM_MC_cff.py:31