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

Constructor & Destructor Documentation

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

Definition at line 1184 of file validation.py.

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

Member Function Documentation

def validation.SimpleSample.customPileupLabel (   self)

Definition at line 1214 of file validation.py.

References validation.SimpleSample._customPileupLabel.

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

Definition at line 1191 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, validation.SimpleSample._label, Vispa.Views.LineDecayView.DecayLine._label, jetTools.SwitchJetCollection._label, jetTools.UpdateJetCollection._label, jetTools.AddJetID._label, and jetTools.SetTagInfos._label.

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

Definition at line 1223 of file validation.py.

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

Definition at line 1220 of file validation.py.

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

Definition at line 1217 of file validation.py.

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

Definition at line 1207 of file validation.py.

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

Definition at line 1201 of file validation.py.

References validation.SimpleSample._fileLegends.

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

Definition at line 1195 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, validation.SimpleSample._label, Vispa.Views.LineDecayView.DecayLine._label, jetTools.SwitchJetCollection._label, jetTools.UpdateJetCollection._label, jetTools.AddJetID._label, and jetTools.SetTagInfos._label.

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

Definition at line 1204 of file validation.py.

References validation.SimpleSample._fileLegends.

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

Definition at line 1211 of file validation.py.

References validation.SimpleSample._pileup.

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

Member Data Documentation

validation.SimpleSample._customPileupLabel
private

Definition at line 1189 of file validation.py.

Referenced by validation.SimpleSample.customPileupLabel().

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

Definition at line 1186 of file validation.py.

Referenced by validation.SimpleSample.name().

validation.SimpleSample._pileup
private

Definition at line 1188 of file validation.py.

Referenced by validation.SimpleSample.pileupEnabled().