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 1182 of file validation.py.

Constructor & Destructor Documentation

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

Definition at line 1183 of file validation.py.

1183  def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel=""):
1184  self._label = label
1185  self._name = name
1186  self._fileLegends = fileLegends
1187  self._pileup = pileup
1188  self._customPileupLabel = customPileupLabel
1189 
def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel="")
Definition: validation.py:1183

Member Function Documentation

def validation.SimpleSample.customPileupLabel (   self)

Definition at line 1213 of file validation.py.

References validation.SimpleSample._customPileupLabel.

1214  return self._customPileupLabel
1215 
def validation.SimpleSample.digest (   self)

Definition at line 1190 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.

1190  def digest(self):
1191  # Label should be unique among the plotting run, so it serves also as the digest
1192  return self._label
1193 
def validation.SimpleSample.doBHadron (   self)

Definition at line 1222 of file validation.py.

1222  def doBHadron(self):
1223  return True
1224 
def validation.SimpleSample.doConversion (   self)

Definition at line 1219 of file validation.py.

1219  def doConversion(self):
1220  return True
1221 
def validation.SimpleSample.doElectron (   self)

Definition at line 1216 of file validation.py.

1216  def doElectron(self):
1217  return True
1218 
def validation.SimpleSample.fastsim (   self)

Definition at line 1206 of file validation.py.

1206  def fastsim(self):
1207  # No need to emulate the release validation fastsim behaviour here
1208  return False
1209 
def validation.SimpleSample.files (   self)

Definition at line 1200 of file validation.py.

References validation.SimpleSample._fileLegends.

1200  def files(self):
1201  return [t[0] for t in self._fileLegends]
1202 
def validation.SimpleSample.label (   self)

Definition at line 1194 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.

1194  def label(self):
1195  return self._label
1196 
def validation.SimpleSample.legendLabels (   self)

Definition at line 1203 of file validation.py.

References validation.SimpleSample._fileLegends.

1203  def legendLabels(self):
1204  return [t[1] for t in self._fileLegends]
1205 
def validation.SimpleSample.name (   self)

Definition at line 1197 of file validation.py.

References FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, LikelihoodSpecies._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, ElectronMVAEstimatorRun2Phys14NonTrig._name, CutApplicatorBase._name, PhotonMVAEstimatorRun2Spring15NonTrig._name, PhotonMVAEstimatorRun2Phys14NonTrig._name, ElectronMVAEstimatorRun2Spring15Trig._name, ElectronMVAEstimatorRun2Spring15NonTrig._name, GeometricDetExtra._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, SequenceTypes.TaskPlaceholder._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__().

1197  def name(self):
1198  return self._name
1199 
def validation.SimpleSample.pileupEnabled (   self)

Definition at line 1210 of file validation.py.

References validation.SimpleSample._pileup.

1210  def pileupEnabled(self):
1211  return self._pileup
1212 

Member Data Documentation

validation.SimpleSample._customPileupLabel
private

Definition at line 1188 of file validation.py.

Referenced by validation.SimpleSample.customPileupLabel().

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

Definition at line 1185 of file validation.py.

Referenced by validation.SimpleSample.name().

validation.SimpleSample._pileup
private

Definition at line 1187 of file validation.py.

Referenced by validation.SimpleSample.pileupEnabled().