CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 1529 of file svgfig.py.

Constructor & Destructor Documentation

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

Definition at line 1539 of file svgfig.py.

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

Member Function Documentation

def svgfig.Curve.Sample.__repr__ (   self)

Definition at line 1530 of file svgfig.py.

References svgfig.SVG.t, AlignmentMonitorMuonSystemMap1D::MyCSCDetId.t, svgfig.Curve.Sample.t, BeamSpotObj.BeamSpot.X, Quad.x, reco::MuonRPCHitMatch.x, RPFlatParams::EP.x, reco::PixelClusterProperties.x, l1thgcfirmware::HGCalSeed.x(), BeamSpotPOD.x, gen::PdfInfo.x, AlignPCLThresholds.X, stAPVGain.x, EnergyDepositUnit.x(), MadKinematicDescriptor.x, TkLayerMap::XYbin.x, AmplitudeSegmentFP420.x(), TwoBodyDecayParameters.x, SignalPoint.x(), reco::PFCandidateElectronExtra.X, reco::MuonChamberMatch.x, lumiregperbunch.bsmeas.x, EnergySegmentFP420.x(), CTPPSTimingRecHit.x(), Geom::Polar2Cartesian< T >.x(), SiStripFineDelayTOF.x(), HFShowerPhoton.x(), CTPPSTimingLocalTrack.x, SimplePixel.x, ME0DigiPreReco.x(), online::BeamSpot_v1.x, PixelClusterizerBase::AccretionCluster.x, HGCal_helpers::Coordinates.x, reco::PFCandidateEGammaExtra.X, PulseChiSqSNNLS.X(), reco::MuonMETCorrectionData.x(), LHCInterpolatedOpticalFunctionsSet::Kinematics.x, ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.x, FTLCluster::FTLHit.x(), EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, reco::MuonRecHitCluster.x(), l1thgcfirmware::HGCalCluster.x(), reco::MuonSegmentMatch.x, SiPixelCluster::Pixel.x, l1thgcfirmware::HGCalTriggerCell.x(), PhiInterval.x, ClusterShape.x, BSvsPVHistogramMaker.x(), VertexType.x, RHStopTracer::StopPoint.x, BeamSpotFakeConditions.x, TotemTestHistoClass::Hit.x, PGlobalSimHit::Vtx.x, MTDClusterizerBase::AccretionCluster.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(), egPM::AbsEtaNrClus.x, PV2DBase< T, PVType, FrameType >.x(), HGCalRecHitValidation::HitsInfo.x, HGCalDigiValidation::digiInfo.x, MTDHit.x, reco::PFCandidate.X, Geom::Cylindrical2Cartesian< T >.x(), Run3ScoutingVertex.x(), ScoutingVertex.x(), MuScleFitMuon.x(), TwoTrackMinimumDistanceHelixLine.X, BeamSpotOnline.x(), HcalForwardAnalysis::Photon.x, mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< double >.x(), mathSSE::Rot3< float >.x(), mathSSE::Rot3< align::Scalar >.x(), mathSSE::Rot3< T >.x(), RooCMSShape.x, funct::X.X(), Pixinfo.x, trklet::L1TStub.x(), egPM::AbsEtaNrClusPhi.x, reco::CastorCell.x(), Hit.x, Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), Basic2DVector< float >.x(), PV3DBase< float, PointTag, LocalTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, GlobalTag >.x(), PV3DBase< Scalar, PointTag, GlobalTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< float, PointTag, GlobalTag >.x(), PV3DBase< long double, PointTag, GlobalTag >.x(), PV3DBase< float, VectorTag, LocalTag >.x(), Basic2DVector< T >.x(), PV3DBase< align::Scalar, PointTag, GlobalTag >.x(), PV3DBase< T, PVType, FrameType >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), funct::GaussLegendreIntegrator.x, HGCalSimHitValidation::hitsinfo.x, Clust.x, mkfit::TrackState.x(), PPSDiamondG4Hit.x(), QcdLowPtDQM::Pixel.x(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, BeamSpotObjects.x(), reco::BeamSpot.x(), CTPPSLocalTrackLite.x(), Geom::Spherical2Cartesian< T >.x(), PassiveHit.x(), egPM::AbsEtaNrClusEt.x, python.rootplot.utilities.Hist2D.x, Primary4DVertexValidation::simPrimaryVertex.x, PixelUnpackingRegions::Module.x, Basic3DVector< long double >.x(), Rechit.x, DigitizerUtility::EnergyDepositUnit.x(), CSCOfflineMonitor.X, VertexClassifier::GeneratedPrimaryVertex.x, reco::CastorEgamma.x(), DTTracoCand.X(), reco::CastorJet.x(), PixelModule.x, PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, l1t::emtf::AMC13Header.X(), TotemRPG4Hit.x(), HcalForwardAnalysis.x, L1TMuon::TriggerPrimitive::RPCData.x, hit.x, Geom::Cartesian2Cartesian3D< T >.x(), ParabolaFit::Point.x, BeamSpotDipServer.x, Basic3DVector< float >.x(), Basic3DVector< align::Scalar >.x(), Basic3DVector< Scalar >.x(), Basic3DVector< T >.x(), GaussianSumUtilities1D::FinderState.x, DTChambPhSegm.X(), l1t::emtf::AMC13Header.x, QcdLowPtDQM::Vertex.x(), RecHitsSortedInPhi.x, DTSectCollPhSegm.X(), DigitizerUtility::SignalPoint.x(), XHistogram::position.x, DD4hep_XHistogram::position.x, SiStripRecHitsValid::RecHitProperties.x, DTBtiTrigData.X(), PPSPixelG4Hit.x(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, reco::CastorCluster.x(), TrackClassifier::GeneratedPrimaryVertex.x, DTBtiTrig.X(), SiPixelCluster.x(), mathSSE::Rot2< Scalar >.x(), mathSSE::Rot2< T >.x(), FTLCluster.x(), funct::GaussIntegrator.x, cmsdt::metaPrimitive.x, FP420SD.X, Primary4DVertexValidation::recoPrimaryVertex.x, reco::Vertex.x(), MuonGeometryArrange::MGACollection.x, SOAFrame< float >.x(), SOAFrame< T >.x(), python.rootplot.utilities.Hist.x, PSFitter::HybridMinimizer.X(), HGCalWaferValidation::WaferInfo.x, lhef::HEPEUP::FiveVector.x, EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, DTTracoTrig.X(), HGCalImagingAlgo::Hexel.x, mkfit::TrackBase.x(), HitDoublets.x(), mkfit::Hit.x(), hgcal_conditions::positions::HeterogeneousHGCalPositionsMapping.x, HGCalCLUEAlgoT< TILE >::CellsOnLayer.x, reco::CaloCluster.x(), RawParticle.x(), RawParticle.X(), LHCOpticsApproximator.X, TkRotation< double >.x(), TkRotation< float >.x(), TkRotation< align::Scalar >.x(), TkRotation< Scalar >.x(), TkRotation< T >.x(), SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), DTTracoTrigData.X(), MuScleFitUtils.x, SiStripTrackingRecHitsValid::RecHitProperties.x, perftools::detail::Hist.x, SiPixelDigitizerAlgorithm::SignalPoint.x(), ecal::multifit::xyz.x, hitfit::Fourvec_Event.x(), TkRotation2D< Scalar >.x(), TkRotation2D< T >.x(), mkfit::BeamSpot.x, PDF.x, edmStreamStallGrapher.Point.x, svgfig.Plot.x, svgfig.Frame.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__().

1531  def __repr__(self):
1532  t, x, y, X, Y = self.t, self.x, self.y, self.X, self.Y
1533  if t != None: t = "%g" % t
1534  if x != None: x = "%g" % x
1535  if y != None: y = "%g" % y
1536  if X != None: X = "%g" % X
1537  if Y != None: Y = "%g" % Y
1538  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 1543 of file svgfig.py.

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

Definition at line 1541 of file svgfig.py.

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

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

Definition at line 1544 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__(), edmStreamStallGrapher.Point.__str__(), python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), 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(), ntupleDataFormat._HitObject.r(), ntupleDataFormat._HitObject.r3D(), 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 1546 of file svgfig.py.

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