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 1529 of file svgfig.py.

Constructor & Destructor Documentation

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

Definition at line 1539 of file svgfig.py.

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

Member Function Documentation

def svgfig.Curve.Sample.__repr__ (   self)

Definition at line 1530 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, stAPVGain.x, gen::PdfInfo.x, AlignPCLThresholds.X, MadKinematicDescriptor.x, EnergyDepositUnit.x(), AmplitudeSegmentFP420.x(), TkLayerMap::XYbin.x, TwoBodyDecayParameters.x, SignalPoint.x(), SimplePixel.x, ScoutingVertex.x(), reco::PFCandidateElectronExtra.X, reco::MuonChamberMatch.x, lumiregperbunch.bsmeas.x, EnergySegmentFP420.x(), Geom::Polar2Cartesian< T >.x(), reco::MuonMETCorrectionData.x(), PulseChiSqSNNLS.X(), SiStripFineDelayTOF.x(), HFShowerPhoton.x(), ME0DigiPreReco.x(), PixelClusterizerBase::AccretionCluster.x, CTPPSTimingLocalTrack.x, reco::PFCandidateEGammaExtra.X, online::BeamSpot_v1.x, HGCal_helpers::Coordinates.x, BinomialProbHelper.x(), LHCInterpolatedOpticalFunctionsSet::Kinematics.x, FTLCluster::FTLHit.x(), EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, Phase2ITPixelCluster::Pixel.x, reco::MuonSegmentMatch.x, BeamSpotFakeConditions.x, SiPixelCluster::Pixel.x, PhiInterval.x, RHStopTracer::StopPoint.x, BSvsPVHistogramMaker.x(), ClusterShape.x, TotemTestHistoClass::Hit.x, VertexType.x, PGlobalSimHit::Vtx.x, MTDHit.x, MTDClusterizerBase::AccretionCluster.x, egPM::AbsEtaNrClus.x, PV2DBase< float, PointTag, LocalTag >.x(), PV2DBase< T, VectorTag, FrameTag >.x(), PV2DBase< float, VectorTag, GlobalTag >.x(), PV2DBase< T, PointTag, FrameTag >.x(), PV2DBase< double, PointTag, LocalTag >.x(), PV2DBase< T, PVType, FrameType >.x(), mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< double >.x(), mathSSE::Rot3< float >.x(), reco::PFCandidate.X, mathSSE::Rot3< T >.x(), mathSSE::Rot3< align::Scalar >.x(), HcalForwardAnalysis::Photon.x, Geom::Cylindrical2Cartesian< T >.x(), ParabolaFit::Point.x, Particle.X(), funct::X.X(), BeamSpotOnline.x(), TwoTrackMinimumDistanceHelixLine.X, RooCMSShape.x, MuScleFitMuon.x(), HGCalRecHitValidation::HitsInfo.x, l1t::emtf::AMC13Header.X(), Pixinfo.x, egPM::AbsEtaNrClusPhi.x, funct::GaussLegendreIntegrator.x, QcdLowPtDQM::Pixel.x(), reco::CastorCell.x(), Hit.x, PV3DBase< T, VectorTag, FrameTag >.x(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< T, PVType, FrameType >.x(), DigitizerUtility::EnergyDepositUnit.x(), Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), Basic2DVector< float >.x(), HGCalDigiValidation::digiInfo.x, Basic2DVector< T >.x(), HGCalSimHitValidation::hitsinfo.x, PixelModule.x, Clust.x, l1t::emtf::AMC13Header.x, reco::BeamSpot.x(), python.rootplot.utilities.Hist2D.x, Geom::Spherical2Cartesian< T >.x(), egPM::AbsEtaNrClusEt.x, VertexClassifier::GeneratedPrimaryVertex.x, PixelUnpackingRegions::Module.x, CSCOfflineMonitor.X, DTTracoCand.X(), reco::CastorEgamma.x(), reco::CastorJet.x(), Rechit.x, HcalForwardAnalysis.x, Basic3DVector< long double >.x(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, hit.x, DigitizerUtility::SignalPoint.x(), Geom::Cartesian2Cartesian3D< T >.x(), QcdLowPtDQM::Vertex.x(), Basic3DVector< Scalar >.x(), Basic3DVector< T >.x(), Basic3DVector< float >.x(), DTChambPhSegm.X(), reco::CastorCluster.x(), Phase2ITPixelCluster.x(), RecHitsSortedInPhi.x, SiPixelCluster.x(), DTSectCollPhSegm.X(), GaussianSumUtilities1D::FinderState.x, XHistogram::position.x, FTLCluster.x(), SiStripRecHitsValid::RecHitProperties.x, TrackClassifier::GeneratedPrimaryVertex.x, reco::Vertex.x(), funct::GaussIntegrator.x, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, FP420SD.X, mathSSE::Rot2< Scalar >.x(), mathSSE::Rot2< T >.x(), CTPPSLocalTrackLite.x, MuonGeometryArrange::MGACollection.x, python.rootplot.utilities.Hist.x, PSFitter::HybridMinimizer.X(), SOAFrame< T >.x(), DTBtiTrigData.X(), DTBtiTrig.X(), HGCalCLUEAlgo::Hexel.x, reco::CaloCluster.x(), EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, HGCalImagingAlgo::Hexel.x, DTTracoTrig.X(), HitDoublets.x(), lhef::HEPEUP::FiveVector.x, LHCOpticsApproximator.X, RawParticle.x(), RawParticle.X(), MuScleFitUtils.x, SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), DTTracoTrigData.X(), Rot3< T >.x(), Rot3< double >.x(), Rot3< float >.x(), Rot3< Scalar >.x(), Rot3< align::Scalar >.x(), SiStripTrackingRecHitsValid::RecHitProperties.x, SiPixelDigitizerAlgorithm::SignalPoint.x(), perftools::detail::Hist.x, gen::Hydjet2Hadronizer.X, TkRotation< T >.x(), TkRotation< Scalar >.x(), TkRotation< float >.x(), TkRotation< align::Scalar >.x(), TkRotation< double >.x(), hitfit::Fourvec_Event.x(), Rot2< Scalar >.x(), Rot2< T >.x(), TkRotation2D< Scalar >.x(), TkRotation2D< T >.x(), PDF.x, edmStreamStallGrapher.Point.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)
1538 
def __repr__(self)
Definition: svgfig.py:1530
def svgfig.Curve.Sample.evaluate (   self,
  f,
  trans 
)

Definition at line 1543 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)
1549  ### end Sample
def evaluate(self, f, trans)
Definition: svgfig.py:1543
def svgfig.Curve.Sample.link (   self,
  left,
  right 
)

Definition at line 1541 of file svgfig.py.

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

Member Data Documentation

svgfig.Curve.Sample.right

Definition at line 1541 of file svgfig.py.

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

svgfig.Curve.Sample.t

Definition at line 1539 of file svgfig.py.

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

svgfig.Curve.Sample.y
svgfig.Curve.Sample.Y

Definition at line 1546 of file svgfig.py.

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