CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CmsRun.CmsRun Class Reference
Inheritance diagram for CmsRun.CmsRun:

Public Member Functions

def __init__ (self, process)
 
def run (self)
 
def totalEvents (self)
 
def totalEventsFailed (self)
 
def totalEventsPassed (self)
 

Private Attributes

 _cppProcessor
 

Detailed Description

Definition at line 4 of file CmsRun.py.

Constructor & Destructor Documentation

◆ __init__()

def CmsRun.CmsRun.__init__ (   self,
  process 
)
Uses a cms.Process to setup an edm::EventProcessor

Definition at line 5 of file CmsRun.py.

5  def __init__(self,process):
6  """Uses a cms.Process to setup an edm::EventProcessor
7  """
8  procDesc = _pp.ProcessDesc()
9  process.fillProcessDesc(procDesc.pset())
10  self._cppProcessor = _pf.PythonEventProcessor(procDesc)
11 
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

◆ run()

def CmsRun.CmsRun.run (   self)
Process all the events

Definition at line 12 of file CmsRun.py.

References CmsRun.CmsRun._cppProcessor.

12  def run(self):
13  """Process all the events
14  """
15  self._cppProcessor.run()
16 

◆ totalEvents()

def CmsRun.CmsRun.totalEvents (   self)

Definition at line 17 of file CmsRun.py.

References CmsRun.CmsRun._cppProcessor.

17  def totalEvents(self):
18  return self._cppProcessor.totalEvents()

◆ totalEventsFailed()

def CmsRun.CmsRun.totalEventsFailed (   self)

Definition at line 21 of file CmsRun.py.

References CmsRun.CmsRun._cppProcessor.

21  def totalEventsFailed(self):
22  return self._cppProcessor.totalEventsFailed()
23 

◆ totalEventsPassed()

def CmsRun.CmsRun.totalEventsPassed (   self)

Definition at line 19 of file CmsRun.py.

References CmsRun.CmsRun._cppProcessor.

19  def totalEventsPassed(self):
20  return self._cppProcessor.totalEventsPassed()

Member Data Documentation

◆ _cppProcessor

CmsRun.CmsRun._cppProcessor
private