CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
config.Analyzer Class Reference
Inheritance diagram for config.Analyzer:
config.CFG

Public Member Functions

def __init__
 
def __setattr__
 
def build_name
 
def clone
 
- Public Member Functions inherited from config.CFG
def __init__
 
def __str__
 
def clone
 

Public Attributes

 class_object
 
 instance_label
 
 name
 
 verbose
 

Static Public Attributes

int num_instance = 0
 

Detailed Description

Base analyzer configuration, see constructor

Definition at line 77 of file config.py.

Constructor & Destructor Documentation

def config.Analyzer.__init__ (   self,
  class_object,
  instance_label = None,
  verbose = False,
  kwargs 
)
One could for example define the analyzer configuration for a
di-muon framework.Analyzer.Analyzer in the following way:

ZMuMuAna = cfg.Analyzer(
"ZMuMuAnalyzer",
pt1 = 20,
pt2 = 20,
iso1 = 0.1,
iso2 = 0.1,
eta1 = 2,
eta2 = 2,
m_min = 0,
m_max = 200
)

Any kinds of keyword arguments can be added.
The name must be present, and must be well chosen, as it will be used
by the Looper to find the module containing the Analyzer class.
This module should be in your PYTHONPATH. If not, modify your python path
accordingly in your script.

Definition at line 83 of file config.py.

Member Function Documentation

def config.Analyzer.__setattr__ (   self,
  name,
  value 
)
You may decide to copy an existing analyzer and change
its instance_label. In that case, one must stay consistent.

Definition at line 115 of file config.py.

def config.Analyzer.build_name (   self)

Definition at line 122 of file config.py.

def config.Analyzer.clone (   self,
  kwargs 
)

Definition at line 128 of file config.py.

Member Data Documentation

config.Analyzer.class_object

Definition at line 107 of file config.py.

config.Analyzer.instance_label
config.Analyzer.name
int config.Analyzer.num_instance = 0
static

Definition at line 80 of file config.py.

config.Analyzer.verbose