Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
PhysicsTools
HeppyCore
python
framework
services
service.py
Go to the documentation of this file.
1
class
Service
(object):
2
'''Basic service interface.
3
If you want your own service, you should respect this interface
4
so that your service can be used by the looper.
5
'''
6
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
17
def
start
(self):
18
'''Start the service.
19
Called by the looper, not by the user.
20
'''
21
pass
22
23
def
stop
(self):
24
'''Stop the service.
25
Called by the looper, not by the user.
26
'''
27
pass
service.Service.stop
def stop
Definition:
service.py:23
service.Service.start
def start
Definition:
service.py:17
service.Service
Definition:
service.py:1
service.Service.__init__
def __init__
Definition:
service.py:7
Generated for CMSSW Reference Manual by
1.8.5