CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
config Namespace Reference

Classes

class  Ana1
 
class  Analyzer
 
class  CFG
 
class  Component
 
class  Config
 
class  DataComponent
 
class  MCComponent
 
class  Sequence
 

Functions

def printComps
 

Variables

string __author__ = "Aurelija"
 
string __date__ = "$2010-08-06 14.27.51$"
 
tuple ana2
 
tuple checkPath = os.getcwd()
 
tuple config
 
dictionary Configuration = {}
 
tuple DYJets
 
list exceptPaths = []
 
string helpMsg = "-----------------------------------------------------------HELP-----------------------------------------------------------\n"
 
tuple htmlPath = os.getcwd()
 
list ordering = ['1', '2', '3', '4', '5', '6']
 
tuple picklePath = os.getcwd()
 
string ruleName = '1'
 
string rulesDescription = "Rule number Description\n"
 
list rulesNames = []
 
list selectedComponents = [DYJets]
 
tuple sequence = Sequence( [ana1, ana2] )
 
string tata = 'a'
 
string toto = '1'
 
tuple txtPath = os.getcwd()
 

Function Documentation

def config.printComps (   comps,
  details = False 
)
Summary printout for  a list of components comps.
The components are assumed to have a name, and a list of files,
like the ones from this module.

Definition at line 7 of file config.py.

7 
8 def printComps(comps, details=False):
9  '''
10  Summary printout for a list of components comps.
11  The components are assumed to have a name, and a list of files,
12  like the ones from this module.
13  '''
14  nJobs = 0
15  nCompsWithFiles = 0
16  for c in comps:
17  if not hasattr(c, 'splitFactor'):
18  c.splitFactor = 1
19  print c.name, c.splitFactor, len(c.files)
20  if len(c.files)==0:
21  continue
22  else:
23  if details:
24  print c.files[0]
25  nJobs += c.splitFactor
26  nCompsWithFiles += 1
27 
28  print '-'*70
29  print '# components with files = ', nCompsWithFiles
30  print '# jobs = ', nJobs
31 
def printComps
Definition: config.py:7

Variable Documentation

string config.__author__ = "Aurelija"

Definition at line 1 of file config.py.

string config.__date__ = "$2010-08-06 14.27.51$"

Definition at line 2 of file config.py.

tuple config.ana2
Initial value:
2  Printer,
3  'instance1'
4  )

Definition at line 190 of file config.py.

tuple config.checkPath = os.getcwd()

Definition at line 11 of file config.py.

Referenced by JetMETHLTOfflineSource.dqmBeginRun().

tuple config.config
Initial value:
1 = Config( components = selectedComponents,
2  sequence = sequence,
3  events_class = Events )

Definition at line 206 of file config.py.

dictionary config.Configuration = {}

Definition at line 24 of file config.py.

tuple config.DYJets
Initial value:
2  name = 'DYJets',
3  files ='blah_mc.root',
4  xSection = 3048.,
5  nGenEvents = 34915945,
6  triggers = ['HLT_MC'],
7  vertexWeight = 1.,
8  effCorrFactor = 1 )

Definition at line 196 of file config.py.

list config.exceptPaths = []

Definition at line 18 of file config.py.

string config.helpMsg = "-----------------------------------------------------------HELP-----------------------------------------------------------\n"

Definition at line 199 of file config.py.

tuple config.htmlPath = os.getcwd()

Definition at line 14 of file config.py.

list config.ordering = ['1', '2', '3', '4', '5', '6']

Definition at line 7 of file config.py.

Referenced by edm::OwnArray< T, MAX_SIZE, P >.sort(), and edm::OwnVector< T, P >.sort().

tuple config.picklePath = os.getcwd()

Definition at line 12 of file config.py.

string config.ruleName = '1'

Definition at line 30 of file config.py.

string config.rulesDescription = "Rule number Description\n"

Definition at line 193 of file config.py.

list config.rulesNames = []

Definition at line 23 of file config.py.

list config.selectedComponents = [DYJets]

Definition at line 204 of file config.py.

list config.sequence = Sequence( [ana1, ana2] )

Definition at line 194 of file config.py.

Referenced by EcalDCCTBHeaderRuntypeDecoder.Decode(), EcalDCCHeaderRuntypeDecoder.Decode(), ecaldqm::DependencySet.formSequence(), and FFTJetCorrectionESProducer< CT >.produce().

string config.tata = 'a'

Definition at line 188 of file config.py.

string config.toto = '1'

Definition at line 187 of file config.py.

Referenced by VariableComputerTest.compute(), and TEcnaRun.GetReadyToReadData().

tuple config.txtPath = os.getcwd()

Definition at line 13 of file config.py.