diff --git a/Reconstruction/tauRec/python/TauRecBuilder.py b/Reconstruction/tauRec/python/TauRecBuilder.py index 24bf9548f7d5d550e4a09409aae089f7cfca7b2c..a62c51da435843ff2a5dd2c90ef7e1b1c5ed1efd 100644 --- a/Reconstruction/tauRec/python/TauRecBuilder.py +++ b/Reconstruction/tauRec/python/TauRecBuilder.py @@ -60,9 +60,10 @@ class TauRecCoreBuilder ( TauRecConfigured ) : tools.append(taualgs.getTauTrackFinder(removeDuplicateTracks=(tauFlags.removeDuplicateCoreTracks() ) )) tools.append(taualgs.getTauClusterFinder()) - if doMVATrackClassification : tools.append(taualgs.getTauTrackClassifier()) - if not doMVATrackClassification and doRNNTrackClassification: + if doRNNTrackClassification: tools.append(taualgs.getTauTrackRNNClassifier()) + elif doMVATrackClassification: + tools.append(taualgs.getTauTrackClassifier()) if jobproperties.Beam.beamType()!="cosmics": tools.append(taualgs.getEnergyCalibrationLC()) diff --git a/Reconstruction/tauRec/python/tauRecFlags.py b/Reconstruction/tauRec/python/tauRecFlags.py index b68871d3c6007e84fcd70bc095c570696cf41680..1fbaaee61353cb495e6211de70be28dd3ef9230f 100644 --- a/Reconstruction/tauRec/python/tauRecFlags.py +++ b/Reconstruction/tauRec/python/tauRecFlags.py @@ -76,14 +76,14 @@ class tauRecMVATrackClassification(JobProperty): """ statusOn=True allowedTypes=['bool'] - StoredValue=True + StoredValue=False class tauRecRNNTrackClassification(JobProperty): """Run the RNN Track Classifier """ statusOn=True allowedTypes=['bool'] - StoredValue=False + StoredValue=True #can set from the command line via: # --preExec 'RAWtoESD:from tauRec.tauRecFlags import tauFlags;tauFlags.tauRecMVATrackClassificationConfig()[0]=["file", somenumber]'