CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
condhdf5tohdf5.H5DataProduct Class Reference
Inheritance diagram for condhdf5tohdf5.H5DataProduct:

Public Member Functions

def __init__ (self, group, name, compressor)
 
def idToPayloadNames (self)
 
def name (self)
 
def objtype (self)
 
def payloads (self)
 

Private Attributes

 _compressor
 
 _name
 
 _payloadGroup
 
 _type
 

Detailed Description

Definition at line 51 of file condhdf5tohdf5.py.

Constructor & Destructor Documentation

◆ __init__()

def condhdf5tohdf5.H5DataProduct.__init__ (   self,
  group,
  name,
  compressor 
)

Definition at line 52 of file condhdf5tohdf5.py.

52  def __init__(self, group, name, compressor):
53  self._type = group.attrs['type']
54  self._name = name
55  self._payloadGroup = group['Payloads']
56  self._compressor = compressor
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ idToPayloadNames()

def condhdf5tohdf5.H5DataProduct.idToPayloadNames (   self)

Definition at line 63 of file condhdf5tohdf5.py.

References condhdf5tohdf5.H5DataProduct._payloadGroup.

63  def idToPayloadNames(self):
64  return { self._payloadGroup[p].id:p.split('/')[-1] for p in self._payloadGroup }
65 

◆ name()

def condhdf5tohdf5.H5DataProduct.name (   self)

◆ objtype()

def condhdf5tohdf5.H5DataProduct.objtype (   self)

◆ payloads()

def condhdf5tohdf5.H5DataProduct.payloads (   self)

Definition at line 61 of file condhdf5tohdf5.py.

References condhdf5tohdf5.H5Payload._compressor, condhdf5tohdf5.H5DataProduct._compressor, and condhdf5tohdf5.H5DataProduct._payloadGroup.

61  def payloads(self):
62  return [H5Payload(self._payloadGroup[p],p.split('/')[-1], self._compressor) for p in self._payloadGroup]

Member Data Documentation

◆ _compressor

condhdf5tohdf5.H5DataProduct._compressor
private

Definition at line 56 of file condhdf5tohdf5.py.

Referenced by condhdf5tohdf5.H5DataProduct.payloads().

◆ _name

condhdf5tohdf5.H5DataProduct._name
private

Definition at line 54 of file condhdf5tohdf5.py.

Referenced by ModulesProxy._ModuleProxy.__call__(), SequenceTypes.SequencePlaceholder.__str__(), plotting.Subtract.__str__(), plotting.Transform.__str__(), plotting.FakeDuplicate.__str__(), plotting.CutEfficiency.__str__(), plotting.AggregateBins.__str__(), plotting.AggregateHistos.__str__(), plotting.ROC.__str__(), trackingPlots.TimePerEventPlot.__str__(), trackingPlots.TimePerTrackPlot.__str__(), SequenceTypes.SequencePlaceholder._clonesequence(), trackingPlots.TimePerEventPlot._create(), plotting.PlotGroup._drawSeparate(), plotting.PlotGroup._save(), SequenceTypes.SequencePlaceholder.copy(), SequenceTypes._TaskBasePlaceholder.copy(), plotting.Subtract.create(), plotting.Transform.create(), plotting.FakeDuplicate.create(), plotting.CutEfficiency.create(), plotting.AggregateBins.create(), plotting.AggregateHistos.create(), trackingPlots.TimePerTrackPlot.create(), plotting.Plot.create(), plotting.PlotGroup.draw(), SequenceTypes.SequencePlaceholder.dumpPython(), SequenceTypes._TaskBasePlaceholder.dumpPython(), SequenceTypes.SequencePlaceholder.dumpSequenceConfig(), SequenceTypes.SequencePlaceholder.dumpSequencePython(), SequenceTypes._TaskBasePlaceholder.dumpSequencePython(), plotting.Plot.getName(), plotting.PlotGroup.getName(), plotting.PlotterFolder.getName(), plotting.PlotterItem.getName(), plotting.PlotterFolder.getSelectionNameIterator(), SequenceTypes.SequencePlaceholder.insertInto(), SequenceTypes._TaskBasePlaceholder.insertInto(), condhdf5tohdf5.H5DataProduct.name(), condhdf5tohdf5.H5Tag.name(), validation.SimpleSample.name(), trackingPlots.Iteration.name(), plotting.PlotterItem.readDirs(), plotting.PlotGroup.remove(), SequenceTypes.SequencePlaceholder.resolve(), SequenceTypes._TaskBasePlaceholder.resolve(), plotting.Plot.setName(), and condhdf5tohdf5.H5GlobalTag.tags().

◆ _payloadGroup

condhdf5tohdf5.H5DataProduct._payloadGroup
private

◆ _type

condhdf5tohdf5.H5DataProduct._type
private