File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Detectors/ITSMFT/MFT/workflow/src Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ void ClustererDPL::init(InitContext& ic)
4646
4747 mClusterer = std::make_unique<o2::itsmft::Clusterer>();
4848 mClusterer ->setNChips (o2::itsmft::ChipMappingMFT::getNChips ());
49+ mUseClusterDictionary = !ic.options ().get <bool >(" ignore-cluster-dictionary" );
50+
4951 LOG (info) << " MFT ClustererDPL::init total number of sensors " << o2::itsmft::ChipMappingMFT::getNChips () << " \n " ;
5052
5153 // mClusterer->setMaskOverflowPixels(false);
@@ -72,14 +74,6 @@ void ClustererDPL::init(InitContext& ic)
7274 mClusterer ->setMaxBCSeparationToMask (nbc);
7375 mClusterer ->setMaxRowColDiffToMask (clParams.maxRowColDiffToMask );
7476
75- std::string dictPath = o2::itsmft::ClustererParam<o2::detectors::DetID::MFT>::Instance ().dictFilePath ;
76- std::string dictFile = o2::base::DetectorNameConf::getAlpideClusterDictionaryFileName (o2::detectors::DetID::MFT, dictPath);
77- if (o2::utils::Str::pathExists (dictFile)) {
78- mClusterer ->loadDictionary (dictFile);
79- LOG (info) << " MFTClusterer running with a provided dictionary: " << dictFile;
80- } else {
81- LOG (info) << " Dictionary " << dictFile << " is absent, MFTClusterer expects cluster patterns" ;
82- }
8377 mState = 1 ;
8478 mClusterer ->print ();
8579}
You can’t perform that action at this time.
0 commit comments