From 0efb7c39aa0ae7c436fe4aa8f296c344585437f8 Mon Sep 17 00:00:00 2001 From: Xiaozhong Huang <xiaozhong.huang@cern.ch> Date: Fri, 19 Jun 2020 09:45:27 +0800 Subject: [PATCH] tauRecTools: move TauPi0ClusterScaler to src There are some errors related to the ElementLink when compiling TauPi0ClusterScaler in AnalysisBase. Since we do not use this tool in AnalysisBase, it is moved to src. --- Reconstruction/tauRecTools/Root/LinkDef.h | 6 +----- .../tauRecTools/{Root => src}/TauPi0ClusterScaler.cxx | 2 +- .../tauRecTools/{tauRecTools => src}/TauPi0ClusterScaler.h | 0 .../tauRecTools/src/components/tauRecTools_entries.cxx | 5 +++-- 4 files changed, 5 insertions(+), 8 deletions(-) rename Reconstruction/tauRecTools/{Root => src}/TauPi0ClusterScaler.cxx (99%) rename Reconstruction/tauRecTools/{tauRecTools => src}/TauPi0ClusterScaler.h (100%) diff --git a/Reconstruction/tauRecTools/Root/LinkDef.h b/Reconstruction/tauRecTools/Root/LinkDef.h index f5a919a42f3..cd09769f64a 100644 --- a/Reconstruction/tauRecTools/Root/LinkDef.h +++ b/Reconstruction/tauRecTools/Root/LinkDef.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #include "tauRecTools/TauCalibrateLC.h" @@ -25,10 +25,6 @@ #pragma link off all functions; #pragma link C++ nestedclass; -#endif - -#ifdef __CINT__ - #pragma link C++ class TauCalibrateLC+; #pragma link C++ class TauCommonCalcVars+; #pragma link C++ class TauSubstructureVariables+; diff --git a/Reconstruction/tauRecTools/Root/TauPi0ClusterScaler.cxx b/Reconstruction/tauRecTools/src/TauPi0ClusterScaler.cxx similarity index 99% rename from Reconstruction/tauRecTools/Root/TauPi0ClusterScaler.cxx rename to Reconstruction/tauRecTools/src/TauPi0ClusterScaler.cxx index 5568f08bc30..2d9a903a0ac 100644 --- a/Reconstruction/tauRecTools/Root/TauPi0ClusterScaler.cxx +++ b/Reconstruction/tauRecTools/src/TauPi0ClusterScaler.cxx @@ -12,7 +12,7 @@ #include <vector> -#include "tauRecTools/TauPi0ClusterScaler.h" +#include "TauPi0ClusterScaler.h" #include "xAODTau/TauJet.h" #include "xAODPFlow/PFO.h" #include "tauRecTools/ITauToolBase.h" diff --git a/Reconstruction/tauRecTools/tauRecTools/TauPi0ClusterScaler.h b/Reconstruction/tauRecTools/src/TauPi0ClusterScaler.h similarity index 100% rename from Reconstruction/tauRecTools/tauRecTools/TauPi0ClusterScaler.h rename to Reconstruction/tauRecTools/src/TauPi0ClusterScaler.h diff --git a/Reconstruction/tauRecTools/src/components/tauRecTools_entries.cxx b/Reconstruction/tauRecTools/src/components/tauRecTools_entries.cxx index 83a774a3405..881c83e2414 100644 --- a/Reconstruction/tauRecTools/src/components/tauRecTools_entries.cxx +++ b/Reconstruction/tauRecTools/src/components/tauRecTools_entries.cxx @@ -8,8 +8,10 @@ #include "../TauShotFinder.h" #include "../TauPi0ClusterCreator.h" #include "../TauPi0CreateROI.h" +#include "../TauPi0ClusterScaler.h" #include "../TauVertexVariables.h" #endif + #include "tauRecTools/TauCalibrateLC.h" #include "tauRecTools/TauCommonCalcVars.h" #include "tauRecTools/TauSubstructureVariables.h" @@ -18,7 +20,6 @@ #include "tauRecTools/TauTrackClassifier.h" #include "tauRecTools/TauTrackRNNClassifier.h" #include "tauRecTools/CombinedP4FromRecoTaus.h" -#include "tauRecTools/TauPi0ClusterScaler.h" #include "tauRecTools/TauPi0ScoreCalculator.h" #include "tauRecTools/TauPi0Selector.h" #include "tauRecTools/TauWPDecorator.h" @@ -37,6 +38,7 @@ DECLARE_COMPONENT( TauElectronVetoVariables ) DECLARE_COMPONENT( TauShotFinder ) DECLARE_COMPONENT( TauPi0ClusterCreator ) DECLARE_COMPONENT( TauPi0CreateROI ) +DECLARE_COMPONENT( TauPi0ClusterScaler ) DECLARE_COMPONENT( TauVertexVariables ) #endif @@ -50,7 +52,6 @@ DECLARE_COMPONENT( tauRecTools::TrackRNN ) DECLARE_COMPONENT( CombinedP4FromRecoTaus ) DECLARE_COMPONENT( TauSubstructureVariables ) DECLARE_COMPONENT( TauCommonCalcVars ) -DECLARE_COMPONENT( TauPi0ClusterScaler ) DECLARE_COMPONENT( TauPi0ScoreCalculator ) DECLARE_COMPONENT( TauPi0Selector ) DECLARE_COMPONENT( TauWPDecorator ) -- GitLab