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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 1186 of file validation.py.

1186  def __init__(self, label, name, fileLegends, pileup=True, customPileupLabel=""):
1187  self._label = label
1188  self._name = name
1189  self._fileLegends = fileLegends
1190  self._pileup = pileup
1191  self._customPileupLabel = customPileupLabel
1192 

Member Function Documentation

◆ customPileupLabel()

def validation.SimpleSample.customPileupLabel (   self)

Definition at line 1216 of file validation.py.

1216  def customPileupLabel(self):
1217  return self._customPileupLabel
1218 

References validation.SimpleSample._customPileupLabel.

◆ digest()

def validation.SimpleSample.digest (   self)

◆ doBHadron()

def validation.SimpleSample.doBHadron (   self)

Definition at line 1225 of file validation.py.

1225  def doBHadron(self):
1226  return True
1227 

◆ doConversion()

def validation.SimpleSample.doConversion (   self)

Definition at line 1222 of file validation.py.

1222  def doConversion(self):
1223  return True
1224 

◆ doElectron()

def validation.SimpleSample.doElectron (   self)

Definition at line 1219 of file validation.py.

1219  def doElectron(self):
1220  return True
1221 

◆ fastsim()

def validation.SimpleSample.fastsim (   self)

Definition at line 1209 of file validation.py.

1209  def fastsim(self):
1210  # No need to emulate the release validation fastsim behaviour here
1211  return False
1212 

◆ files()

def validation.SimpleSample.files (   self)

Definition at line 1203 of file validation.py.

1203  def files(self):
1204  return [t[0] for t in self._fileLegends]
1205 

References validation.SimpleSample._fileLegends.

◆ label()

def validation.SimpleSample.label (   self)

◆ legendLabels()

def validation.SimpleSample.legendLabels (   self)

Definition at line 1206 of file validation.py.

1206  def legendLabels(self):
1207  return [t[1] for t in self._fileLegends]
1208 

References validation.SimpleSample._fileLegends.

◆ name()

def validation.SimpleSample.name (   self)

◆ pileupEnabled()

def validation.SimpleSample.pileupEnabled (   self)

Definition at line 1213 of file validation.py.

1213  def pileupEnabled(self):
1214  return self._pileup
1215 

References validation.SimpleSample._pileup.

Member Data Documentation

◆ _customPileupLabel

validation.SimpleSample._customPileupLabel
private

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

Referenced by validation.SimpleSample.name().

◆ _pileup

validation.SimpleSample._pileup
private

Definition at line 1190 of file validation.py.

Referenced by validation.SimpleSample.pileupEnabled().

submitPVResolutionJobs.files
files
Definition: submitPVResolutionJobs.py:373
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
fastsim
Definition: BarrelSimplifiedGeometry.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11