ATLAS Offline Software
Classes | Functions | Variables
RunTileMonitoring Namespace Reference

Classes

class  TileMonPostProcessingAlg
 

Functions

def _configFlagsFromPartition (flags, partition, log)
 
def _addBoolArgument (parser, argument, dest=None, help='')
 

Variables

 flags
 
 parser
 
 help
 
 action
 
 dest
 
 default
 
 type
 
 str
 
 int
 
 choices
 
 update_group
 
 args
 
 _
 
 cells
 
 False
 
 towers
 
 clusters
 
 muid
 
 muonfit
 
 mbts
 
 rod
 
 tmdb
 
 tmdbDigits
 
 tmdbRawChannels
 
 True
 
 digiNoise
 
 rawChanNoise
 
 online
 
 partition
 
 keys
 
 key
 
 keyValues
 
 keyValue
 
 updatePeriod
 
 calibGroupName
 
 streamType
 
 streamNames
 
 streamLogic
 
 keyCount
 
 groupName
 
 publishInclude
 
 include
 
 triggerType
 
 x82
 
 frequency
 
 postProcessingInterval
 
 _l1Items
 
 _l1Names
 
 lvl1Logic
 
 lvl1Origin
 
 lvl1Items
 
 lvl1Names
 
 useMbtsTrigger
 
 useTrigger
 
 enableLumiAccess
 
 RunType
 
 triggerConfig
 
 Files
 
 isMC
 
 Format
 
 Run
 
 beamType
 
 Type
 
 inputDirectory
 
 inputFile
 
 RunNumbers
 
 ProjectName
 
 runNumber
 
 AtlasVersion
 
 HISTFileName
 
 isOnline
 
 GlobalTag
 
 Environment
 
 FileKey
 
 doFit
 
 correctTime
 
 doOverflowFit
 
 BestPhaseFromCOOL
 
 NoiseFilter
 
 doJiveXML
 
 pattern
 
 evaluate
 
 cfg
 
 typeNames
 
 readMuRcv
 
 readMuRcvDigits
 
 readMuRcvRawCh
 
 readLaserObj
 
 stateless
 
 type_names
 
 bsEmonInputSvc
 
 Partition
 
 Key
 
 KeyValue
 
 KeyCount
 
 PublishName
 
 ISServer
 
 Include
 
 UpdatePeriod
 
 Frequency
 
 LVL1Items
 
 LVL1Names
 
 LVL1Logic
 
 LVL1Origin
 
 StreamType
 
 StreamNames
 
 StreamLogic
 
 GroupName
 
 ProcessCorruptedEvents
 
 BufferSize
 
 fullTileMode
 
 rawChMaker
 
 Cardinality
 
 l1Triggers
 
 triggerTypes
 
 TriggerTypes
 
 fillHistogramsForL1Triggers
 
 fillGapScintilatorHistograms
 
 fillTimingHistograms
 
 FillHistogramsPerMBTS
 
 configurations
 
 dataPath
 
 ppa
 
 OutputLevel
 
 ExtraInputs
 
 Interval
 
 ConfigFiles
 
 _ctr
 
 fileKey
 
 sequenceName
 
 WriteToFile
 
 Output
 
 CablingType
 
 TileBeamElemContainer
 
 withDetails
 
 sc
 

Function Documentation

◆ _addBoolArgument()

def RunTileMonitoring._addBoolArgument (   parser,
  argument,
  dest = None,
  help = '' 
)
private

Definition at line 68 of file RunTileMonitoring.py.

68  def _addBoolArgument(parser, argument, dest=None, help=''):
69  group = parser.add_mutually_exclusive_group()
70  destination = dest if dest else argument
71  group.add_argument('--' + argument, dest=destination, action='store_true', help="Switch on " + help)
72  group.add_argument('--no-' + argument, dest=destination, action='store_false', help="Switch off " + help)
73 

◆ _configFlagsFromPartition()

def RunTileMonitoring._configFlagsFromPartition (   flags,
  partition,
  log 
)
private
Configure the following flags from partition in online: run number, beam type, and project

Definition at line 13 of file RunTileMonitoring.py.

