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 74 of file HcalMonitorTasks_cfi.py.

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