CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
validation.SimpleSample Class Reference

Public Member Functions

def __init__
 
def customPileupLabel
 
def digest
 
def doConversion
 
def doElectron
 
def fastsim
 
def files
 
def label
 
def legendLabels
 
def name
 
def pileupEnabled
 

Private Attributes

 _customPileupLabel
 
 _fileLegends
 
 _label
 
 _name
 
 _pileup
 

Detailed Description

Definition at line 983 of file validation.py.

Constructor & Destructor Documentation

def validation.SimpleSample.__init__ (   self,
  label,
  name,
  fileLegends,
  pileup = True,
  customPileupLabel = "" 
)

Definition at line 984 of file validation.py.

985  def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel=""):
986  self._label = label
987  self._name = name
988  self._fileLegends = fileLegends
989  self._pileup = pileup
990  self._customPileupLabel = customPileupLabel

Member Function Documentation

def validation.SimpleSample.customPileupLabel (   self)

Definition at line 1014 of file validation.py.

References validation.SimpleSample._customPileupLabel.

1015  def customPileupLabel(self):
1016  return self._customPileupLabel
def validation.SimpleSample.digest (   self)

Definition at line 991 of file validation.py.

References metTools.AddMETCollection._label, editorTools.UserCodeTool._label, trackTools.MakeAODTrackCandidates._label, heavyIonTools.ConfigureHeavyIons._label, HiCoreTools.RestrictInputToAOD._label, coreTools.RunOnData._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, runJetUncertainties.RunJetUncertainties._label, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._label, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._label, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._label, heavyIonTools.ProductionDefaults._label, editorTools.ChangeSource._label, ConfigToolBase.ConfigToolBase._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, HiCoreTools.RemoveMCMatching._label, coreTools.RemoveMCMatching._label, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool._label, trackTools.MakePATTrackCandidates._label, trigTools.SwitchOnTrigger._label, heavyIonTools.SelectionDefaults._label, HiCoreTools.RemoveAllPATObjectsBut._label, heavyIonTools.DisbaleMonteCarloDeps._label, HiCoreTools.RemoveSpecificPATObjects._label, trigTools.SwitchOnTriggerStandAlone._label, trackTools.MakeTrackCandidates._label, tauTools.AddTauCollection._label, trigTools.SwitchOnTriggerMatching._label, HiCoreTools.RemoveCleaning._label, HiCoreTools.AddCleaning._label, jetTools.AddJetCollection._label, trigTools.SwitchOnTriggerMatchingStandAlone._label, trigTools.SwitchOnTriggerMatchEmbedding._label, jetTools.SwitchJetCollection._label, validation.SimpleSample._label, jetTools.UpdateJetCollection._label, Vispa.Views.LineDecayView.DecayLine._label, jetTools.AddJetID._label, and jetTools.SetTagInfos._label.

992  def digest(self):
993  # Label should be unique among the plotting run, so it serves also as the digest
994  return self._label
def validation.SimpleSample.doConversion (   self)

Definition at line 1020 of file validation.py.

1021  def doConversion(self):
1022  return True
def validation.SimpleSample.doElectron (   self)

Definition at line 1017 of file validation.py.

1018  def doElectron(self):
1019  return True
def validation.SimpleSample.fastsim (   self)

Definition at line 1007 of file validation.py.

1008  def fastsim(self):
1009  # No need to emulate the release validation fastsim behaviour here
1010  return False
def validation.SimpleSample.files (   self)

Definition at line 1001 of file validation.py.

References validation.SimpleSample._fileLegends.

1002  def files(self):
1003  return [t[0] for t in self._fileLegends]
def validation.SimpleSample.label (   self)

Definition at line 995 of file validation.py.

