CMS 3D CMS Logo

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

Functions

def SetTaskParams
 

Variables

tuple hcalMonitorTasksCalibrationSequence
 
tuple hcalMonitorTasksOfflineSequence
 
tuple hcalMonitorTasksOnlineSequence
 
tuple hcalMonitorTasksTestSequence
 

Function Documentation

def HcalMonitorTasks_cfi.SetTaskParams (   process,
  param,
  value 
)

Definition at line 73 of file HcalMonitorTasks_cfi.py.

73 
74 def SetTaskParams(process,param, value):
75  # Tries to set all task parameter 'param' to the value 'value'
76  newval=value
77  isstring=False
78  if (newval<>True and newval<>False):
79  try:
80  newval=string.atoi(newval)
81  except:
82  try:
83  newval=string.atof(newval)
84  except:
85  isstring=True
86 
87  tasks=[hcalDigiMonitor,hcalRecHitMonitor,hcalHotCellMonitor,hcalDeadCellMonitor,
88  hcalRawDataMonitor, hcalBeamMonitor, hcalTrigPrimMonitor, hcalNZSMonitor,
89  hcalDataIntegrityMonitor, hcalDetDiagLaserMonitor, hcalDetDiagLEDMonitor,
90  hcalDetDiagNoiseMonitor, hcalDetDiagPedestalMonitor, hcalCoarsePedestalMonitor,
91  hcalDetDiagTimingMonitor, hcalLSbyLSMonitor]
92 
93  for i in tasks:
94  if isstring==False:
95  cmd="process.%s.%s=%s"%(i,param,value)
96  else:
97  cmd="process.%s.%s='%s'"%(i,param,value)
98  try:
99  exec(cmd)
100  except SyntaxError:
101  print "Could not execute command '%s'"%cmd

Variable Documentation

tuple HcalMonitorTasks_cfi.hcalMonitorTasksCalibrationSequence
Initial value:
1 = cms.Sequence(hcalRecHitMonitor
2  *hcalRawDataMonitor
3  *hcalDetDiagPedestalMonitor
4  *hcalDetDiagLaserMonitor
5  #*hcalDetDiagLEDMonitor
6  *hcalDetDiagNoiseMonitor
7  *hcalDetDiagTimingMonitor
8  )

Definition at line 63 of file HcalMonitorTasks_cfi.py.

tuple HcalMonitorTasks_cfi.hcalMonitorTasksOfflineSequence
Initial value:
1 = cms.Sequence(hcalDigiMonitor
2  *hcalHotCellMonitor
3  *hcalDeadCellMonitor
4  *hcalRecHitMonitor
5  *hcalBeamMonitor
6  *hcalRawDataMonitor
7  *hcalDetDiagNoiseMonitor
8  *hcalLSbyLSMonitor
9  *hcalNoiseMonitor
10  )

Definition at line 51 of file HcalMonitorTasks_cfi.py.

tuple HcalMonitorTasks_cfi.hcalMonitorTasksOnlineSequence
Initial value:
1 = cms.Sequence(hcalDigiMonitor
2  *hcalHotCellMonitor
3  *hcalDeadCellMonitor
4  *hcalRecHitMonitor
5  *hcalBeamMonitor
6  *hcalRawDataMonitor
7  *hcalTrigPrimMonitor
8  *hcalCoarsePedestalMonitor
9  #*hcalDetDiagPedestalMonitor
10  #*hcalDetDiagLaserMonitor
11  #*hcalDetDiagLEDMonitor
12  *hcalDetDiagNoiseMonitor
13  *hcalDetDiagTimingMonitor
14  *hcalNZSMonitor
15  )

Definition at line 35 of file HcalMonitorTasks_cfi.py.

tuple HcalMonitorTasks_cfi.hcalMonitorTasksTestSequence
Initial value:
1 = cms.Sequence(hcalDigiMonitor
2  *hcalHotCellMonitor
3  *hcalDeadCellMonitor
4  *hcalRecHitMonitor
5  *hcalBeamMonitor
6  *hcalRawDataMonitor
7  *hcalTrigPrimMonitor
8  *hcalNZSMonitor
9  *hcalLSbyLSMonitor
10  )

Definition at line 24 of file HcalMonitorTasks_cfi.py.