CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
svgfig.Curve.Sample Class Reference

nested class Sample More...

Public Member Functions

def __init__
 
def __repr__
 
def evaluate
 
def link
 

Public Attributes

 right
 
 t
 
 y
 
 Y
 

Detailed Description

nested class Sample

Definition at line 1528 of file svgfig.py.

Constructor & Destructor Documentation

def svgfig.Curve.Sample.__init__ (   self,
  t 
)

Definition at line 1538 of file svgfig.py.

1539  def __init__(self, t): self.t = t

Member Function Documentation

def svgfig.Curve.Sample.__repr__ (   self)

Definition at line 1529 of file svgfig.py.

References AlignmentMonitorMuonSystemMap1D::MyCSCDetId.t, svgfig.SVG.t, svgfig.Curve.Sample.t, BeamSpotObj.BeamSpot.X, Quad.x, reco::MuonRPCHitMatch.x, RPFlatParams::EP.x, gen::PdfInfo.x, reco::MuonChamberMatch.x, EnergyDepositUnit.x(), SimplePixel.x, ScoutingVertex.x(), AmplitudeSegmentFP420.x(), reco::PFCandidateElectronExtra.X, lumiregperbunch.bsmeas.x, TkLayerMap::XYbin.x, SignalPoint.x(), TwoBodyDecayParameters.x, reco::MuonMETCorrectionData.x(), Geom::Polar2Cartesian< T >.x(), PulseChiSqSNNLS.X(), SiStripFineDelayTOF.x(), EnergySegmentFP420.x(), ME0DigiPreReco.x(), BinomialProbHelper.x(), HFShowerPhoton.x(), reco::PFCandidateEGammaExtra.X, reco::MuonSegmentMatch.x, EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, PGlobalSimHit::Vtx.x, RHStopTracer::StopPoint.x, BeamSpotFakeConditions.x, ClusterShape.x, BSvsPVHistogramMaker.x(), egPM::AbsEtaNrClus.x, SiPixelCluster::Pixel.x, TotemTestHistoClass::Hit.x, PV2DBase< float, VectorTag, LocalTag >.x(), PV2DBase< float, PointTag, LocalTag >.x(), PV2DBase< float, VectorTag, MeasurementTag >.x(), PV2DBase< float, PointTag, MeasurementTag >.x(), PV2DBase< T, VectorTag, FrameTag >.x(), PV2DBase< float, VectorTag, GlobalTag >.x(), PV2DBase< T, PointTag, FrameTag >.x(), PV2DBase< float, PointTag, GlobalTag >.x(), PV2DBase< double, PointTag, LocalTag >.x(), reco::PFCandidate.X, PV2DBase< T, PVType, FrameType >.x(), mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< double >.x(), mathSSE::Rot3< float >.x(), mathSSE::Rot3< align::Scalar >.x(), mathSSE::Rot3< T >.x(), VertexType.x, Geom::Cylindrical2Cartesian< T >.x(), HcalForwardAnalysis::Photon.x, ParabolaFit::Point.x, Particle.X(), funct::X.X(), BeamSpotOnline.x(), HGCalDigiValidation::digiInfo.x, TwoTrackMinimumDistanceHelixLine.X, RooCMSShape.x, MuScleFitMuon.x(), egPM::AbsEtaNrClusPhi.x, QcdLowPtDQM::Pixel.x(), l1t::emtf::AMC13Header.X(), Pixinfo.x, HGCalRecHitValidation::HitsInfo.x, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, funct::GaussLegendreIntegrator.x, reco::CastorCell.x(), Hit.x, PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< Scalar, PointTag, GlobalTag >.x(), PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< float, PointTag, LocalTag >.x(), PV3DBase< float, VectorTag, MeasurementTag >.x(), PV3DBase< float, PointTag, MeasurementTag >.x(), PV3DBase< T, PointTag, GlobalTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< float, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< float, PointTag, GlobalTag >.x(), PV3DBase< align::Scalar, PointTag, GlobalTag >.x(), PV3DBase< T, PVType, FrameType >.x(), PV3DBase< long double, PointTag, GlobalTag >.x(), Basic2DVector< T >.x(), Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), Basic2DVector< float >.x(), PixelModule.x, HGCalSimHitValidation::hitsinfo.x, Clust.x, l1t::emtf::AMC13Header.x, reco::BeamSpot.x(), python.rootplot.utilities.Hist2D.x, egPM::AbsEtaNrClusEt.x, Geom::Spherical2Cartesian< T >.x(), CTPPSLocalTrackLite.x, CSCOfflineMonitor.X, reco::CastorEgamma.x(), reco::CastorJet.x(), PixelUnpackingRegions::Module.x, Rechit.x, DTTracoCand.X(), Basic3DVector< long double >.x(), HcalForwardAnalysis.x, PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, hit.x, VertexClassifier::GeneratedPrimaryVertex.x, QcdLowPtDQM::Vertex.x(), Geom::Cartesian2Cartesian3D< T >.x(), stAPVGain.x, Basic3DVector< align::Scalar >.x(), Basic3DVector< double >.x(), Basic3DVector< float >.x(), Basic3DVector< T >.x(), Basic3DVector< Scalar >.x(), reco::CastorCluster.x(), reco::Vertex.x(), RecHitsSortedInPhi.x, DTChambPhSegm.X(), GaussianSumUtilities1D::FinderState.x, DTSectCollPhSegm.X(), SiStripRecHitsValid::RecHitProperties.x, funct::GaussIntegrator.x, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, XHistogram::position.x, SiPixelCluster.x(), BHMSD.X, FastTimerSD.X, mathSSE::Rot2< T >.x(), mathSSE::Rot2< Scalar >.x(), MuonGeometryArrange::MGACollection.x, TrackClassifier::GeneratedPrimaryVertex.x, python.rootplot.utilities.Hist.x, ThOutput.x, ThOutput2.x, PhOutput.x, PSFitter::HybridMinimizer.X(), DTBtiTrigData.X(), DTBtiTrig.X(), lhef::HEPEUP::FiveVector.x, reco::CaloCluster.x(), BscSD.X, HitDoublets.x(), EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, FP420SD.X, SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), RawParticle.x(), RawParticle.X(), MuScleFitUtils.x, DeltaOutArr2.x, DeltaOutArr3.x, SiPixelDigitizerAlgorithm::SignalPoint.x(), DTTracoTrig.X(), SiStripTrackingRecHitsValid::RecHitProperties.x, gen::Hydjet2Hadronizer.X, perftools::detail::Hist.x, TkRotation< double >.x(), TkRotation< T >.x(), TkRotation< Scalar >.x(), TkRotation< align::Scalar >.x(), TkRotation< float >.x(), DTTracoTrigData.X(), hitfit::Fourvec_Event.x(), AccretionCluster.x, TkRotation2D< Scalar >.x(), TkRotation2D< T >.x(), PDF.x, svgfig.Plot.x, svgfig.Frame.x, Vispa.Views.LineDecayView.DecayNode.x(), PMuonSimHit::Vtx.x, PTrackerSimHit::Vtx.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, MuonGeometryArrange::MGACollection.y, svgfig.Plot.y, svgfig.Frame.y, svgfig.Curve.Sample.y, and svgfig.Curve.Sample.Y.

