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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 1224 of file validation.py.

1224  def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel=""):
1225  self._label = label
1226  self._name = name
1227  self._fileLegends = fileLegends
1228  self._pileup = pileup
1229  self._customPileupLabel = customPileupLabel
1230 
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 1254 of file validation.py.

References validation.SimpleSample._customPileupLabel.

1254  def customPileupLabel(self):
1255  return self._customPileupLabel
1256 

◆ digest()

def validation.SimpleSample.digest (   self)

◆ doBHadron()

def validation.SimpleSample.doBHadron (   self)

Definition at line 1263 of file validation.py.

1263  def doBHadron(self):
1264  return True
1265 

◆ doConversion()

def validation.SimpleSample.doConversion (   self)

Definition at line 1260 of file validation.py.

1260  def doConversion(self):
1261  return True
1262 

◆ doElectron()

def validation.SimpleSample.doElectron (   self)

Definition at line 1257 of file validation.py.

1257  def doElectron(self):
1258  return True
1259 

◆ fastsim()

def validation.SimpleSample.fastsim (   self)

Definition at line 1247 of file validation.py.

1247  def fastsim(self):
1248  # No need to emulate the release validation fastsim behaviour here
1249  return False
1250 

◆ files()

def validation.SimpleSample.files (   self)

Definition at line 1241 of file validation.py.

References validation.SimpleSample._fileLegends.

1241  def files(self):
1242  return [t[0] for t in self._fileLegends]
1243 

◆ label()

def validation.SimpleSample.label (   self)

◆ legendLabels()

def validation.SimpleSample.legendLabels (   self)

Definition at line 1244 of file validation.py.

References validation.SimpleSample._fileLegends.

1244  def legendLabels(self):
1245  return [t[1] for t in self._fileLegends]
1246 

◆ name()

def validation.SimpleSample.name (   self)

◆ pileupEnabled()

def validation.SimpleSample.pileupEnabled (   self)

Definition at line 1251 of file validation.py.

References validation.SimpleSample._pileup.

1251  def pileupEnabled(self):
1252  return self._pileup
1253 

Member Data Documentation

◆ _customPileupLabel

validation.SimpleSample._customPileupLabel
private

Definition at line 1229 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 1226 of file validation.py.

Referenced by validation.SimpleSample.name().

◆ _pileup

validation.SimpleSample._pileup
private

Definition at line 1228 of file validation.py.

Referenced by validation.SimpleSample.pileupEnabled().