13 def _configFlagsFromPartition(flags, partition, log):
14  """
15  Configure the following flags from partition in online: run number, beam type, and project
16  """
17 
18  from ipc import IPCPartition
19  from ispy import ISObject
20  ipcPartition = IPCPartition(partition)
21  if not ipcPartition.isValid():
22  log.error( 'Partition: ' + ipcPartition.name() + ' is not valid' )
23  sys.exit(1)
24  try:
25  runParams = ISObject(ipcPartition, 'RunParams.SOR_RunParams', 'RunParams')
26  except Exception:
27  beamType = 'cosmics'
28  runNumber = 399999
29  projectName = 'data20_calib'
30  log.warning("No Run Parameters in IS => Set defaults: partition: %s, beam type: %i, run number: %i, project tag: %s",
31  partition, beamType, runNumber, projectName)
32  else:
33  runParams.checkout()
34  beamType = runParams.beam_type
35  beamEnergy = runParams.beam_energy
36  runNumber = runParams.run_number
37  projectName = runParams.T0_project_tag
38  runType = runParams.run_type
39  log.info("RUN CONFIG: partition: %s, run type: %s, beam type: %i, beam energy: %i, run number: %i, project tag: %s",
40  partition, runType, beamType, beamEnergy, runNumber, projectName)
41 
42  if any([projectName.endswith(_) for _ in ("cos", "test", "calib")]):
43  beamType = 'cosmics'
44  elif projectName.endswith('1beam'):
45  beamType = 'singlebeam'
46  elif beamEnergy > 0:
47  beamType = 'collisions'
48  else:
49  beamType = 'cosmics'
50 
51  if partition == 'Tile':
52  flags.Tile.NoiseFilter = 0
53  if 'CIS' in runType:
54  flags.Tile.RunType = TileRunType.MONOCIS if 'mono' in runType else TileRunType.CIS
55  elif 'Laser' in runType:
56  flags.Tile.RunType = TileRunType.LAS
57  elif 'Pedestals' in runType:
58  flags.Tile.RunType = TileRunType.PED
59 
60  flags.Beam.Type = BeamType(beamType)
61  flags.Input.ProjectName = projectName
62  flags.Input.RunNumbers = [runNumber]
63 
64 

Variable Documentation

◆ _

RunTileMonitoring._
private

Definition at line 129 of file RunTileMonitoring.py.

◆ _ctr

RunTileMonitoring._ctr
private

Definition at line 417 of file RunTileMonitoring.py.

◆ _l1Items

RunTileMonitoring._l1Items
private

Definition at line 165 of file RunTileMonitoring.py.

◆ _l1Names

RunTileMonitoring._l1Names
private

Definition at line 166 of file RunTileMonitoring.py.

◆ action

RunTileMonitoring.action

Definition at line 79 of file RunTileMonitoring.py.

◆ args

RunTileMonitoring.args

Definition at line 129 of file RunTileMonitoring.py.

◆ AtlasVersion

RunTileMonitoring.AtlasVersion

Definition at line 241 of file RunTileMonitoring.py.

◆ beamType

RunTileMonitoring.beamType

Definition at line 208 of file RunTileMonitoring.py.

◆ BestPhaseFromCOOL

RunTileMonitoring.BestPhaseFromCOOL

Definition at line 263 of file RunTileMonitoring.py.

◆ bsEmonInputSvc

RunTileMonitoring.bsEmonInputSvc

Definition at line 296 of file RunTileMonitoring.py.

◆ BufferSize

RunTileMonitoring.BufferSize

Definition at line 315 of file RunTileMonitoring.py.

◆ CablingType

RunTileMonitoring.CablingType

Definition at line 438 of file RunTileMonitoring.py.

◆ calibGroupName

RunTileMonitoring.calibGroupName

Definition at line 157 of file RunTileMonitoring.py.

◆ Cardinality

RunTileMonitoring.Cardinality

Definition at line 323 of file RunTileMonitoring.py.

◆ cells

RunTileMonitoring.cells

Definition at line 133 of file RunTileMonitoring.py.

◆ cfg

RunTileMonitoring.cfg

Definition at line 283 of file RunTileMonitoring.py.

◆ choices

RunTileMonitoring.choices

Definition at line 115 of file RunTileMonitoring.py.

◆ clusters

RunTileMonitoring.clusters

Definition at line 133 of file RunTileMonitoring.py.

◆ ConfigFiles

RunTileMonitoring.ConfigFiles

Definition at line 416 of file RunTileMonitoring.py.

◆ configurations

RunTileMonitoring.configurations

Definition at line 396 of file RunTileMonitoring.py.

◆ correctTime

RunTileMonitoring.correctTime

Definition at line 261 of file RunTileMonitoring.py.

◆ dataPath

RunTileMonitoring.dataPath

Definition at line 397 of file RunTileMonitoring.py.

◆ default

RunTileMonitoring.default

Definition at line 104 of file RunTileMonitoring.py.

◆ dest

RunTileMonitoring.dest

Definition at line 92 of file RunTileMonitoring.py.

◆ digiNoise

