Skip to content

Commit

Permalink
Revert change from PR1288
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusFrankATcernch committed Jul 22, 2024
1 parent fe64884 commit 7d3bf03
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions DDG4/python/DDG4.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,6 @@ def setupCalorimeter(self, name, type=None, collections=None): # noqa: A002
# sd.setType('calorimeter')
if typ is None:
typ = self.sensitive_types['calorimeter']
elif typ is not None and self.sensitive_types.get(typ):
typ = self.sensitive_types[typ]
return self.setupDetector(name, typ, collections)

def setupTracker(self, name, type=None, collections=None): # noqa: A002
Expand All @@ -696,8 +694,6 @@ def setupTracker(self, name, type=None, collections=None): # noqa: A002
# sd.setType('tracker')
if typ is None:
typ = self.sensitive_types['tracker']
elif typ is not None and self.sensitive_types.get(typ):
typ = self.sensitive_types[typ]
return self.setupDetector(name, typ, collections)

def _private_setupField(self, field, stepper, equation, prt):
Expand Down

0 comments on commit 7d3bf03

Please sign in to comment.