Public Member Functions | |
def | __init__ (self, x, y, ax, ay, b, attr) |
def | __repr__ (self) |
def | Path (self, trans=None, local=False) |
def | SVG (self, trans=None) |
Public Member Functions inherited from svgfig.Curve | |
def | __init__ (self, f, low, high, loop=False, attr) |
def | __repr__ (self) |
def | Path (self, trans=None, local=False) |
def | sample (self, trans=None) |
end nested class More... | |
def | subsample (self, left, right, depth, trans=None) |
def | SVG (self, trans=None) |
Public Attributes | |
attr | |
b | |
f | |
high | |
loop | |
low | |
Public Attributes inherited from svgfig.Curve | |
attr | |
f | |
high | |
last_samples | |
loop | |
low | |
Static Public Attributes | |
dictionary | defaults = {} |
Static Public Attributes inherited from svgfig.Curve | |
dictionary | defaults = {} |
int | discontinuity_limit = 5. |
float | linearity_limit = 0.05 |
bool | random_sampling = True |
int | recursion_limit = 15 |
Draws an ellipse from a semimajor vector (ax,ay) and a semiminor length (b). Ellipse(x, y, ax, ay, b, attribute=value) x, y required the center of the ellipse/circle ax, ay required a vector indicating the length and direction of the semimajor axis b required the length of the semiminor axis. If equal to sqrt(ax2 + ay2), the ellipse is a circle attribute=value pairs keyword list SVG attributes (If sqrt(ax**2 + ay**2) is less than b, then (ax,ay) is actually the semiminor axis.)
def svgfig.Ellipse.__init__ | ( | self, | |
x, | |||
y, | |||
ax, | |||
ay, | |||
b, | |||
attr | |||
) |
Definition at line 2258 of file svgfig.py.
def svgfig.Ellipse.__repr__ | ( | self | ) |
Definition at line 2255 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, LocalTrackFit.ax, LocalTrackFit.ay, svgfig.Ellipse.b, Quad.x, mkfit::BeamSpot.x, MTDHit.x, reco::MuonGEMHitMatch.x, reco::MuonRPCHitMatch.x, portabletest::TestStruct.x, RPFlatParams::EP.x, reco::PixelClusterProperties.x, BeamSpotPOD.x, l1thgcfirmware::HGCalSeed.x(), gen::PdfInfo.x, MadKinematicDescriptor.x, EnergyDepositUnit.x(), stAPVGain.x, TkLayerMap::XYbin.x, mkfit::mini_propagators::State.x, TwoBodyDecayParameters.x, SignalPoint.x(), ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Position4.x, LSTPhase2OTHitsInput.x(), lumiregperbunch.bsmeas.x, reco::MuonChamberMatch.x, CTPPSTimingRecHit.x(), Geom::Polar2Cartesian< T >.x(), SiStripFineDelayTOF.x(), CTPPSTimingLocalTrack.x, SimplePixel.x, ME0DigiPreReco.x(), ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Position3.x, online::BeamSpot_v1.x, EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, CTPPSRPAlignment.x, PixelClusterizerBase::AccretionCluster.x, HFShowerPhoton.x(), reco::MuonMETCorrectionData.x(), LHCInterpolatedOpticalFunctionsSet::Kinematics.x, FTLCluster::FTLHit.x(), ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Neighbours4.x, reco::MuonRecHitCluster.x(), l1thgcfirmware::HGCalCluster.x(), ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.x, reco::MuonSegmentMatch.x, ClusterShape.x, SiPixelCluster::Pixel.x, l1thgcfirmware::HGCalTriggerCell.x(), PhiInterval.x, VertexType.x, BSvsPVHistogramMaker.x(), BeamSpotFakeConditions.x, RHStopTracer::StopPoint.x, TotemTestHistoClass::Hit.x, PGlobalSimHit::Vtx.x, MTDClusterizerBase::AccretionCluster.x, HGCalDigiValidation::digiInfo.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, MkFitGeometryESProducer::GapCollector::Interval.x, ScoutingVertex.x(), Geom::Cylindrical2Cartesian< T >.x(), MuScleFitMuon.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(), HGCalSimHitValidation::hitsinfo.x, RooCMSShape.x, Run3ScoutingVertex.x(), Pixinfo.x, mkfit::TrackState.x(), mkfit::mini_propagators::StatePlex.x, egPM::AbsEtaNrClusPhi.x, trklet::L1TStub.x(), Hit.x, reco::CastorCell.x(), lst::uint4.x, CPEBranch.x, PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< float, PointTag, LocalTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, GlobalTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< Scalar, PointTag, GlobalTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< float, PointTag, GlobalTag >.x(), PV3DBase< align::Scalar, PointTag, GlobalTag >.x(), PV3DBase< long double, PointTag, GlobalTag >.x(), PV3DBase< T, PVType, FrameType >.x(), funct::GaussLegendreIntegrator.x, Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), Basic2DVector< float >.x(), Basic2DVector< T >.x(), Clust.x, QcdLowPtDQM::Pixel.x(), PPSDiamondG4Hit.x(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, BeamSpotObjects.x(), reco::BeamSpot.x(), CTPPSLocalTrackLite.x(), Geom::Spherical2Cartesian< T >.x(), PixelBaryCentreAnalyzer::SimplePoint.x, SimBeamSpotObjects.x(), PassiveHit.x(), egPM::AbsEtaNrClusEt.x, python.rootplot.utilities.Hist2D.x, PixelUnpackingRegions::Module.x, Rechit.x, VertexClassifier::GeneratedPrimaryVertex.x, Basic3DVector< long double >.x(), reco::CastorEgamma.x(), reco::CastorJet.x(), PixelModule.x, TotemRPG4Hit.x(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, HcalForwardAnalysis.x, L1TMuon::TriggerPrimitive::RPCData.x, hit.x, Primary4DVertexValidation::simPrimaryVertex.x, Geom::Cartesian2Cartesian3D< T >.x(), ParabolaFit::Point.x, BeamSpotDipServer.x, GaussianSumUtilities1D::FinderState.x, Basic3DVector< Scalar >.x(), Basic3DVector< float >.x(), Basic3DVector< align::Scalar >.x(), l1t::emtf::AMC13Header.x, Basic3DVector< T >.x(), QcdLowPtDQM::Vertex.x(), RecHitsSortedInPhi.x, XHistogram::position.x, DD4hep_XHistogram::position.x, SiStripRecHitsValid::RecHitProperties.x, PPSPixelG4Hit.x(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, reco::CastorCluster.x(), TrackClassifier::GeneratedPrimaryVertex.x, SiPixelCluster.x(), mathSSE::Rot2< T >.x(), mathSSE::Rot2< Scalar >.x(), funct::GaussIntegrator.x, FTLCluster.x(), reco::Vertex.x(), MuonGeometryArrange::MGACollection.x, SOAFrame< float >.x(), SOAFrame< T >.x(), digitizerUtility::EnergyDepositUnit.x(), lst_math::Hit.x(), python.rootplot.utilities.Hist.x, HGCalWaferValidation::WaferInfo.x, Primary4DVertexValidation::recoPrimaryVertex.x, mkfit::TrackBase.x(), lhef::HEPEUP::FiveVector.x, BeamSpotOnlineRaw_v4.x, SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), EPOS::EPOS_Wrapper.x(), HGCalImagingAlgo::Hexel.x, HitDoublets.x(), digitizerUtility::SignalPoint.x(), mkfit::Hit.x(), cmsdt::metaPrimitive.x, hgcal_conditions::positions::HeterogeneousHGCalPositionsMapping.x, reco::CaloCluster.x(), RawParticle.x(), SiPixelDigitizerAlgorithm::SignalPoint.x(), TkRotation< Scalar >.x(), TkRotation< double >.x(), TkRotation< float >.x(), TkRotation< align::Scalar >.x(), TkRotation< T >.x(), Rot3< Scalar >.x(), Rot3< double >.x(), Rot3< float >.x(), Rot3< align::Scalar >.x(), Rot3< T >.x(), MuScleFitUtils.x, SiStripTrackingRecHitsValid::RecHitProperties.x, perftools::detail::Hist.x, ecal::multifit::xyz.x, Rot2< Scalar >.x(), Rot2< T >.x(), hitfit::Fourvec_Event.x(), TkRotation2D< Scalar >.x(), TkRotation2D< T >.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, mkfit::BeamSpot.y, Quad.y, MTDHit.y, RPFlatParams::EP.y, portabletest::TestStruct.y, reco::PixelClusterProperties.y, l1thgcfirmware::HGCalSeed.y(), BeamSpotPOD.y, EnergyDepositUnit.y(), stAPVGain.y, TkLayerMap::XYbin.y, mkfit::mini_propagators::State.y, MadKinematicDescriptor.y, TwoBodyDecayParameters.y, ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Position4.y, SignalPoint.y(), CPPFCluster.y(), RPCCluster.y(), LSTPhase2OTHitsInput.y(), lumiregperbunch.bsmeas.y, reco::MuonChamberMatch.y, Geom::Polar2Cartesian< T >.y(), CTPPSTimingLocalTrack.y, CTPPSTimingRecHit.y(), SiStripFineDelayTOF.y(), ME0DigiPreReco.y(), CTPPSRPAlignment.y, SimplePixel.y, ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Position3.y, online::BeamSpot_v1.y, PixelClusterizerBase::AccretionCluster.y, HFShowerPhoton.y(), reco::MuonMETCorrectionData.y(), FTLCluster::FTLHit.y(), LHCInterpolatedOpticalFunctionsSet::Kinematics.y, ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Neighbours4.y, reco::MuonRecHitCluster.y(), l1thgcfirmware::HGCalCluster.y(), ClusterShape.y, reco::MuonSegmentMatch.y, PhiInterval.y, ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.y, l1thgcfirmware::HGCalTriggerCell.y(), SiPixelCluster::Pixel.y, BSvsPVHistogramMaker.y(), VertexType.y, BeamSpotFakeConditions.y, RHStopTracer::StopPoint.y, TotemTestHistoClass::Hit.y, HGCalDigiValidation::digiInfo.y, MTDClusterizerBase::AccretionCluster.y, PGlobalSimHit::Vtx.y, MkFitGeometryESProducer::GapCollector::Interval.y, HGCalRecHitValidation::HitsInfo.y, PV2DBase< float, PointTag, LocalTag >.y(), PV2DBase< T, VectorTag, FrameTag >.y(), PV2DBase< float, VectorTag, GlobalTag >.y(), PV2DBase< T, PVType, FrameType >.y(), PV2DBase< double, PointTag, LocalTag >.y(), PV2DBase< T, PointTag, FrameTag >.y(), egPM::AbsEtaNrClus.y, ScoutingVertex.y(), Geom::Cylindrical2Cartesian< T >.y(), MuScleFitMuon.y(), BeamSpotOnline.y(), HcalForwardAnalysis::Photon.y, mathSSE::Rot3< align::Scalar >.y(), mathSSE::Rot3< Scalar >.y(), mathSSE::Rot3< T >.y(), mathSSE::Rot3< double >.y(), mathSSE::Rot3< float >.y(), HGCalSimHitValidation::hitsinfo.y, Run3ScoutingVertex.y(), mkfit::TrackState.y(), Pixinfo.y, mkfit::mini_propagators::StatePlex.y, egPM::AbsEtaNrClusPhi.y, trklet::L1TStub.y(), Hit.y, CPEBranch.y, lst::uint4.y, PV3DBase< float, PointTag, LocalTag >.y(), PV3DBase< float, PointTag, GlobalTag >.y(), PV3DBase< T, PointTag, FrameTag >.y(), PV3DBase< T, VectorTag, FrameTag >.y(), PV3DBase< Scalar, VectorTag, GlobalTag >.y(), PV3DBase< T, PointTag, GlobalTag >.y(), PV3DBase< long double, PointTag, GlobalTag >.y(), PV3DBase< Scalar, PointTag, GlobalTag >.y(), PV3DBase< float, VectorTag, LocalTag >.y(), PV3DBase< T, PVType, FrameType >.y(), PV3DBase< align::Scalar, PointTag, GlobalTag >.y(), reco::CastorCell.y(), Basic2DVector< T >.y(), Basic2DVector< Scalar >.y(), Basic2DVector< double >.y(), Basic2DVector< float >.y(), Clust.y, PPSDiamondG4Hit.y(), QcdLowPtDQM::Pixel.y(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, BeamSpotObjects.y(), reco::BeamSpot.y(), Geom::Spherical2Cartesian< T >.y(), PixelBaryCentreAnalyzer::SimplePoint.y, SimBeamSpotObjects.y(), egPM::AbsEtaNrClusEt.y, PassiveHit.y(), PixelUnpackingRegions::Module.y, python.rootplot.utilities.Hist2D.y, CTPPSLocalTrackLite.y(), Rechit.y, VertexClassifier::GeneratedPrimaryVertex.y, PixelModule.y, Basic3DVector< long double >.y(), reco::CastorEgamma.y(), reco::CastorJet.y(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.y, HcalForwardAnalysis.y, TotemRPG4Hit.y(), L1TMuon::TriggerPrimitive::RPCData.y, Primary4DVertexValidation::simPrimaryVertex.y, hit.y, Geom::Cartesian2Cartesian3D< T >.y(), ParabolaFit::Point.y, BeamSpotDipServer.y, GaussianSumUtilities1D::FinderState.y, QcdLowPtDQM::Vertex.y(), Basic3DVector< align::Scalar >.y(), Basic3DVector< float >.y(), RecHitsSortedInPhi.y, Basic3DVector< T >.y(), Basic3DVector< Scalar >.y(), reco::Candidate.y(), XHistogram::position.y, DD4hep_XHistogram::position.y, SiStripRecHitsValid::RecHitProperties.y, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.y, PPSPixelG4Hit.y(), TrackClassifier::GeneratedPrimaryVertex.y, contrib::CMSBoostedTauSeedingAlgorithmStructure.y(), reco::CastorCluster.y(), mathSSE::Rot2< Scalar >.y(), mathSSE::Rot2< T >.y(), FTLCluster.y(), SiPixelCluster.y(), reco::Particle.y(), MuonGeometryArrange::MGACollection.y, SOAFrame< T >.y(), SOAFrame< float >.y(), reco::Vertex.y(), digitizerUtility::EnergyDepositUnit.y(), lst_math::Hit.y(), python.rootplot.utilities.Hist.y, HGCalWaferValidation::WaferInfo.y, Primary4DVertexValidation::recoPrimaryVertex.y, reco::ParticleState.y(), mkfit::TrackBase.y(), python.rootplot.root2matplotlib.Hist.y, CaloParticle.y(), reco::LeafCandidate.y(), SiPixelDigitizerAlgorithm::EnergyDepositUnit.y(), BeamSpotOnlineRaw_v4.y, EPOS::EPOS_Wrapper.y(), HGCalImagingAlgo::Hexel.y, SimCluster.y(), HitDoublets.y(), digitizerUtility::SignalPoint.y(), mkfit::Hit.y(), TrackingParticle.y(), hgcal_conditions::positions::HeterogeneousHGCalPositionsMapping.y, reco::CaloCluster.y(), RawParticle.y(), SiPixelDigitizerAlgorithm::SignalPoint.y(), TkRotation< T >.y(), TkRotation< Scalar >.y(), TkRotation< double >.y(), TkRotation< float >.y(), TkRotation< align::Scalar >.y(), Exhume::CrossSection.y, Rot3< T >.y(), Rot3< Scalar >.y(), Rot3< align::Scalar >.y(), Rot3< float >.y(), Rot3< double >.y(), SiStripTrackingRecHitsValid::RecHitProperties.y, ecal::multifit::xyz.y, Rot2< T >.y(), Rot2< Scalar >.y(), TkRotation2D< T >.y(), TkRotation2D< Scalar >.y(), pat::PackedGenParticle.y(), edmStreamStallGrapher.Point.y, pat::PackedCandidate.y(), svgfig.Plot.y, svgfig.Frame.y, PMuonSimHit::Vtx.y, svgfig.Curve.Sample.y, PTrackerSimHit::Vtx.y, svgfig.Text.y, svgfig.TextGlobal.y, and svgfig.HLine.y.
Referenced by data_sources.json_file.__str__(), and datamodel.Object.__str__().
Apply the transformation "trans" and return a Path object in global coordinates. If local=True, return a Path in local coordinates (which must be transformed again).
Definition at line 2268 of file svgfig.py.
References LocalTrackFit.ax, LocalTrackFit.ay, and svgfig.Ellipse.b.
def svgfig.Ellipse.SVG | ( | self, | |
trans = None |
|||
) |
Apply the transformation "trans" and return an SVG object.
Definition at line 2264 of file svgfig.py.
References SiStripHistoPlotter::PlotParameter.Path, jsoncollector::Json::PathArgument.Path, and svgfig.Curve.Path().
svgfig.Ellipse.attr |
Definition at line 2261 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.Axes.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Grid.__repr__(), svgfig.Axes.SVG(), svgfig.XErrorBars.SVG(), and svgfig.YErrorBars.SVG().
svgfig.Ellipse.b |
Definition at line 2259 of file svgfig.py.
Referenced by svgfig.Ellipse.__repr__(), and svgfig.Ellipse.Path().
|
static |
Definition at line 2253 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
svgfig.Ellipse.f |
Definition at line 2276 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), ztail.Decoder.follow(), ztail.Decoder.initial_synchronize(), svgfig.Ticks.orient_tickmark(), DQMIO2histo.DQMIO.print_index(), electronCompare.flushfile.write(), electronStore.flushfile.write(), and DQMIO2histo.DQMIO.write_to_file().
svgfig.Ellipse.high |
Definition at line 2278 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Ticks.compute_logminiticks(), svgfig.Ticks.compute_logticks(), svgfig.Ticks.compute_miniticks(), svgfig.Ticks.compute_ticks(), svgfig.Ticks.interpret(), svgfig.Ticks.orient_tickmark(), and svgfig.Ticks.regular_miniticks().
svgfig.Ellipse.low |
Definition at line 2277 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Ticks.compute_logminiticks(), svgfig.Ticks.compute_logticks(), svgfig.Ticks.compute_miniticks(), svgfig.Ticks.compute_ticks(), svgfig.Ticks.interpret(), svgfig.Ticks.orient_tickmark(), and svgfig.Ticks.regular_miniticks().