RunTileMonitoring.digiNoise

Definition at line 140 of file RunTileMonitoring.py.

◆ doFit

RunTileMonitoring.doFit

Definition at line 260 of file RunTileMonitoring.py.

◆ doJiveXML

RunTileMonitoring.doJiveXML

Definition at line 267 of file RunTileMonitoring.py.

◆ doOverflowFit

RunTileMonitoring.doOverflowFit

Definition at line 262 of file RunTileMonitoring.py.

◆ enableLumiAccess

RunTileMonitoring.enableLumiAccess

Definition at line 192 of file RunTileMonitoring.py.

◆ Environment

RunTileMonitoring.Environment

Definition at line 250 of file RunTileMonitoring.py.

◆ evaluate

RunTileMonitoring.evaluate

Definition at line 277 of file RunTileMonitoring.py.

◆ ExtraInputs

RunTileMonitoring.ExtraInputs

Definition at line 414 of file RunTileMonitoring.py.

◆ False

RunTileMonitoring.False

Definition at line 133 of file RunTileMonitoring.py.

◆ FileKey

RunTileMonitoring.FileKey

Definition at line 251 of file RunTileMonitoring.py.

◆ fileKey

RunTileMonitoring.fileKey

Definition at line 419 of file RunTileMonitoring.py.

◆ Files

RunTileMonitoring.Files

Definition at line 198 of file RunTileMonitoring.py.

◆ fillGapScintilatorHistograms

RunTileMonitoring.fillGapScintilatorHistograms

Definition at line 355 of file RunTileMonitoring.py.

◆ fillHistogramsForL1Triggers

RunTileMonitoring.fillHistogramsForL1Triggers

Definition at line 335 of file RunTileMonitoring.py.

◆ FillHistogramsPerMBTS

RunTileMonitoring.FillHistogramsPerMBTS

Definition at line 367 of file RunTileMonitoring.py.

◆ fillTimingHistograms

RunTileMonitoring.fillTimingHistograms

Definition at line 363 of file RunTileMonitoring.py.

◆ flags

RunTileMonitoring.flags

Definition at line 75 of file RunTileMonitoring.py.

◆ Format

RunTileMonitoring.Format

Definition at line 202 of file RunTileMonitoring.py.

◆ frequency

RunTileMonitoring.frequency

Definition at line 162 of file RunTileMonitoring.py.

◆ Frequency

RunTileMonitoring.Frequency

Definition at line 305 of file RunTileMonitoring.py.

◆ fullTileMode

RunTileMonitoring.fullTileMode

Definition at line 317 of file RunTileMonitoring.py.

◆ GlobalTag

RunTileMonitoring.GlobalTag

Definition at line 249 of file RunTileMonitoring.py.

◆ groupName

RunTileMonitoring.groupName

Definition at line 158 of file RunTileMonitoring.py.

◆ GroupName

RunTileMonitoring.GroupName

Definition at line 313 of file RunTileMonitoring.py.

◆ help

RunTileMonitoring.help

Definition at line 77 of file RunTileMonitoring.py.

◆ HISTFileName

RunTileMonitoring.HISTFileName

Definition at line 244 of file RunTileMonitoring.py.

◆ include

RunTileMonitoring.include

Definition at line 161 of file RunTileMonitoring.py.

◆ Include

RunTileMonitoring.Include

Definition at line 303 of file RunTileMonitoring.py.

◆ inputDirectory

RunTileMonitoring.inputDirectory

Definition at line 218 of file RunTileMonitoring.py.

◆ inputFile

RunTileMonitoring.inputFile

Definition at line 219 of file RunTileMonitoring.py.

◆ int

RunTileMonitoring.int

Definition at line 109 of file RunTileMonitoring.py.

◆ Interval

RunTileMonitoring.Interval

Definition at line 415 of file RunTileMonitoring.py.

◆ isMC

RunTileMonitoring.isMC

Definition at line 201 of file RunTileMonitoring.py.

◆ isOnline

RunTileMonitoring.isOnline

Definition at line 247 of file RunTileMonitoring.py.

◆ ISServer

RunTileMonitoring.ISServer

Definition at line 302 of file RunTileMonitoring.py.

◆ key

RunTileMonitoring.key

Definition at line 147 of file RunTileMonitoring.py.

◆ Key

RunTileMonitoring.Key

Definition at line 298 of file RunTileMonitoring.py.

◆ keyCount

RunTileMonitoring.keyCount

Definition at line 158 of file RunTileMonitoring.py.

◆ KeyCount

RunTileMonitoring.KeyCount

Definition at line 300 of file RunTileMonitoring.py.

