CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions
service.Service Class Reference
Inheritance diagram for service.Service:

Public Member Functions

def __init__ (self, cfg, comp, outdir)
 
def start (self)
 
def stop (self)
 

Detailed Description

Basic service interface.
If you want your own service, you should respect this interface
so that your service can be used by the looper. 

Definition at line 1 of file service.py.

Constructor & Destructor Documentation

◆ __init__()

def service.Service.__init__ (   self,
  cfg,
  comp,
  outdir 
)
cfg: framework.config.Service object containing whatever parameters
you need
comp: dummy parameter
outdir: output directory for your service (feel free not to use it)

Please have a look at TFileService for more information

Definition at line 7 of file service.py.

7  def __init__(self, cfg, comp, outdir):
8  '''
9  cfg: framework.config.Service object containing whatever parameters
10  you need
11  comp: dummy parameter
12  outdir: output directory for your service (feel free not to use it)
13 
14  Please have a look at TFileService for more information
15  '''
16 
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

◆ start()

def service.Service.start (   self)
Start the service.
Called by the looper, not by the user.

Definition at line 17 of file service.py.

Referenced by progressbar.ProgressBar.__next__().

17  def start(self):
18  '''Start the service.
19  Called by the looper, not by the user.
20  '''
21  pass
22 

◆ stop()

def service.Service.stop (   self)
Stop the service.
Called by the looper, not by the user.

Definition at line 23 of file service.py.

23  def stop(self):
24  '''Stop the service.
25  Called by the looper, not by the user.
26  '''
27  pass
28