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, RPFlatParams::EP.x, reco::PixelClusterProperties.x, l1thgcfirmware::HGCalSeed.x(), BeamSpotPOD.x, gen::PdfInfo.x, stAPVGain.x, EnergyDepositUnit.x(), MadKinematicDescriptor.x, AlignPCLThresholds.X, TkLayerMap::XYbin.x, TwoBodyDecayParameters.x, SignalPoint.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(), EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, CTPPSRPAlignment.x, PixelClusterizerBase::AccretionCluster.x, HFShowerPhoton.x(), reco::PFCandidateEGammaExtra.X, PulseChiSqSNNLS.X(), reco::MuonMETCorrectionData.x(), LHCInterpolatedOpticalFunctionsSet::Kinematics.x, FTLCluster::FTLHit.x(), ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.x, reco::MuonRecHitCluster.x(), l1thgcfirmware::HGCalCluster.x(), reco::MuonSegmentMatch.x, ClusterShape.x, l1thgcfirmware::HGCalTriggerCell.x(), SiPixelCluster::Pixel.x, PhiInterval.x, VertexType.x, BSvsPVHistogramMaker.x(), BeamSpotFakeConditions.x, RHStopTracer::StopPoint.x, MkFitGeometryESProducer::GapCollector::Interval.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, Run3ScoutingVertex.x(), ScoutingVertex.x(), reco::PFCandidate.X, Geom::Cylindrical2Cartesian< T >.x(), SimBeamSpotObjects.x(), MuScleFitMuon.x(), TwoTrackMinimumDistanceHelixLine.X, BeamSpotOnline.x(), HcalForwardAnalysis::Photon.x, mathSSE::Rot3< align::Scalar >.x(), mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< double >.x(), mathSSE::Rot3< float >.x(), mathSSE::Rot3< T >.x(), HGCalSimHitValidation::hitsinfo.x, RooCMSShape.x, funct::X.X(), Pixinfo.x, egPM::AbsEtaNrClusPhi.x, trklet::L1TStub.x(), reco::CastorCell.x(), Hit.x, PV3DBase< Scalar, VectorTag, GlobalTag >.x(), Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), CPEBranch.x, Basic2DVector< float >.x(), PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< float, PointTag, LocalTag >.x(), PV3DBase< T, PointTag, GlobalTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< Scalar, PointTag, GlobalTag >.x(), PV3DBase< float, PointTag, GlobalTag >.x(), PV3DBase< align::Scalar, PointTag, GlobalTag >.x(), PV3DBase< long double, PointTag, GlobalTag >.x(), Basic2DVector< T >.x(), PV3DBase< T, PVType, FrameType >.x(), PV3DBase< T, PointTag, FrameTag >.x(), funct::GaussLegendreIntegrator.x, Clust.x, QcdLowPtDQM::Pixel.x(), PPSDiamondG4Hit.x(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, BeamSpotObjects.x(), mkfit::TrackState.x(), reco::BeamSpot.x(), PixelBaryCentreAnalyzer::SimplePoint.x, CTPPSLocalTrackLite.x(), Geom::Spherical2Cartesian< T >.x(), PassiveHit.x(), egPM::AbsEtaNrClusEt.x, python.rootplot.utilities.Hist2D.x, PixelUnpackingRegions::Module.x, CSCOfflineMonitor.X, Rechit.x, Primary4DVertexValidation::simPrimaryVertex.x, Basic3DVector< long double >.x(), VertexClassifier::GeneratedPrimaryVertex.x, reco::CastorEgamma.x(), reco::CastorJet.x(), DTTracoCand.X(), PixelModule.x, TotemRPG4Hit.x(), l1t::emtf::AMC13Header.X(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, HcalForwardAnalysis.x, L1TMuon::TriggerPrimitive::RPCData.x, hit.x, Geom::Cartesian2Cartesian3D< T >.x(), ParabolaFit::Point.x, BeamSpotDipServer.x, Basic3DVector< float >.x(), Basic3DVector< Scalar >.x(), Basic3DVector< T >.x(), Basic3DVector< align::Scalar >.x(), GaussianSumUtilities1D::FinderState.x, DTChambPhSegm.X(), l1t::emtf::AMC13Header.x, QcdLowPtDQM::Vertex.x(), RecHitsSortedInPhi.x, DTSectCollPhSegm.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, FP420SD.X, cmsdt::metaPrimitive.x, reco::Vertex.x(), MuonGeometryArrange::MGACollection.x, Primary4DVertexValidation::recoPrimaryVertex.x, SOAFrame< float >.x(), SOAFrame< T >.x(), digitizerUtility::EnergyDepositUnit.x(), python.rootplot.utilities.Hist.x, HGCalWaferValidation::WaferInfo.x, lhef::HEPEUP::FiveVector.x, EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), DTTracoTrig.X(), HGCalImagingAlgo::Hexel.x, HitDoublets.x(), mkfit::TrackBase.x(), digitizerUtility::SignalPoint.x(), mkfit::Hit.x(), hgcal_conditions::positions::HeterogeneousHGCalPositionsMapping.x, HGCalCLUEAlgoT< TILE >::CellsOnLayer.x, reco::CaloCluster.x(), RawParticle.x(), RawParticle.X(), LHCOpticsApproximator.X, SiPixelDigitizerAlgorithm::SignalPoint.x(), TkRotation< align::Scalar >.x(), TkRotation< Scalar >.x(), TkRotation< double >.x(), TkRotation< float >.x(), TkRotation< T >.x(), Rot3< align::Scalar >.x(), Rot3< double >.x(), Rot3< float >.x(), Rot3< T >.x(), Rot3< Scalar >.x(), DTTracoTrigData.X(), MuScleFitUtils.x, SiStripTrackingRecHitsValid::RecHitProperties.x, perftools::detail::Hist.x, ecal::multifit::xyz.x, Rot2< T >.x(), Rot2< Scalar >.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__().

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().