◆ keys

RunTileMonitoring.keys

Definition at line 146 of file RunTileMonitoring.py.

◆ keyValue

RunTileMonitoring.keyValue

Definition at line 150 of file RunTileMonitoring.py.

◆ KeyValue

RunTileMonitoring.KeyValue

Definition at line 299 of file RunTileMonitoring.py.

◆ keyValues

RunTileMonitoring.keyValues

Definition at line 149 of file RunTileMonitoring.py.

◆ l1Triggers

RunTileMonitoring.l1Triggers

Definition at line 325 of file RunTileMonitoring.py.

◆ lvl1Items

RunTileMonitoring.lvl1Items

Definition at line 169 of file RunTileMonitoring.py.

◆ LVL1Items

RunTileMonitoring.LVL1Items

Definition at line 306 of file RunTileMonitoring.py.

◆ lvl1Logic

RunTileMonitoring.lvl1Logic

Definition at line 169 of file RunTileMonitoring.py.

◆ LVL1Logic

RunTileMonitoring.LVL1Logic

Definition at line 308 of file RunTileMonitoring.py.

◆ lvl1Names

RunTileMonitoring.lvl1Names

Definition at line 169 of file RunTileMonitoring.py.

◆ LVL1Names

RunTileMonitoring.LVL1Names

Definition at line 307 of file RunTileMonitoring.py.

◆ lvl1Origin

RunTileMonitoring.lvl1Origin

Definition at line 169 of file RunTileMonitoring.py.

◆ LVL1Origin

RunTileMonitoring.LVL1Origin

Definition at line 309 of file RunTileMonitoring.py.

◆ mbts

RunTileMonitoring.mbts

Definition at line 133 of file RunTileMonitoring.py.

◆ muid

RunTileMonitoring.muid

Definition at line 133 of file RunTileMonitoring.py.

◆ muonfit

RunTileMonitoring.muonfit

Definition at line 133 of file RunTileMonitoring.py.

◆ NoiseFilter

RunTileMonitoring.NoiseFilter

Definition at line 264 of file RunTileMonitoring.py.

◆ online

RunTileMonitoring.online

Definition at line 143 of file RunTileMonitoring.py.

◆ Output

RunTileMonitoring.Output

Definition at line 437 of file RunTileMonitoring.py.

◆ OutputLevel

RunTileMonitoring.OutputLevel

Definition at line 413 of file RunTileMonitoring.py.

◆ parser

RunTileMonitoring.parser

Definition at line 76 of file RunTileMonitoring.py.

◆ partition

RunTileMonitoring.partition

Definition at line 144 of file RunTileMonitoring.py.

◆ Partition

RunTileMonitoring.Partition

Definition at line 297 of file RunTileMonitoring.py.

◆ pattern

RunTileMonitoring.pattern

Definition at line 277 of file RunTileMonitoring.py.

◆ postProcessingInterval

RunTileMonitoring.postProcessingInterval

Definition at line 162 of file RunTileMonitoring.py.

◆ ppa

RunTileMonitoring.ppa

Definition at line 412 of file RunTileMonitoring.py.

◆ ProcessCorruptedEvents

RunTileMonitoring.ProcessCorruptedEvents

Definition at line 314 of file RunTileMonitoring.py.

◆ ProjectName

RunTileMonitoring.ProjectName

Definition at line 236 of file RunTileMonitoring.py.

◆ publishInclude

RunTileMonitoring.publishInclude

Definition at line 160 of file RunTileMonitoring.py.

◆ PublishName

RunTileMonitoring.PublishName

Definition at line 301 of file RunTileMonitoring.py.

◆ rawChanNoise

RunTileMonitoring.rawChanNoise

Definition at line 140 of file RunTileMonitoring.py.

◆ rawChMaker

RunTileMonitoring.rawChMaker

Definition at line 322 of file RunTileMonitoring.py.

◆ readLaserObj

RunTileMonitoring.readLaserObj

Definition at line 291 of file RunTileMonitoring.py.

◆ readMuRcv

RunTileMonitoring.readMuRcv

Definition at line 288 of file RunTileMonitoring.py.

◆ readMuRcvDigits

RunTileMonitoring.readMuRcvDigits

Definition at line 289 of file RunTileMonitoring.py.

◆ readMuRcvRawCh

RunTileMonitoring.readMuRcvRawCh

Definition at line 290 of file RunTileMonitoring.py.

◆ rod

RunTileMonitoring.rod

Definition at line 134 of file RunTileMonitoring.py.

◆ Run

RunTileMonitoring.Run

