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 225 of file BeamSpotPostProcessing.py.

Member Function Documentation

◆ run()

def python.BeamSpotPostProcessing.LinkResults.run (   self)

Definition at line 226 of file BeamSpotPostProcessing.py.

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

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