CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edmStreamStallGrapher.Stack Class Reference

Public Member Functions

def __init__ (self)
 
def update (self, graphType, points)
 

Public Attributes

 data
 

Detailed Description

Definition at line 477 of file edmStreamStallGrapher.py.

Constructor & Destructor Documentation

◆ __init__()

def edmStreamStallGrapher.Stack.__init__ (   self)

Definition at line 478 of file edmStreamStallGrapher.py.

478  def __init__(self):
479  self.data = []
480 

Member Function Documentation

◆ update()

def edmStreamStallGrapher.Stack.update (   self,
  graphType,
  points 
)

Definition at line 481 of file edmStreamStallGrapher.py.

481  def update(self, graphType, points):
482  tmp = points
483  if len(self.data) != 0:
484  tmp += self.data[-1][1]
485 
486  tmp.sort(key=attrgetter('x'))
487  tmp = reduceSortedPoints(tmp)
488  self.data.append((graphType, tmp))
489 
490 #---------------------------------------------
491 # StreamInfoElement

References mps_setup.append, CombinedTauTagCalibration.data, CombinedSVCalibration.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, SimpleVFATFrameCollection.data, classes.PlotData.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, calo::multifit::MapSymM< T, Stride, Order >.data, QGLikelihoodObject.data, KDTreeNodeInfo< DATA, DIM >.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, KDTreeNodes< DATA, DIM >.data, calo::multifit::MapMForPM< T >.data, GeometryComparisonPlotter.data, edm::MapOfVectors< K, T >::Iter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, EcalShowerContainmentCorrections::Coefficients.data, edm::DetSet< T >.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, submitPVValidationJobs.Job.data, edmStreamStallGrapher.Stack.data, and edmStreamStallGrapher.reduceSortedPoints().

Referenced by progressbar.ProgressBar.__next__(), MatrixUtil.Matrix.__setitem__(), MatrixUtil.Steps.__setitem__(), progressbar.ProgressBar.finish(), and MatrixUtil.Steps.overwrite().

Member Data Documentation

◆ data

edmStreamStallGrapher.Stack.data
mps_setup.append
append
Definition: mps_setup.py:85
edmStreamStallGrapher.reduceSortedPoints
def reduceSortedPoints(ps)
Definition: edmStreamStallGrapher.py:450
update
#define update(a, b)
Definition: TrackClassifier.cc:10