CMS 3D CMS Logo

List of all members | Public Member Functions | Static Private Member Functions | Private Attributes
Types.LuminosityBlockID Class Reference
Inheritance diagram for Types.LuminosityBlockID:
Mixins._ParameterTypeBase

Public Member Functions

def __init__ (self, run, block=None)
 
def cppID (self, parameterSet)
 
def insertInto (self, parameterSet, myname)
 
def luminosityBlock (self)
 
def pythonValue (self, options=PrintOptions())
 
def run (self)
 
- Public Member Functions inherited from Mixins._ParameterTypeBase
def __init__ (self)
 
def __repr__ (self)
 
def configTypeName (self)
 
def dumpPython (self, options=PrintOptions())
 
def isFrozen (self)
 
def isModified (self)
 
def isTracked (self)
 
def pythonTypeName (self)
 
def resetModified (self)
 
def setIsFrozen (self)
 
def setIsTracked (self, trackness)
 

Static Private Member Functions

def _isValid (value)
 
def _valueFromString (value)
 

Private Attributes

 __block
 
 __run
 

Detailed Description

Definition at line 244 of file Types.py.

Constructor & Destructor Documentation

def Types.LuminosityBlockID.__init__ (   self,
  run,
  block = None 
)

Definition at line 245 of file Types.py.

245  def __init__(self, run, block=None):
246  super(LuminosityBlockID,self).__init__()
247  if isinstance(run, str):
248  self.__run = self._valueFromString(run).__run
249  self.__block = self._valueFromString(run).__block
250  else:
251  self.__run = run
252  self.__block = block
def _valueFromString(value)
Definition: Types.py:261
def __init__(self, run, block=None)
Definition: Types.py:245

Member Function Documentation

def Types.LuminosityBlockID._isValid (   value)
staticprivate

Definition at line 258 of file Types.py.

Referenced by Mixins._SimpleParameterTypeBase.setValue().

258  def _isValid(value):
259  return True
def _isValid(value)
Definition: Types.py:258
def Types.LuminosityBlockID._valueFromString (   value)
staticprivate
only used for cfg-parsing

Definition at line 261 of file Types.py.

References createfilelist.int.

Referenced by Types.LuminosityBlockRange.__init__(), and Types.EventRange.__init__().

261  def _valueFromString(value):
262  """only used for cfg-parsing"""
263  parts = value.split(":")
264  return LuminosityBlockID(int(parts[0]), int(parts[1]))
def _valueFromString(value)
Definition: Types.py:261
def Types.LuminosityBlockID.cppID (   self,
  parameterSet 
)

Definition at line 267 of file Types.py.

