ATLAS Offline Software
Public Member Functions | List of all members
python.BeamSpotPostProcessing.LinkResults Class Reference
Inheritance diagram for python.BeamSpotPostProcessing.LinkResults:
Collaboration diagram for python.BeamSpotPostProcessing.LinkResults:

Public Member Functions

def run (self)
 

Detailed Description

Definition at line 227 of file BeamSpotPostProcessing.py.

Member Function Documentation

◆ run()

def python.BeamSpotPostProcessing.LinkResults.run (   self)

Definition at line 228 of file BeamSpotPostProcessing.py.

228  def run(self):
229  resultFiles = self.taskDict['RESULTFILES']
230  resultLinks = ''
231  if 'AveBeamSpot' in self.executedSteps:
232  self.log(text='WARNING: You should always run AveBeamSpot after LinkResults to avoid overwriting results\n',doPrint=True)
233  if not resultFiles:
234  return
235  for r in resultFiles.split():
236  what = '.'.join(r.split('.')[-2:])
237  if what in linkTemplates:
238  if linkTemplates[what]:
239  resultLinks = ' '.join([resultLinks, linkTemplates[what] % (self.dsName,self.taskName,r)])
240  else:
241  resultLinks = ' '.join([resultLinks,'<a href="../files?u=%s/%s/%s">%s</a>' % (self.dsName,self.taskName,r,what)])
242  self.taskman.setValue(self.dsName,self.taskName,'RESULTLINKS',resultLinks)
243 
244 

The documentation for this class was generated from the following file:
run
int run(int argc, char *argv[])
Definition: ttree2hdf5.cxx:28
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10