Referenced by data_sources.json_file.__str__().

1530  def __repr__(self):
1531  t, x, y, X, Y = self.t, self.x, self.y, self.X, self.Y
1532  if t != None: t = "%g" % t
1533  if x != None: x = "%g" % x
1534  if y != None: y = "%g" % y
1535  if X != None: X = "%g" % X
1536  if Y != None: Y = "%g" % Y
1537  return "<Curve.Sample t=%s x=%s y=%s X=%s Y=%s>" % (t, x, y, X, Y)
def svgfig.Curve.Sample.evaluate (   self,
  f,
  trans 
)

Definition at line 1542 of file svgfig.py.

1543  def evaluate(self, f, trans):
1544  self.x, self.y = f(self.t)
1545  if trans == None:
1546  self.X, self.Y = self.x, self.y
1547  else:
1548  self.X, self.Y = trans(self.x, self.y)
### end Sample
def svgfig.Curve.Sample.link (   self,
  left,
  right 
)

Definition at line 1540 of file svgfig.py.

1541  def link(self, left, right): self.left, self.right = left, right

Member Data Documentation

svgfig.Curve.Sample.right

Definition at line 1540 of file svgfig.py.

Referenced by progressbar.Bar.update(), and progressbar.BouncingBar.update().

svgfig.Curve.Sample.t

Definition at line 1538 of file svgfig.py.

Referenced by svgfig.Curve.Sample.__repr__().

svgfig.Curve.Sample.y

Definition at line 1543 of file svgfig.py.

Referenced by python.rootplot.utilities.Hist.__getitem__(), python.rootplot.utilities.Hist.__init_TGraph(), python.rootplot.utilities.Hist.__iter__(), svgfig.Curve.Sample.__repr__(), svgfig.Text.__repr__(), svgfig.TextGlobal.__repr__(), svgfig.HLine.__repr__(), svgfig.Ellipse.__repr__(), python.rootplot.utilities.Hist.__setitem__(), Vispa.Gui.WidgetContainer.WidgetContainer.autosize(), python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), Vispa.Gui.VispaWidget.VispaWidget.boundingRect(), python.rootplot.root2matplotlib.Hist2D.box(), python.rootplot.root2matplotlib.Hist2D.contour(), python.rootplot.utilities.Hist.divide_wilson(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), python.rootplot.root2matplotlib.Hist.hist(), python.rootplot.utilities.Hist.min(), geometryXMLparser.Alignable.pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), python.rootplot.utilities.Hist.scale(), svgfig.Text.SVG(), svgfig.TextGlobal.SVG(), python.rootplot.utilities.Hist.TGraph(), and python.rootplot.utilities.Hist.TH1F().

svgfig.Curve.Sample.Y

Definition at line 1545 of file svgfig.py.

Referenced by svgfig.Curve.Sample.__repr__(), and BeamSpotObj.BeamSpot.Reset().