Definition at line 203 of file RunTileMonitoring.py.

◆ runNumber

RunTileMonitoring.runNumber

Definition at line 238 of file RunTileMonitoring.py.

◆ RunNumbers

RunTileMonitoring.RunNumbers

Definition at line 221 of file RunTileMonitoring.py.

◆ RunType

RunTileMonitoring.RunType

Definition at line 193 of file RunTileMonitoring.py.

◆ sc

RunTileMonitoring.sc

Definition at line 445 of file RunTileMonitoring.py.

◆ sequenceName

RunTileMonitoring.sequenceName

Definition at line 424 of file RunTileMonitoring.py.

◆ stateless

RunTileMonitoring.stateless

Definition at line 292 of file RunTileMonitoring.py.

◆ str

RunTileMonitoring.str

Definition at line 105 of file RunTileMonitoring.py.

◆ streamLogic

RunTileMonitoring.streamLogic

Definition at line 158 of file RunTileMonitoring.py.

◆ StreamLogic

RunTileMonitoring.StreamLogic

Definition at line 312 of file RunTileMonitoring.py.

◆ streamNames

RunTileMonitoring.streamNames

Definition at line 158 of file RunTileMonitoring.py.

◆ StreamNames

RunTileMonitoring.StreamNames

Definition at line 311 of file RunTileMonitoring.py.

◆ streamType

RunTileMonitoring.streamType

Definition at line 158 of file RunTileMonitoring.py.

◆ StreamType

RunTileMonitoring.StreamType

Definition at line 310 of file RunTileMonitoring.py.

◆ TileBeamElemContainer

RunTileMonitoring.TileBeamElemContainer

Definition at line 441 of file RunTileMonitoring.py.

◆ tmdb

RunTileMonitoring.tmdb

Definition at line 134 of file RunTileMonitoring.py.

◆ tmdbDigits

RunTileMonitoring.tmdbDigits

Definition at line 134 of file RunTileMonitoring.py.

◆ tmdbRawChannels

RunTileMonitoring.tmdbRawChannels

Definition at line 134 of file RunTileMonitoring.py.

◆ towers

RunTileMonitoring.towers

Definition at line 133 of file RunTileMonitoring.py.

◆ triggerConfig

RunTileMonitoring.triggerConfig

Definition at line 196 of file RunTileMonitoring.py.

◆ triggerType

RunTileMonitoring.triggerType

Definition at line 162 of file RunTileMonitoring.py.

◆ triggerTypes

RunTileMonitoring.triggerTypes

Definition at line 329 of file RunTileMonitoring.py.

◆ TriggerTypes

RunTileMonitoring.TriggerTypes

Definition at line 331 of file RunTileMonitoring.py.

◆ True

RunTileMonitoring.True

Definition at line 137 of file RunTileMonitoring.py.

◆ type

RunTileMonitoring.type

Definition at line 105 of file RunTileMonitoring.py.

◆ Type

RunTileMonitoring.Type

Definition at line 211 of file RunTileMonitoring.py.

◆ type_names

RunTileMonitoring.type_names

Definition at line 293 of file RunTileMonitoring.py.

◆ typeNames

RunTileMonitoring.typeNames

Definition at line 285 of file RunTileMonitoring.py.

◆ update_group

RunTileMonitoring.update_group

Definition at line 125 of file RunTileMonitoring.py.

◆ updatePeriod

RunTileMonitoring.updatePeriod

Definition at line 153 of file RunTileMonitoring.py.

◆ UpdatePeriod

RunTileMonitoring.UpdatePeriod

Definition at line 304 of file RunTileMonitoring.py.

◆ useMbtsTrigger

RunTileMonitoring.useMbtsTrigger

Definition at line 170 of file RunTileMonitoring.py.

◆ useTrigger

RunTileMonitoring.useTrigger

Definition at line 191 of file RunTileMonitoring.py.

◆ withDetails

RunTileMonitoring.withDetails

Definition at line 443 of file RunTileMonitoring.py.

◆ WriteToFile

RunTileMonitoring.WriteToFile

Definition at line 428 of file RunTileMonitoring.py.

◆ x82

RunTileMonitoring.x82

Definition at line 162 of file RunTileMonitoring.py.

RunTileMonitoring._configFlagsFromPartition
def _configFlagsFromPartition(flags, partition, log)
Definition: RunTileMonitoring.py:13
CBNT_TBInfo.BeamType
BeamType
Definition: CBNT_TBInfo.py:29
RunTileMonitoring._addBoolArgument
def _addBoolArgument(parser, argument, dest=None, help='')
Definition: RunTileMonitoring.py:68