References edm::EventID.luminosityBlock(), edm::LuminosityBlockBase.luminosityBlock(), edm::LuminosityBlockAuxiliary.luminosityBlock(), edm::LuminosityBlockID.luminosityBlock(), edm::stream::LuminosityBlockContextT< L, R, G >.luminosityBlock(), edm::LuminosityBlockForOutput.luminosityBlock(), edm::EventForOutput.luminosityBlock(), edm::EventBase.luminosityBlock(), edm::EventAuxiliary.luminosityBlock(), edm::LuminosityBlockPrincipal.luminosityBlock(), edm::EventPrincipal.luminosityBlock(), Types.EventID.luminosityBlock(), edm::InputSource.luminosityBlock(), Types.LuminosityBlockID.luminosityBlock(), PopulateDB.PopulateDB.run(), uploadPayloads.FileObj.run, uploader.FileObj.run, splitter.FileObj.run, RPCRunIOV::RunIOV_Item.run, beamspot::BeamSpotContainer.run, TB06RecoH2.run, TB06Reco.run, DQMSummaryReader.run(), RPCDQMObject.run, runall.testit.run(), RPCDBCom.run(), MultiEventFilter::Event.run, ecaldqm::DBReaderWorker.run(), L1TriggerScalerRead.run(), RunSummaryRead.run(), ecaldqm::DBWriterWorker.run(), DTCalibrationWorker.DTCalibrationWorker.run(), TestBase.run(), ReadBase.run(), cond::Utilities.run(), RawToDigiConverter.run(), L1Analysis::L1AnalysisEventDataFormat.run, PFEGammaToCandidateRemapper.run(), edm::stream::RunContextT< R, G >.run(), TrackInfoProducerAlgorithm.run(), ecaldqm::CrystalConsistencyReader.run(), SurveyAlignmentAlgorithm.run(), RPCFw.run(), edm::EventID.run(), edm::RunID.run(), edm::RunBase.run(), edm::RunAuxiliary.run(), edm::LuminosityBlockID.run(), fireworks::geometry::DisplayPlugin.run(), edm::LuminosityBlockBase.run(), lumi::Lumi2DB::LumiSource.run, edm::LuminosityBlockAuxiliary.run(), ecaldqm::TTConsistencyReader.run(), MuonMillepedeAlgorithm.run(), generateEDF.LumiInfo.run, Type1PFMET.run(), ctpps::RawDataUnpacker.run(), ecaldqm::IntegrityWriter.run(), EfficiencyPlotter.run, edm::stream::LuminosityBlockContextT< L, R, G >.run(), WZInterestingEventSelector::event.run, edm::RunForOutput.run(), WorkFlowRunner.WorkFlowRunner.run(), edm::LuminosityBlockForOutput.run(), ecaldqm::MemChConsistencyReader.run(), MuonDTLocalMillepedeAlgorithm.run(), crabWrapper.CrabWrapper.run(), ecaldqm::LaserWriter.run(), HIPAlignmentAlgorithm.run(), EveDisplayPlugin.run(), Point.run, MuonRecoTest.run, options.ConnectionHLTMenu.run, psClasses.BuildThread.run(), PixelUnpackingRegions.run(), DTWorkflow.DTWorkflow.run(), ecaldqm::MemTTConsistencyReader.run(), edm::RunPrincipal.run(), TotemVFATRawToDigi.run(), DTResolutionAnalysisTest.run, BeamSpotRcdReader::theBSfromDB.run, ecaldqm::PedestalWriter.run(), edm::EventAuxiliary.run(), ecaldqm::LaserBlueReader.run(), edm::LuminosityBlockPrincipal.run(), edm::EventForOutput.run(), CSCOverlapsAlignmentAlgorithm.run(), MatacqProducer::MatacqEventId.run, Vispa.Share.ThreadChain.ThreadChain.run(), DTBlockedROChannelsTest.run, DTDataIntegrityTest.run, ecaldqm::TimingLaserBlueCrystalReader.run(), ecaldqm::PresampleWriter.run(), DTChamberEfficiencyTest.run, DTResolutionTest.run, ApeSettingAlgorithm.run(), ME::Header.run, ConstantStepOdeSolver.run(), DTEfficiencyTest.run, ecaldqm::PNBlueReader.run(), ecaldqm::TestPulseWriter.run(), MillePedeAlignmentAlgorithm.run(), MuonAlignmentFromReference.run(), ecaldqm::LaserGreenReader.run(), personalPlayback.Playback.run, ecaldqm::TimingWriter.run(), edm::service::MessageLoggerScribe.run(), ecaldqm::TimingLaserGreenCrystalReader.run(), edm::Event.run(), DQMNet::CoreObject.run, ecaldqm::LedWriter.run(), MatrixUtil.InputInfo.run, DTLocalTriggerBaseTest.run, ecaldqm::PNGreenReader.run(), edm::EventPrincipal.run(), HitEff.run, ecaldqm::OccupancyWriter.run(), ecaldqm::LaserIRedReader.run(), ecaldqm::TimingLaserIRedCrystalReader.run(), edm::EventProcessor.run(), ecaldqm::SummaryWriter.run(), EcalDeadCellDeltaRFilter.run, ecaldqm::PNIRedReader.run(), QIE8Simulator.run(), ecaldqm::LaserRedReader.run(), AlignmentAlgorithmBase.run(), ecaldqm::TimingLaserRedCrystalReader.run(), ecaldqm::PNRedReader.run(), ecaldqm::PedestalsReader.run(), cond::RunInfo_t.run, ecaldqm::PNPedReader.run(), DQMNet.run(), ecaldqm::PedestalsOnlineReader.run(), ecaldqm::TestPulseReader.run(), ecaldqm::PulseShapeReader.run(), ecaldqm::PNMGPAReader.run(), ecaldqm::TimingCrystalReader.run(), Types.EventID.run(), Vispa.Main.Application.Application.run(), ecaldqm::Led1Reader.run(), SiPixelErrorEstimation.run, edm::InputSource.run(), ecaldqm::TimingLed1CrystalReader.run(), ecaldqm::Led2Reader.run(), ecaldqm::TimingLed2CrystalReader.run(), ecaldqm::OccupancyReader.run(), Types.LuminosityBlockID.run(), DQMRootSource::RunPHIDKey.run(), personalPlayback.FrameworkJob.run, DQMRootSource::RunLumiPHIDKey.run(), edm::IndexIntoFile::RunOrLumiEntry.run(), MonitorElement.run(), edm::IndexIntoFile::RunOrLumiIndexes.run(), SiPixelTrackingRecHitsValid.run, o2olib.O2OTool.run(), dqm_interfaces.DirWalkerFile.run, edm::IndexIntoFile::IndexIntoFileItrImpl.run(), edm::IndexIntoFile::IndexIntoFileItrNoSort.run(), edm::IndexIntoFile::IndexIntoFileItrSorted.run(), JsonOutputProducer::JsonEvent.run, edm::IndexIntoFile::IndexIntoFileItr.run(), SummaryOutputProducer.run, edm::IndexIntoFile::IndexRunKey.run(), SummaryOutputProducer::Event.run, edm::IndexIntoFile::IndexRunLumiKey.run(), and edm::IndexIntoFile::IndexRunLumiEventKey.run().

