Skip to content
Snippets Groups Projects
Commit 8e646c9a authored by Michel De Cian's avatar Michel De Cian Committed by Alex Pearce
Browse files

fix some typos

parent 87e70041
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,7 @@ class Tesla(LHCbConfigurableUser):
HistogramPersistencySvc().OutputFile = self.getProp("Histogram")
def _configureTimingAuditor(self):
"""Enable the printing of the atelgorithm timing table."""
"""Enable the printing of the algorithm timing table."""
ApplicationMgr().ExtSvc += ['ToolSvc', 'AuditorSvc']
ApplicationMgr().AuditAlgorithms = True
AuditorSvc().Auditors += ['TimingAuditor']
......@@ -597,7 +597,7 @@ class Tesla(LHCbConfigurableUser):
def _configureTruthMatching(self, name, packing):
# CHARGED STUFF #####################################################################
# Get the location of all tracks and all charged protoparticles we want to truthmatch
# Get the location of all tracks and all protoparticles we want to truthmatch
track_locs = [v for v in packing.outputs.values() if 'track' in v.lower()]
proto_locs = [v for v in packing.outputs.values() if 'proto' in v.lower()]
......@@ -617,10 +617,7 @@ class Tesla(LHCbConfigurableUser):
# for path in assocpp.InputData]
#relationsLocations.append(protoneutral)
print "++++++++++++++++"
print relationsLocations
print proto_locs
#dummy = [ loc.lstrip('/Event/') for loc in proto_locs ]
#relationsLocations = [ '/Event/Relations' + v for v in dummy ]
relationsLocations = [ loc.replace('/Event', '/Event/Relations') for loc in proto_locs ]
print relationsLocations
print "++++++++++++++++"
......@@ -1216,8 +1213,7 @@ class Tesla(LHCbConfigurableUser):
if self.getProp('Mode') is "Online":
self.setProp('WriteFSR',True)
self._configureLumi()
if self.getProp('Simulation')==True:
self._unpackMC()
else:
DecodeRawEvent().DataOnDemand=True
RecombineRawEvent(Version=self.getProp('SplitRawEventInput'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment