Skip to content

Commit

Permalink
Merge pull request #395 from eic/v0.3.6.2-fix-imaging-clusters
Browse files Browse the repository at this point in the history
Fix imaging calorimeter cluster finding in v0.3.6 release cycle
  • Loading branch information
DraTeots authored Dec 13, 2022
2 parents 8629d88 + 1c2cb84 commit 49a6205
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tools/default_flags_table/reco_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@
('BEMC:EcalBarrelscFiMergedHits:refs', '1,1', ''),

('BEMC:EcalBarrelImagingProtoClusters:input_tag', 'EcalBarrelImagingRecHits', 'Name of input collection to use'),
('BEMC:EcalBarrelImagingProtoClusters::localDistXY', '2.0,2.0', '* [mm]'),
('BEMC:EcalBarrelImagingProtoClusters::localDistXY', '0.2,0.2', '* [mm]'), # should be 2.0*mm
('BEMC:EcalBarrelImagingProtoClusters::layerDistEtaPhi', '0.01,0.01', '* [radian]'),
('BEMC:EcalBarrelImagingProtoClusters::neighbourLayersRange', '2.0', ''),
('BEMC:EcalBarrelImagingProtoClusters::sectorDist', '30.0*mm', ''),
('BEMC:EcalBarrelImagingProtoClusters::sectorDist', '3.0*mm', ''), # should be 3.0*cm
('BEMC:EcalBarrelImagingProtoClusters::minClusterHitEdep', '0.', ''),
('BEMC:EcalBarrelImagingProtoClusters::minClusterCenterEdep', '0.', ''),
('BEMC:EcalBarrelImagingProtoClusters::minClusterEdep', '80*MeV', ''),
('BEMC:EcalBarrelImagingProtoClusters::minClusterEdep', '80*keV', ''), # should be 80*MeV
('BEMC:EcalBarrelImagingProtoClusters::minClusterNhits', '5', ''),

('BEMC:EcalBarrelScFiProtoClusters:input_tag', 'EcalBarrelScFiMergedHits', 'Name of input collection to use'),
Expand Down Expand Up @@ -857,7 +857,7 @@
import argparse

# For some values we need to eval the result
known_units_list = ['eV', 'MeV', 'GeV', 'mm', 'cm', 'mrad']
known_units_list = ['eV', 'keV', 'MeV', 'GeV', 'mm', 'cm', 'mrad']

def has_unit_conversion(value):
"""Checks if string value use units like X*MeV or X/GeV"""
Expand Down

0 comments on commit 49a6205

Please sign in to comment.