Referenced by Types.LuminosityBlockID.insertInto(), Types.LuminosityBlockRange.insertInto(), and Types.EventRange.insertInto().

267  def cppID(self, parameterSet):
268  return parameterSet.newLuminosityBlockID(self.run(), self.luminosityBlock())
def cppID(self, parameterSet)
Definition: Types.py:267
def luminosityBlock(self)
Definition: Types.py:255
def Types.LuminosityBlockID.insertInto (   self,
  parameterSet,
  myname 
)

Definition at line 269 of file Types.py.

References Types.EventID.cppID(), Types.LuminosityBlockID.cppID(), edm::AllowedLabelsDescriptionBase.isTracked(), edm::ParameterWildcardBase.isTracked(), edm::ParameterDescriptionBase.isTracked(), edm::ParameterSetEntry.isTracked(), edm::VParameterSetEntry.isTracked(), Mixins._ParameterTypeBase.isTracked(), and edm::Entry.isTracked().

269  def insertInto(self, parameterSet, myname):
270  parameterSet.addLuminosityBlockID(self.isTracked(), myname, self.cppID(parameterSet))
271 
272 
def cppID(self, parameterSet)
Definition: Types.py:267
def insertInto(self, parameterSet, myname)
Definition: Types.py:269
def Types.LuminosityBlockID.luminosityBlock (   self)

Definition at line 255 of file Types.py.

References Types.LuminosityBlockID.__block.

Referenced by Types.LuminosityBlockID.cppID().

255  def luminosityBlock(self):
256  return self.__block
def luminosityBlock(self)
Definition: Types.py:255
def Types.LuminosityBlockID.pythonValue (   self,
  options = PrintOptions() 
)

Definition at line 265 of file Types.py.

References Types.LuminosityBlockID.__block, Types.EventID.__run, Types.LuminosityBlockID.__run, and str.

Referenced by Mixins._ParameterTypeBase.dumpPython().

265  def pythonValue(self, options=PrintOptions()):
266  return str(self.__run)+ ', '+str(self.__block)
#define str(s)
def pythonValue(self, options=PrintOptions())
Definition: Types.py:265
def Types.LuminosityBlockID.run (   self)

Definition at line 253 of file Types.py.

References Types.EventID.__run, and Types.LuminosityBlockID.__run.

Referenced by Types.LuminosityBlockID.cppID().

253  def run(self):
254  return self.__run

Member Data Documentation

Types.LuminosityBlockID.__block
private
Types.LuminosityBlockID.__run
private

Definition at line 248 of file Types.py.

Referenced by Types.LuminosityBlockID.pythonValue(), and Types.LuminosityBlockID.run().