References metTools.AddMETCollection._label, editorTools.UserCodeTool._label, trackTools.MakeAODTrackCandidates._label, heavyIonTools.ConfigureHeavyIons._label, HiCoreTools.RestrictInputToAOD._label, coreTools.RunOnData._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, runJetUncertainties.RunJetUncertainties._label, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._label, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._label, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._label, heavyIonTools.ProductionDefaults._label, editorTools.ChangeSource._label, ConfigToolBase.ConfigToolBase._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, HiCoreTools.RemoveMCMatching._label, coreTools.RemoveMCMatching._label, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool._label, trackTools.MakePATTrackCandidates._label, trigTools.SwitchOnTrigger._label, heavyIonTools.SelectionDefaults._label, HiCoreTools.RemoveAllPATObjectsBut._label, heavyIonTools.DisbaleMonteCarloDeps._label, HiCoreTools.RemoveSpecificPATObjects._label, trigTools.SwitchOnTriggerStandAlone._label, trackTools.MakeTrackCandidates._label, tauTools.AddTauCollection._label, trigTools.SwitchOnTriggerMatching._label, HiCoreTools.RemoveCleaning._label, HiCoreTools.AddCleaning._label, jetTools.AddJetCollection._label, trigTools.SwitchOnTriggerMatchingStandAlone._label, trigTools.SwitchOnTriggerMatchEmbedding._label, jetTools.SwitchJetCollection._label, validation.SimpleSample._label, jetTools.UpdateJetCollection._label, Vispa.Views.LineDecayView.DecayLine._label, jetTools.AddJetID._label, and jetTools.SetTagInfos._label.

996  def label(self):
997  return self._label
def validation.SimpleSample.legendLabels (   self)

Definition at line 1004 of file validation.py.

References validation.SimpleSample._fileLegends.

1005  def legendLabels(self):
1006  return [t[1] for t in self._fileLegends]
def validation.SimpleSample.name (   self)

Definition at line 998 of file validation.py.

References FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, LikelihoodSpecies._name, L1TMuon::PtAssignmentUnit._name, L1TMuon::PtRefinementUnit._name, LikelihoodPdfProduct._name, LikelihoodPdf._name, citk::IsolationConeDefinitionBase._name, Logger._name, hcaldqm::DQModule._name, DrellYanValidation._name, WValidation._name, HistoParams< T >._name, hcaldqm::flag::Flag._name, hcaldqm::quantity::Quantity._name, CutApplicatorBase._name, ElectronMVAEstimatorRun2Phys14NonTrig._name, PhotonMVAEstimatorRun2Spring15NonTrig._name, PhotonMVAEstimatorRun2Phys14NonTrig._name, ElectronMVAEstimatorRun2Spring15Trig._name, GeometricDetExtra._name, ElectronMVAEstimatorRun2Spring15NonTrig._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._name, Vispa.Views.PropertyView.Property._name, SequenceTypes.SequencePlaceholder._name, plotting.Subtract._name, plotting.Transform._name, plotting.FakeDuplicate._name, plotting.CutEfficiency._name, plotting.AggregateBins._name, plotting.AggregateHistos._name, plotting.ROC._name, validation.SimpleSample._name, trackingPlots.Iteration._name, trackingPlots.TimePerTrackPlot._name, plotting.Plot._name, plotting.PlotGroup._name, plotting.PlotterFolder._name, and plotting.PlotterItem._name.

Referenced by cuy.divideElement.__init__(), cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), and config.CFG.__str__().

999  def name(self):
1000  return self._name
def validation.SimpleSample.pileupEnabled (   self)

Definition at line 1011 of file validation.py.

References validation.SimpleSample._pileup.

1012  def pileupEnabled(self):
1013  return self._pileup

Member Data Documentation

validation.SimpleSample._customPileupLabel
private

Definition at line 989 of file validation.py.

Referenced by validation.SimpleSample.customPileupLabel().

validation.SimpleSample._fileLegends
private

Definition at line 987 of file validation.py.

Referenced by validation.SimpleSample.files(), and validation.SimpleSample.legendLabels().

validation.SimpleSample._label
private

Definition at line 985 of file validation.py.

Referenced by validation.SimpleSample.digest(), and validation.SimpleSample.label().

validation.SimpleSample._name
private

Definition at line 986 of file validation.py.

Referenced by validation.SimpleSample.name().

validation.SimpleSample._pileup
private

Definition at line 988 of file validation.py.

Referenced by validation.SimpleSample.pileupEnabled().