CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
validation.SimpleSample Class Reference

Public Member Functions

def __init__ (self, label, name, fileLegends, pileup=True, customPileupLabel="")
 
def customPileupLabel (self)
 
def digest (self)
 
def doBHadron (self)
 
def doConversion (self)
 
def doElectron (self)
 
def fastsim (self)
 
def files (self)
 
def label (self)
 
def legendLabels (self)
 
def name (self)
 
def pileupEnabled (self)
 

Private Attributes

 _customPileupLabel
 
 _fileLegends
 
 _label
 
 _name
 
 _pileup
 

Detailed Description

Definition at line 1121 of file validation.py.

Constructor & Destructor Documentation

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

Definition at line 1122 of file validation.py.

1122  def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel=""):
1123  self._label = label
1124  self._name = name
1125  self._fileLegends = fileLegends
1126  self._pileup = pileup
1127  self._customPileupLabel = customPileupLabel
1128 
def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel="")
Definition: validation.py:1122

Member Function Documentation

def validation.SimpleSample.customPileupLabel (   self)

Definition at line 1152 of file validation.py.

References validation.SimpleSample._customPileupLabel.

1153  return self._customPileupLabel
1154 
def validation.SimpleSample.digest (   self)

Definition at line 1129 of file validation.py.

References heavyIonTools.ConfigureHeavyIons._label, metTools.AddMETCollection._label, trackTools.MakeAODTrackCandidates._label, coreTools.RunOnData._label, HiCoreTools.RestrictInputToAOD._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, runJetUncertainties.RunJetUncertainties._label, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._label, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._label, heavyIonTools.ProductionDefaults._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, HiCoreTools.RemoveMCMatching._label, coreTools.RemoveMCMatching._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, trigTools.SwitchOnTriggerMatchingStandAlone._label, trigTools.SwitchOnTriggerMatchEmbedding._label, jetTools.AddJetCollection._label, jetTools.SwitchJetCollection._label, validation.SimpleSample._label, Vispa.Views.LineDecayView.DecayLine._label, jetTools.UpdateJetCollection._label, jetTools.AddJetID._label, and jetTools.SetTagInfos._label.

1129  def digest(self):
1130  # Label should be unique among the plotting run, so it serves also as the digest
1131  return self._label
1132 
def validation.SimpleSample.doBHadron (   self)

Definition at line 1161 of file validation.py.

1161  def doBHadron(self):
1162  return True
1163 
def validation.SimpleSample.doConversion (   self)

Definition at line 1158 of file validation.py.

1158  def doConversion(self):
1159  return True
1160 
def validation.SimpleSample.doElectron (   self)

Definition at line 1155 of file validation.py.

1155  def doElectron(self):
1156  return True
1157 
def validation.SimpleSample.fastsim (   self)

Definition at line 1145 of file validation.py.

1145  def fastsim(self):
1146  # No need to emulate the release validation fastsim behaviour here
1147  return False
1148 
def validation.SimpleSample.files (   self)

Definition at line 1139 of file validation.py.

References validation.SimpleSample._fileLegends.

1139  def files(self):
1140  return [t[0] for t in self._fileLegends]
1141 
def validation.SimpleSample.label (   self)

Definition at line 1133 of file validation.py.

References heavyIonTools.ConfigureHeavyIons._label, metTools.AddMETCollection._label, trackTools.MakeAODTrackCandidates._label, coreTools.RunOnData._label, HiCoreTools.RestrictInputToAOD._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, runJetUncertainties.RunJetUncertainties._label, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._label, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._label, heavyIonTools.ProductionDefaults._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, HiCoreTools.RemoveMCMatching._label, coreTools.RemoveMCMatching._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, trigTools.SwitchOnTriggerMatchingStandAlone._label, trigTools.SwitchOnTriggerMatchEmbedding._label, jetTools.AddJetCollection._label, jetTools.SwitchJetCollection._label, validation.SimpleSample._label, Vispa.Views.LineDecayView.DecayLine._label, jetTools.UpdateJetCollection._label, jetTools.AddJetID._label, and jetTools.SetTagInfos._label.

1133  def label(self):
1134  return self._label
1135 
def validation.SimpleSample.legendLabels (   self)

Definition at line 1142 of file validation.py.

References validation.SimpleSample._fileLegends.

1142  def legendLabels(self):
1143  return [t[1] for t in self._fileLegends]
1144 
def validation.SimpleSample.name (   self)

Definition at line 1136 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, validation.SimpleSample._name, plotting.ROC._name, trackingPlots.Iteration._name, trackingPlots.TimePerEventPlot._name, trackingPlots.TimePerTrackPlot._name, plotting.Plot._name, plotting.PlotGroup._name, plotting.PlotterFolder._name, and plotting.PlotterItem._name.

Referenced by config.CFG.__str__().

1136  def name(self):
1137  return self._name
1138 
def validation.SimpleSample.pileupEnabled (   self)

Definition at line 1149 of file validation.py.

References validation.SimpleSample._pileup.

1149  def pileupEnabled(self):
1150  return self._pileup
1151 

Member Data Documentation

validation.SimpleSample._customPileupLabel
private

Definition at line 1127 of file validation.py.

Referenced by validation.SimpleSample.customPileupLabel().

validation.SimpleSample._fileLegends
private
validation.SimpleSample._label
private
validation.SimpleSample._name
private

Definition at line 1124 of file validation.py.

Referenced by validation.SimpleSample.name().

validation.SimpleSample._pileup
private

Definition at line 1126 of file validation.py.

Referenced by validation.SimpleSample.pileupEnabled().