CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
svgfig.Curve.Sample Class Reference

nested class Sample More...

Public Member Functions

def __init__ (self, t)
 
def __repr__ (self)
 
def evaluate (self, f, trans)
 
def link (self, left, right)
 

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.

1538  def __init__(self, t): self.t = t
1539 
def __init__(self, t)
Definition: svgfig.py:1538

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, stAPVGain.x, RPFlatParams::EP.x, gen::PdfInfo.x, AlignPCLThresholds.X, EnergyDepositUnit.x(), SimplePixel.x, ScoutingVertex.x(), AmplitudeSegmentFP420.x(), reco::MuonChamberMatch.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(), PixelClusterizerBase::AccretionCluster.x, ME0DigiPreReco.x(), BinomialProbHelper.x(), HFShowerPhoton.x(), reco::PFCandidateEGammaExtra.X, Phase2ITPixelCluster::Pixel.x, EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, reco::MuonSegmentMatch.x, SiPixelCluster::Pixel.x, BeamSpotFakeConditions.x, PGlobalSimHit::Vtx.x, RHStopTracer::StopPoint.x, PhiInterval.x, ClusterShape.x, BSvsPVHistogramMaker.x(), egPM::AbsEtaNrClus.x, VertexType.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(), HcalForwardAnalysis::Photon.x, Geom::Cylindrical2Cartesian< T >.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, funct::GaussLegendreIntegrator.x, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, reco::CastorCell.x(), Hit.x, PV3DBase< float, VectorTag, MeasurementTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< float, VectorTag, GlobalTag >.x(), PV3DBase< T, PVType, FrameType >.x(), DigitizerUtility::EnergyDepositUnit.x(), Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), Basic2DVector< float >.x(), Basic2DVector< T >.x(), HGCalSimHitValidation::hitsinfo.x, PixelModule.x, Clust.x, l1t::emtf::AMC13Header.x, python.rootplot.utilities.Hist2D.x, reco::BeamSpot.x(), egPM::AbsEtaNrClusEt.x, Geom::Spherical2Cartesian< T >.x(), CTPPSLocalTrackLite.x, PixelUnpackingRegions::Module.x, CSCOfflineMonitor.X, reco::CastorJet.x(), reco::CastorEgamma.x(), Rechit.x, DTTracoCand.X(), Basic3DVector< long double >.x(), HcalForwardAnalysis.x, hit.x, PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, DigitizerUtility::SignalPoint.x(), VertexClassifier::GeneratedPrimaryVertex.x, QcdLowPtDQM::Vertex.x(), Geom::Cartesian2Cartesian3D< T >.x(), Basic3DVector< double >.x(), Basic3DVector< Scalar >.x(), Basic3DVector< float >.x(), Basic3DVector< T >.x(), reco::CastorCluster.x(), Phase2ITPixelCluster.x(), DTChambPhSegm.X(), RecHitsSortedInPhi.x, SiPixelCluster.x(), GaussianSumUtilities1D::FinderState.x, DTSectCollPhSegm.X(), SiStripRecHitsValid::RecHitProperties.x, reco::Vertex.x(), funct::GaussIntegrator.x, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, XHistogram::position.x, BHMSD.X, FastTimerSD.X, mathSSE::Rot2< Scalar >.x(), mathSSE::Rot2< T >.x(), TrackClassifier::GeneratedPrimaryVertex.x, MuonGeometryArrange::MGACollection.x, ThOutput.x, python.rootplot.utilities.Hist.x, ThOutput2.x, PhOutput.x, HGCalImagingAlgo::Hexel.x, PSFitter::HybridMinimizer.X(), DTBtiTrigData.X(), DTBtiTrig.X(), lhef::HEPEUP::FiveVector.x, BscSD.X, reco::CaloCluster.x(), EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, HitDoublets.x(), FP420SD.X, SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), RawParticle.x(), DeltaOutArr2.x, DeltaOutArr3.x, MuScleFitUtils.x, RawParticle.X(), SiPixelDigitizerAlgorithm::SignalPoint.x(), DTTracoTrig.X(), Rot3< align::Scalar >.x(), Rot3< float >.x(), Rot3< Scalar >.x(), Rot3< T >.x(), Rot3< double >.x(), SiStripTrackingRecHitsValid::RecHitProperties.x, perftools::detail::Hist.x, gen::Hydjet2Hadronizer.X, TkRotation< Scalar >.x(), TkRotation< double >.x(), TkRotation< float >.x(), TkRotation< T >.x(), TkRotation< align::Scalar >.x(), DTTracoTrigData.X(), hitfit::Fourvec_Event.x(), Rot2< T >.x(), Rot2< Scalar >.x(), edmStreamStallGrapher.Point.x, AccretionCluster.x, TkRotation2D< T >.x(), TkRotation2D< Scalar >.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__().

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

Definition at line 1542 of file svgfig.py.

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

Definition at line 1540 of file svgfig.py.

1540  def link(self, left, right): self.left, self.right = left, right
1541 
def link(self, left, right)
Definition: svgfig.py:1540

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
svgfig.Curve.Sample.Y

Definition at line 1545 of file svgfig.py.

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