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

◆ __init__()

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, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __repr__()

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, MTDHit.x, reco::MuonRPCHitMatch.x, reco::MuonGEMHitMatch.x, portabletest::TestStruct.x, RPFlatParams::EP.x, reco::PixelClusterProperties.x, l1thgcfirmware::HGCalSeed.x(), BeamSpotPOD.x, mkfit::mini_propagators::State.x, gen::PdfInfo.x, stAPVGain.x, MadKinematicDescriptor.x, EnergyDepositUnit.x(), AlignPCLThresholds.X, TkLayerMap::XYbin.x, TwoBodyDecayParameters.x, SignalPoint.x(), ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Position4.x, reco::PFCandidateElectronExtra.X, lumiregperbunch.bsmeas.x, CTPPSTimingRecHit.x(), reco::MuonChamberMatch.x, Geom::Polar2Cartesian< T >.x(), SiStripFineDelayTOF.x(), CTPPSTimingLocalTrack.x, online::BeamSpot_v1.x, SimplePixel.x, ME0DigiPreReco.x(), ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Position3.x, EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, CTPPSRPAlignment.x, PixelClusterizerBase::AccretionCluster.x, HFShowerPhoton.x(), reco::MuonMETCorrectionData.x(), reco::PFCandidateEGammaExtra.X, PulseChiSqSNNLS.X(), LHCInterpolatedOpticalFunctionsSet::Kinematics.x, ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.x, FTLCluster::FTLHit.x(), ALPAKA_ACCELERATOR_NAMESPACE::reco::pfClustering::Neighbours4.x, reco::MuonRecHitCluster.x(), l1thgcfirmware::HGCalCluster.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, MkFitGeometryESProducer::GapCollector::Interval.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, ScoutingVertex.x(), reco::PFCandidate.X, Geom::Cylindrical2Cartesian< T >.x(), MuScleFitMuon.x(), TwoTrackMinimumDistanceHelixLine.X, BeamSpotOnline.x(), mathSSE::Rot3< T >.x(), HcalForwardAnalysis::Photon.x, mathSSE::Rot3< double >.x(), mathSSE::Rot3< float >.x(), mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< align::Scalar >.x(), mkfit::mini_propagators::StatePlex.x, HGCalSimHitValidation::hitsinfo.x, funct::X.X(), RooCMSShape.x, Run3ScoutingVertex.x(), mkfit::TrackState.x(), Pixinfo.x, egPM::AbsEtaNrClusPhi.x, trklet::L1TStub.x(), reco::CastorCell.x(), Hit.x, PV3DBase< float, PointTag, GlobalTag >.x(), CPEBranch.x, PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, GlobalTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< align::Scalar, PointTag, GlobalTag >.x(), PV3DBase< Scalar, PointTag, GlobalTag >.x(), PV3DBase< long double, PointTag, GlobalTag >.x(), PV3DBase< float, PointTag, LocalTag >.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(), PixelBaryCentreAnalyzer::SimplePoint.x, CTPPSLocalTrackLite.x(), Geom::Spherical2Cartesian< T >.x(), SimBeamSpotObjects.x(), PassiveHit.x(), egPM::AbsEtaNrClusEt.x, python.rootplot.utilities.Hist2D.x, PixelUnpackingRegions::Module.x, CSCOfflineMonitor.X, Rechit.x, VertexClassifier::GeneratedPrimaryVertex.x, Basic3DVector< long double >.x(), DTTracoCand.X(), reco::CastorEgamma.x(), reco::CastorJet.x(), PixelModule.x, TotemRPG4Hit.x(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, l1t::emtf::AMC13Header.X(), HcalForwardAnalysis.x, L1TMuon::TriggerPrimitive::RPCData.x, hit.x, Primary4DVertexValidation::simPrimaryVertex.x, Geom::Cartesian2Cartesian3D< T >.x(), ParabolaFit::Point.x, BeamSpotDipServer.x, GaussianSumUtilities1D::FinderState.x, DTChambPhSegm.X(), Basic3DVector< Scalar >.x(), Basic3DVector< float >.x(), Basic3DVector< align::Scalar >.x(), Basic3DVector< T >.x(), l1t::emtf::AMC13Header.x, QcdLowPtDQM::Vertex.x(), RecHitsSortedInPhi.x, DTSectCollPhSegm.X(), XHistogram::position.x, DD4hep_XHistogram::position.x, SiStripRecHitsValid::RecHitProperties.x, DTBtiTrigData.X(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, PPSPixelG4Hit.x(), reco::CastorCluster.x(), TrackClassifier::GeneratedPrimaryVertex.x, DTBtiTrig.X(), SiPixelCluster.x(), mathSSE::Rot2< T >.x(), mathSSE::Rot2< Scalar >.x(), funct::GaussIntegrator.x, FTLCluster.x(), FP420SD.X, reco::Vertex.x(), MuonGeometryArrange::MGACollection.x, SOAFrame< float >.x(), SOAFrame< T >.x(), digitizerUtility::EnergyDepositUnit.x(), python.rootplot.utilities.Hist.x, HGCalWaferValidation::WaferInfo.x, Primary4DVertexValidation::recoPrimaryVertex.x, mkfit::TrackBase.x(), lhef::HEPEUP::FiveVector.x, SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), BeamSpotOnlineRaw_v4.x, EPOS::EPOS_Wrapper.x(), HGCalImagingAlgo::Hexel.x, DTTracoTrig.X(), HitDoublets.x(), digitizerUtility::SignalPoint.x(), mkfit::Hit.x(), cmsdt::metaPrimitive.x, hgcal_conditions::positions::HeterogeneousHGCalPositionsMapping.x, reco::CaloCluster.x(), RawParticle.x(), RawParticle.X(), LHCOpticsApproximator.X, SiPixelDigitizerAlgorithm::SignalPoint.x(), TkRotation< double >.x(), TkRotation< align::Scalar >.x(), TkRotation< Scalar >.x(), TkRotation< float >.x(), TkRotation< T >.x(), DTTracoTrigData.X(), Rot3< double >.x(), Rot3< float >.x(), Rot3< Scalar >.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< T >.x(), TkRotation2D< Scalar >.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__(), and datamodel.Object.__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 

◆ evaluate()

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 
double f[11][100]

◆ link()

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 

Member Data Documentation

◆ right

svgfig.Curve.Sample.right

Definition at line 1541 of file svgfig.py.

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

◆ t

svgfig.Curve.Sample.t

Definition at line 1539 of file svgfig.py.

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

◆ y

svgfig.Curve.Sample.y

◆ Y

svgfig.Curve.Sample.Y

Definition at line 1546 of file svgfig.py.

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