CMS 3D CMS Logo

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

Public Member Functions

def __init__
 
def customPileupLabel
 
def digest
 
def doBHadron
 
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 1215 of file validation.py.

Constructor & Destructor Documentation

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

Definition at line 1216 of file validation.py.

1217  def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel=""):
1218  self._label = label
1219  self._name = name
1220  self._fileLegends = fileLegends
1221  self._pileup = pileup
1222  self._customPileupLabel = customPileupLabel

Member Function Documentation

def validation.SimpleSample.customPileupLabel (   self)

Definition at line 1246 of file validation.py.

References validation.SimpleSample._customPileupLabel.

1247  def customPileupLabel(self):
1248  return self._customPileupLabel
def validation.SimpleSample.digest (   self)

Definition at line 1223 of file validation.py.

References heavyIonTools.ConfigureHeavyIons._label, metTools.AddMETCollection._label, trackTools.MakeAODTrackCandidates._label, coreTools.RunOnData._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, runJetUncertainties.RunJetUncertainties._label, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._label, heavyIonTools.ProductionDefaults._label, ConfigToolBase.ConfigToolBase._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, coreTools.RemoveMCMatching._label, trackTools.MakePATTrackCandidates._label, trigTools.SwitchOnTrigger._label, heavyIonTools.SelectionDefaults._label, heavyIonTools.DisbaleMonteCarloDeps._label, trigTools.SwitchOnTriggerStandAlone._label, tauTools.AddTauCollection._label, trackTools.MakeTrackCandidates._label, trigTools.SwitchOnTriggerMatching._label, trigTools.SwitchOnTriggerMatchingStandAlone._label, trigTools.SwitchOnTriggerMatchEmbedding._label, jetTools.AddJetCollection._label, validation.SimpleSample._label, jetTools.SwitchJetCollection._label, jetTools.UpdateJetCollection._label, jetTools.AddJetID._label, and jetTools.SetTagInfos._label.

1224  def digest(self):
1225  # Label should be unique among the plotting run, so it serves also as the digest
1226  return self._label
def validation.SimpleSample.doBHadron (   self)

Definition at line 1255 of file validation.py.

1256  def doBHadron(self):
1257  return True
def validation.SimpleSample.doConversion (   self)

Definition at line 1252 of file validation.py.

1253  def doConversion(self):
1254  return True
def validation.SimpleSample.doElectron (   self)

Definition at line 1249 of file validation.py.

1250  def doElectron(self):
1251  return True
def validation.SimpleSample.fastsim (   self)

Definition at line 1239 of file validation.py.

1240  def fastsim(self):
1241  # No need to emulate the release validation fastsim behaviour here
1242  return False
def validation.SimpleSample.files (   self)

Definition at line 1233 of file validation.py.

References validation.SimpleSample._fileLegends.

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

Definition at line 1227 of file validation.py.

References heavyIonTools.ConfigureHeavyIons._label, metTools.AddMETCollection._label, trackTools.MakeAODTrackCandidates._label, coreTools.RunOnData._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, runJetUncertainties.RunJetUncertainties._label, runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties._label, heavyIonTools.ProductionDefaults._label, ConfigToolBase.ConfigToolBase._label, LHECOMWeightProducer._label, cmsswVersionTools.PickRelValInputFiles._label, coreTools.RemoveMCMatching._label, trackTools.MakePATTrackCandidates._label, trigTools.SwitchOnTrigger._label, heavyIonTools.SelectionDefaults._label, heavyIonTools.DisbaleMonteCarloDeps._label, trigTools.SwitchOnTriggerStandAlone._label, tauTools.AddTauCollection._label, trackTools.MakeTrackCandidates._label, trigTools.SwitchOnTriggerMatching._label, trigTools.SwitchOnTriggerMatchingStandAlone._label, trigTools.SwitchOnTriggerMatchEmbedding._label, jetTools.AddJetCollection._label, validation.SimpleSample._label, jetTools.SwitchJetCollection._label, jetTools.UpdateJetCollection._label, jetTools.AddJetID._label, and jetTools.SetTagInfos._label.

1228  def label(self):
1229  return self._label
def validation.SimpleSample.legendLabels (   self)

Definition at line 1236 of file validation.py.

References validation.SimpleSample._fileLegends.

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

Definition at line 1230 of file validation.py.

References FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, Logger._name, hcaldqm::DQModule._name, citk::IsolationConeDefinitionBase._name, DrellYanValidation._name, WValidation._name, hcaldqm::flag::Flag._name, hcaldqm::quantity::Quantity._name, HistoParams< T >._name, CutApplicatorBase._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._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__(), geometryComparison.GeometryComparison.createScript(), primaryVertexResolution.PrimaryVertexResolution.getRepMap(), primaryVertexValidation.PrimaryVertexValidation.getRepMap(), and zMuMuValidation.ZMuMuValidation.getRepMap().

1231  def name(self):
1232  return self._name
def validation.SimpleSample.pileupEnabled (   self)

Definition at line 1243 of file validation.py.

References validation.SimpleSample._pileup.

1244  def pileupEnabled(self):
1245  return self._pileup

Member Data Documentation

validation.SimpleSample._customPileupLabel
private

Definition at line 1221 of file validation.py.

Referenced by validation.SimpleSample.customPileupLabel().

validation.SimpleSample._fileLegends
private

Definition at line 1219 of file validation.py.

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

validation.SimpleSample._label
private

Definition at line 1217 of file validation.py.

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

validation.SimpleSample._name
private

Definition at line 1218 of file validation.py.

Referenced by validation.SimpleSample.name().

validation.SimpleSample._pileup
private

Definition at line 1220 of file validation.py.

Referenced by validation.SimpleSample.pileupEnabled().