CMS 3D CMS Logo

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.

00074                                        :
00075     # Tries to set all task parameter 'param' to the value 'value'
00076     newval=value
00077     isstring=False
00078     if (newval<>True and newval<>False):
00079         try:
00080             newval=string.atoi(newval)
00081         except:
00082             try:
00083                 newval=string.atof(newval)
00084             except:
00085                 isstring=True
00086 
00087     tasks=[hcalDigiMonitor,hcalRecHitMonitor,hcalHotCellMonitor,hcalDeadCellMonitor,
00088            hcalRawDataMonitor, hcalBeamMonitor, hcalTrigPrimMonitor, hcalNZSMonitor,
00089            hcalDataIntegrityMonitor, hcalDetDiagLaserMonitor, hcalDetDiagLEDMonitor,
00090            hcalDetDiagNoiseMonitor, hcalDetDiagPedestalMonitor, hcalCoarsePedestalMonitor,
00091            hcalDetDiagTimingMonitor, hcalLSbyLSMonitor]
00092 
00093     for i in tasks:
00094         if isstring==False:
00095             cmd="process.%s.%s=%s"%(i,param,value)
00096         else:
00097             cmd="process.%s.%s='%s'"%(i,param,value)
00098         try:
00099             exec(cmd)
00100         except SyntaxError:
00101             print "Could not execute command '%s'"%cmd

Variable Documentation

Initial value:
00001 cms.Sequence(hcalRecHitMonitor
00002                                                    *hcalRawDataMonitor
00003                                                    *hcalDetDiagPedestalMonitor
00004                                                    *hcalDetDiagLaserMonitor
00005                                                    #*hcalDetDiagLEDMonitor
00006                                                    *hcalDetDiagNoiseMonitor
00007                                                    *hcalDetDiagTimingMonitor
00008                                                    )

Definition at line 63 of file HcalMonitorTasks_cfi.py.

Initial value:
00001 cms.Sequence(hcalDigiMonitor
00002                                                *hcalHotCellMonitor
00003                                                *hcalDeadCellMonitor
00004                                                *hcalRecHitMonitor
00005                                                *hcalBeamMonitor
00006                                                *hcalRawDataMonitor
00007                                                *hcalDetDiagNoiseMonitor
00008                                                *hcalLSbyLSMonitor
00009                                                *hcalNoiseMonitor
00010                                                )

Definition at line 51 of file HcalMonitorTasks_cfi.py.

Initial value:
00001 cms.Sequence(hcalDigiMonitor
00002                                               *hcalHotCellMonitor
00003                                               *hcalDeadCellMonitor
00004                                               *hcalRecHitMonitor
00005                                               *hcalBeamMonitor
00006                                               *hcalRawDataMonitor
00007                                               *hcalTrigPrimMonitor
00008                                               *hcalCoarsePedestalMonitor
00009                                               #*hcalDetDiagPedestalMonitor
00010                                               #*hcalDetDiagLaserMonitor
00011                                               #*hcalDetDiagLEDMonitor
00012                                               *hcalDetDiagNoiseMonitor
00013                                               *hcalDetDiagTimingMonitor
00014                                               *hcalNZSMonitor
00015                                               )

Definition at line 35 of file HcalMonitorTasks_cfi.py.

Initial value:
00001 cms.Sequence(hcalDigiMonitor
00002                                           *hcalHotCellMonitor
00003                                           *hcalDeadCellMonitor
00004                                           *hcalRecHitMonitor
00005                                           *hcalBeamMonitor
00006                                           *hcalRawDataMonitor
00007                                           *hcalTrigPrimMonitor
00008                                           *hcalNZSMonitor
00009                                           *hcalLSbyLSMonitor
00010                                           )

Definition at line 24 of file HcalMonitorTasks_cfi.py.