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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 1216 of file validation.py.

1216  def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel=""):
1217  self._label = label
1218  self._name = name
1219  self._fileLegends = fileLegends
1220  self._pileup = pileup
1221  self._customPileupLabel = customPileupLabel
1222 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ customPileupLabel()

def validation.SimpleSample.customPileupLabel (   self)

Definition at line 1246 of file validation.py.

References validation.SimpleSample._customPileupLabel.

1246  def customPileupLabel(self):
1247  return self._customPileupLabel
1248 

◆ digest()

def validation.SimpleSample.digest (   self)

◆ doBHadron()

def validation.SimpleSample.doBHadron (   self)

Definition at line 1255 of file validation.py.

1255  def doBHadron(self):
1256  return True
1257 

◆ doConversion()

def validation.SimpleSample.doConversion (   self)

Definition at line 1252 of file validation.py.

1252  def doConversion(self):
1253  return True
1254 

◆ doElectron()

def validation.SimpleSample.doElectron (   self)

Definition at line 1249 of file validation.py.

1249  def doElectron(self):
1250  return True
1251 

◆ fastsim()

def validation.SimpleSample.fastsim (   self)

Definition at line 1239 of file validation.py.

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

◆ files()

def validation.SimpleSample.files (   self)

Definition at line 1233 of file validation.py.

References validation.SimpleSample._fileLegends.

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

◆ label()

def validation.SimpleSample.label (   self)

◆ legendLabels()

def validation.SimpleSample.legendLabels (   self)

Definition at line 1236 of file validation.py.

References validation.SimpleSample._fileLegends.

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

◆ name()

def validation.SimpleSample.name (   self)

◆ pileupEnabled()

def validation.SimpleSample.pileupEnabled (   self)

Definition at line 1243 of file validation.py.

References validation.SimpleSample._pileup.

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

Member Data Documentation

◆ _customPileupLabel

validation.SimpleSample._customPileupLabel
private

Definition at line 1221 of file validation.py.

Referenced by validation.SimpleSample.customPileupLabel().

◆ _fileLegends

validation.SimpleSample._fileLegends
private

◆ _label

validation.SimpleSample._label
private

◆ _name

validation.SimpleSample._name
private

Definition at line 1218 of file validation.py.

Referenced by validation.SimpleSample.name().

◆ _pileup

validation.SimpleSample._pileup
private

Definition at line 1220 of file validation.py.

Referenced by validation.SimpleSample.pileupEnabled().