diff --git a/MicroDST/MicroDSTAlgorithm/CMakeLists.txt b/MicroDST/MicroDSTAlgorithm/CMakeLists.txt
index c7ad1959baa33d3e295854c1406880b6ffee1fdf..9f3a38f8fcba18bda625a5a85bd773bfac9ed510 100644
--- a/MicroDST/MicroDSTAlgorithm/CMakeLists.txt
+++ b/MicroDST/MicroDSTAlgorithm/CMakeLists.txt
@@ -26,7 +26,6 @@ gaudi_add_module(MicroDSTAlgorithm
LHCb::MCEvent
LHCb::PhysEvent
Rec::DaVinciInterfacesLib
- Rec::DaVinciKernelLib
Rec::DaVinciMCKernelLib
Rec::DaVinciTypesLib
)
diff --git a/Phys/DaVinciFilters/CMakeLists.txt b/Phys/DaVinciFilters/CMakeLists.txt
index 0979ea3f09c95deaf4ecb2271ccdc56fdc468749..f19defcb751911ab8020b9f86bc4e3dccb6d0447 100644
--- a/Phys/DaVinciFilters/CMakeLists.txt
+++ b/Phys/DaVinciFilters/CMakeLists.txt
@@ -28,7 +28,6 @@ gaudi_add_module(DaVinciFilters
LHCb::PhysEvent
LHCb::PhysInterfacesLib
Rec::DaVinciInterfacesLib
- Rec::DaVinciKernelLib
Rec::DaVinciTypesLib
Rec::DecayTreeFitterLib
Rec::TrackInterfacesLib
diff --git a/Phys/DaVinciInterfaces/dict/DaVinciInterfacesDict.h b/Phys/DaVinciInterfaces/dict/DaVinciInterfacesDict.h
index 1280af8ee337c6a20d2cfd02e3f6e78399f3ead1..abb9c333e4854b4ece587df65e464d77d3af7d94 100644
--- a/Phys/DaVinciInterfaces/dict/DaVinciInterfacesDict.h
+++ b/Phys/DaVinciInterfaces/dict/DaVinciInterfacesDict.h
@@ -22,7 +22,6 @@
// ============================================================================
// DaVinciKernel
// ============================================================================
-#include "Kernel/ICaloParticleMaker.h"
#include "Kernel/IChangePIDTool.h"
#include "Kernel/ICheckOverlap.h"
#include "Kernel/IDecayFinder.h"
@@ -52,10 +51,8 @@
#include "Kernel/IProtoParticleFilter.h"
#include "Kernel/IRelatedPVFinder.h"
#include "Kernel/ISecondaryVertexTool.h"
-#include "Kernel/ISetInputParticles.h"
#include "Kernel/ITagger.h"
#include "Kernel/ITisTos.h"
-#include "Kernel/ITrackIsolation.h"
#include "Kernel/ITriggerSelectionTisTos.h"
#include "Kernel/ITriggerTisTos.h"
#include "Kernel/IVertexFit.h"
diff --git a/Phys/DaVinciInterfaces/dict/DaVinciInterfacesDict.xml b/Phys/DaVinciInterfaces/dict/DaVinciInterfacesDict.xml
index 864c9d0708e2c0919384898321989be75d8cab2f..189e2dfc972a9c0f5a48515d14bf9c13ebc01762 100644
--- a/Phys/DaVinciInterfaces/dict/DaVinciInterfacesDict.xml
+++ b/Phys/DaVinciInterfaces/dict/DaVinciInterfacesDict.xml
@@ -12,7 +12,6 @@
-
@@ -41,13 +40,11 @@
-
-
diff --git a/Phys/DaVinciInterfaces/include/Kernel/ICaloParticleMaker.h b/Phys/DaVinciInterfaces/include/Kernel/ICaloParticleMaker.h
deleted file mode 100644
index 1c00a0f19acd2701b1e081e4d7901ea2c73444c1..0000000000000000000000000000000000000000
--- a/Phys/DaVinciInterfaces/include/Kernel/ICaloParticleMaker.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-#ifndef DAVINCIKERNEL_ICALOPARTICLEMAKER_H
-#define DAVINCIKERNEL_ICALOPARTICLEMAKER_H 1
-
-// Include files
-// from STL
-#include
-
-// from Gaudi
-#include "Event/Particle.h"
-#include "GaudiKernel/GenericVectorTypes.h"
-#include "GaudiKernel/IAlgTool.h"
-#include "GaudiKernel/SymmetricMatrixTypes.h"
-
-// Forward declarations
-namespace LHCb {
- class Vertex;
-}
-
-/** @class ICaloParticleMaker ICaloParticleMaker.h Kernel/ICaloParticleMaker.h
- * Interface class to make Particles from other classes
- * (e.g. ProtoParticles).
- * This tools is internally used by the PhysDesktop.
- *
- * @author Jose Helder Lopes
- * @date 22/04/2002
- */
-
-struct GAUDI_API ICaloParticleMaker : extend_interfaces {
-
- DeclareInterfaceID( ICaloParticleMaker, 2, 0 );
-
- /// Dispatch the making of particles
- virtual StatusCode makeParticles( LHCb::Particle::Vector& parts ) = 0;
- virtual void setPoint( const Gaudi::XYZPoint cov ) = 0;
- virtual void setPoint( const Gaudi::XYZPoint pos, const Gaudi::SymMatrix3x3 cov ) = 0;
- virtual void setPoint( const LHCb::Vertex* vert ) = 0;
-};
-
-#endif // DAVINCIKERNEL_ICALOPARTICLEMAKER_H
diff --git a/Phys/DaVinciInterfaces/include/Kernel/ISetInputParticles.h b/Phys/DaVinciInterfaces/include/Kernel/ISetInputParticles.h
deleted file mode 100644
index b475d3f400a29b2a9b0af3a3f7bdff033d9b6db4..0000000000000000000000000000000000000000
--- a/Phys/DaVinciInterfaces/include/Kernel/ISetInputParticles.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-#ifndef KERNEL_ISETINPUTPARTICLES_H
-# define KERNEL_ISETINPUTPARTICLES_H 1
-// ============================================================================
-// Include files
-// ============================================================================
-// GaudiKernel
-// ============================================================================
-# include "GaudiKernel/IInterface.h"
-// ============================================================================
-// Event
-// ============================================================================
-# include "Event/Particle.h"
-// ============================================================================
-/** @class ISetInputParticles ISetInputParticles.h Kernel/ISetInputParticles.h
- *
- * A bit technical interface to allow some interactive manipulations
- * with CombineParticlesa algorithm form python.
- *
- * @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl
- * @date 2008-07-11
- */
-struct GAUDI_API ISetInputParticles : extend_interfaces {
- // ==========================================================================
- /// interface machinery
- DeclareInterfaceID( ISetInputParticles, 2, 0 );
- // ==========================================================================
- /** the only one essential method:
- * it sets the input particles
- * @param input the vector of input particles
- * @return status code
- */
- virtual StatusCode setInput( const LHCb::Particle::ConstVector& input ) = 0;
- // ==========================================================================
-};
-// ============================================================================
-// The END
-// ============================================================================
-#endif // KERNEL_ISETINPUTPARTICLES_H
-// ============================================================================
diff --git a/Phys/DaVinciInterfaces/include/Kernel/ITrackIsolation.h b/Phys/DaVinciInterfaces/include/Kernel/ITrackIsolation.h
deleted file mode 100644
index 3db989194ae423052491234ecd798696f8f862b1..0000000000000000000000000000000000000000
--- a/Phys/DaVinciInterfaces/include/Kernel/ITrackIsolation.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-#ifndef KERNEL_ITRACKISOLATION_H
-#define KERNEL_ITRACKISOLATION_H 1
-
-// Include files
-
-// from STL
-#include
-
-// from Gaudi
-#include "GaudiKernel/IAlgTool.h"
-#include
-#include
-#include
-
-/**
- * @class ITrackIsolation ITrackIsolation.h Kernel/ITrackIsolation.h
- *
- * Abstract Interface of the Track Isolation tools
- *
- * @author Simone Bifani simone.bifani@cern.ch
- * @date 2010-03-17
- */
-
-struct GAUDI_API ITrackIsolation : extend_interfaces {
-
- DeclareInterfaceID( ITrackIsolation, 1, 0 );
-
- /**
- * trackConeMultiplicity method for the evaluation of
- * the number of tracks/particles in a given range
- * within a cone of given radius with respect to the
- * seed track/protoparticle/particle
- *
- * The cone radius is defined as the difference in Eta
- * and Phi between the seed track and a track in the
- * range (same definition as in TupleToolTrackIsolation):
- *
- * R = sqrt (delta_Eta^2 + delta_Phi^2)
- *
- * The method returns the track multiplicity
- */
-
- virtual unsigned int trackConeMultiplicity( const LHCb::Track* seedTrack, const LHCb::Track::Range& eventTracks,
- double coneRadius ) const = 0;
-
- virtual unsigned int trackConeMultiplicity( const LHCb::ProtoParticle* seedProtoParticle,
- const LHCb::Track::Range& eventTracks, double coneRadius ) const = 0;
-
- virtual unsigned int trackConeMultiplicity( const LHCb::Particle* seedParticle, const LHCb::Track::Range& eventTracks,
- double coneRadius ) const = 0;
-
- virtual unsigned int trackConeMultiplicity( const LHCb::ProtoParticle* seedProtoParticle,
- const LHCb::Particle::Range& eventParticles,
- double coneRadius ) const = 0;
-
- virtual unsigned int trackConeMultiplicity( const LHCb::Particle* seedParticle,
- const LHCb::Particle::Range& eventParticles,
- double coneRadius ) const = 0;
-};
-
-#endif // KERNEL_ITRACKISOLATION_H
diff --git a/Phys/DaVinciInterfaces/src/DaVinciInterfaces.cpp b/Phys/DaVinciInterfaces/src/DaVinciInterfaces.cpp
index 52b801c0c1ad3d14de4d7b129d6c19c32b7b2abd..5fd355504c40478ab5c828a3c463a3cc6996e794 100644
--- a/Phys/DaVinciInterfaces/src/DaVinciInterfaces.cpp
+++ b/Phys/DaVinciInterfaces/src/DaVinciInterfaces.cpp
@@ -30,8 +30,6 @@
#include "Kernel/IParticleValue.h"
#include "Kernel/IParticleVeto.h"
#include "Kernel/IPrintDecay.h"
-#include "Kernel/ISetInputParticles.h"
-#include "Kernel/ITrackIsolation.h"
#include "Kernel/IVertexFit.h"
// ============================================================================
/** @file
diff --git a/Phys/DaVinciKernel/CMakeLists.txt b/Phys/DaVinciKernel/CMakeLists.txt
index 9ecb9a3a057ccb478e36c6a79076a237c17dc380..d52fb408a67649c7bd20c276300d5804555f9754 100644
--- a/Phys/DaVinciKernel/CMakeLists.txt
+++ b/Phys/DaVinciKernel/CMakeLists.txt
@@ -13,32 +13,6 @@ Phys/DaVinciKernel
------------------
#]=======================================================================]
-gaudi_add_library(DaVinciKernelLib
- SOURCES
- src/Lib/DaVinciFun.cpp
- src/Lib/DaVinciStringUtils.cpp
- src/Lib/Escape.cpp
- src/Lib/GetDecay.cpp
- src/Lib/GetTESLocations.cpp
- src/Lib/PVSentry.cpp
- src/Lib/ParticleFilters.cpp
- src/Lib/TransporterFunctions.cpp
- LINK
- PUBLIC
- Gaudi::GaudiAlgLib
- Gaudi::GaudiKernel
- LHCb::PartPropLib
- LHCb::PhysEvent
- LHCb::PhysInterfacesLib
- LHCb::RecEvent
- Rec::DaVinciInterfacesLib
- Rec::DaVinciTypesLib
- ROOT::GenVector
- PRIVATE
- Boost::headers
- Boost::regex
- LHCb::LHCbMathLib
-)
gaudi_add_module(DaVinciKernel
SOURCES
@@ -56,15 +30,8 @@ gaudi_add_module(DaVinciKernel
LHCb::RecEvent
LHCb::TrackEvent
Rec::DaVinciInterfacesLib
- Rec::DaVinciKernelLib
)
-gaudi_add_dictionary(DaVinciKernelDict
- HEADERFILES dict/DaVinciKernelDict.h
- SELECTION dict/DaVinciKernelDict.xml
- LINK DaVinciKernelLib
- OPTIONS ${PHYS_DICT_GEN_DEFAULT_OPTS}
-)
if(BUILD_TESTING)
foreach(n IN ITEMS 1 2 3)
diff --git a/Phys/DaVinciKernel/dict/DaVinciKernelDict.h b/Phys/DaVinciKernel/dict/DaVinciKernelDict.h
deleted file mode 100644
index d514447f914aa02399f221d8e406de4013e2785d..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/dict/DaVinciKernelDict.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-// ============================================================================
-#ifndef DICT_DAVINCIKERNELDICT_H
-# define DICT_DAVINCIKERNELDICT_H 1
-// ============================================================================
-// Include files
-// ============================================================================
-/** @file DaVinciKernelDict
- *
- *
- * @author Juan PALACIOS
- * @date 2006-10-02
- */
-// ============================================================================
-// DaVinciKernel
-// ============================================================================
-# include "Kernel/GetTESLocations.h"
-# include "Kernel/ParticleFilters.h"
-# include "Kernel/TransporterFunctions.h"
-// ============================================================================
-// The END
-// ============================================================================
-#endif // DICT_DAVINCIKERNELDICT_H
-// ============================================================================
diff --git a/Phys/DaVinciKernel/dict/DaVinciKernelDict.xml b/Phys/DaVinciKernel/dict/DaVinciKernelDict.xml
deleted file mode 100644
index 3edd27aa834f050b709e026fa0ce93e9323baf86..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/dict/DaVinciKernelDict.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Phys/DaVinciKernel/include/Kernel/Arrow.h b/Phys/DaVinciKernel/include/Kernel/Arrow.h
deleted file mode 100644
index b72a2b83c4679140a97af4b7437a3a79048fff53..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/Arrow.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2022 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-
-#ifndef ARROW_H
-#define ARROW_H 1
-
-#include
-#include
-
-namespace Decay {
- enum struct Arrow {
- Unknown = 0,
- Single, /// single arrow "->"
- LongSingle, /// long single arrow "-->"
- Double, /// double arrow "=>"
- LongDouble, /// long double arrow "==>"
- SingleX, /// single arrow "-x>"
- LongSingleX, /// long single arrow "--x>"
- DoubleX, /// double arrow "=x>"
- LongDoubleX /// long double arrow "==x>"
- };
-
- static constexpr auto ValidArrows =
- std::array{ Arrow::Single, Arrow::LongSingle, Arrow::Double, Arrow::LongDouble,
- Arrow::SingleX, Arrow::LongSingleX, Arrow::DoubleX, Arrow::LongDoubleX };
-
- /// string representation of the arrow
- inline std::string toString( Arrow arrow ) {
- switch ( arrow ) {
- case Arrow::Unknown:
- return "Unknown";
- case Arrow::Single:
- return "->";
- case Arrow::LongSingle:
- return "-->";
- case Arrow::Double:
- return "=>";
- case Arrow::LongDouble:
- return "==>";
- case Arrow::SingleX:
- return "-x>";
- case Arrow::LongSingleX:
- return "--x>";
- case Arrow::DoubleX:
- return "=x>";
- case Arrow::LongDoubleX:
- return "==x>";
- default:
- return "None";
- }
- }
-
- /// operator<<
- inline std::ostream& operator<<( std::ostream& os, Arrow arrow ) { return os << toString( arrow ); }
-
-} // namespace Decay
-
-#endif // ARROW_H
diff --git a/Phys/DaVinciKernel/include/Kernel/DaVinciFun.h b/Phys/DaVinciKernel/include/Kernel/DaVinciFun.h
deleted file mode 100644
index 4f3a3ce01dfe290bc9175bcf43982db7768567b5..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/DaVinciFun.h
+++ /dev/null
@@ -1,108 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-// ============================================================================
-#ifndef KERNEL_DAVINCIFUN_H
-# define KERNEL_DAVINCIFUN_H 1
-// ============================================================================
-# include "Event/Particle.h"
-# include "Event/RecVertex.h"
-# include "Event/Vertex.h"
-# include "Kernel/Functions.h"
-# include "Kernel/Particle2Vertex.h"
-# include "Kernel/ParticlePredicates.h"
-# include "Math/Boost.h"
-// ============================================================================
-/** @namespace DaVinci Kernel/DaVinciFun.h
- *
- * Collection of free functions used widely in DVAlgorithm
- *
- * @author Juan PALACIOS
- * @date 2009-02-27
- */
-namespace DaVinci {
- // ==========================================================================
- /**
- * delete contents of container of newed pointers unless they are
- * also in the TES.
- * T must be a const_iterator defined, begin(), end() and clear() methods,
- * and holding pointers.
- *
- * @param container STL container of ContainedObject pointers
- * @return number of elements that are also in the TES.
- *
- * @author Juan Palacios juan.palacios@nikhef.nl
- * @date 10/02/2009
- *
- */
- template
- unsigned int safeContainerClear( T& container ) {
- if ( container.empty() ) return 0;
- int iCount( 0 );
- for ( typename T::const_iterator iObj = container.begin(); iObj != container.end(); ++iObj ) {
- if ( DaVinci::Utils::inTES( *iObj ) ) {
- ++iCount;
- } else {
- delete *iObj;
- }
- }
- container.clear();
- return iCount;
- }
- // ==========================================================================
- /// Return the best VertexBase given a Particle->VertexBase relations range.
- GAUDI_API
- const LHCb::VertexBase* bestVertexBase( const Particle2Vertex::Table::Range& range );
- // ==========================================================================
- /// Return the best RecVertex given a Particle->VertexBase relations range.
- GAUDI_API
- const LHCb::RecVertex* bestRecVertex( const Particle2Vertex::Table::Range& range );
- // ==========================================================================
- namespace Utils {
- // ========================================================================
- /** set the input particles for some component
- * @param component the component inself
- * @param input the intut data
- * @return status code
- *
- * - 300 : invalid component
- * - 301 : no valid ISetInputParticles interface
- *
- * @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl
- * @date 2008-07-11
- */
- GAUDI_API
- StatusCode setInput( IInterface* component, const LHCb::Particle::ConstVector& input );
- // ========================================================================
-
- // ========================================================================
- /// Add Particles and Vertices in the decay of a particle to vectors.
- /// Entries are only added uniquely.
- ///
- /// @param head (INPUT) The head of the decay.
- /// @param particles (UPDATE) Add particles in the decay.
- /// @param vertices (UPDATE) Add Vertices in the decay.
- /// @param truncate Predicate that decides where to stop recursion. If true, do not follow decay branch.
- GAUDI_API
- void findDecayTree( const LHCb::Particle* head, LHCb::Particle::ConstVector& particles,
- LHCb::Vertex::ConstVector& vertices, DaVinci::Utils::IParticlePredicate* truncate = 0 );
-
- // ========================================================================
- GAUDI_API
- bool decayTreeInTES( const LHCb::Particle* head );
- // ========================================================================
- } // namespace Utils
- // ==========================================================================
-} // namespace DaVinci
-// ============================================================================
-#endif // KERNEL_DAVINCIFUN_H
-// ============================================================================
-// The END
-// ============================================================================
diff --git a/Phys/DaVinciKernel/include/Kernel/DaVinciStringUtils.h b/Phys/DaVinciKernel/include/Kernel/DaVinciStringUtils.h
deleted file mode 100644
index b003d0ead9b2d8e78337c0393051166b43e64fcb..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/DaVinciStringUtils.h
+++ /dev/null
@@ -1,103 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-#ifndef KERNEL_DAVINCISTRINGUTILS_H
-#define KERNEL_DAVINCISTRINGUTILS_H 1
-
-// Include files
-
-#include
-#include
-/** @file StringUtils.h
- *
- * Namespace for functions dealing with string manipulations for DaVinci
- * components.
- *
- * @author Juan PALACIOS
- * @date 2006-06-19
- */
-namespace DaVinci {
- namespace StringUtils {
-
- /** Strip particle name down to basic type.
- * Strips off any "+", "-", "~", "anti-" from an std::string.
- *
- * Example: mu+ -> mu, Delta++ -> Delta, anti-nu_tau -> nu_tau
- *
- * @code
- * std::string myParticleName("tau+");
- * DaVinci::StringUtils::stripParticleName(myParticleName);
- * @endcode
- *
- * @param name (input) string to be stripped.
- */
-
- void stripParticleName( std::string& name );
-
- /**
- *
- * Add leading prefix +"/" string to input locations,
- * unless these contain a "/", in which case leave them untouched.
- * Examples:
- *
- * "MyBsSelection" becomes "Phys/MyBsSelection" if prefix = "Phys"
- *
- * "Phys/MyBsSelection" remains unchanged.
- * "Anything/MyBsSelection" remains unchanged.
- * "/MyBsSelection" remains unchanged, but is most likely an error!
- *
- *
- * @author Juan Palacios juan.palacios@nikhef.nl
- * @date 2008-10-31
- *
- */
- void expandLocations( std::vector::iterator begin, std::vector::iterator end,
- const std::string& prefix );
-
- /**
- *
- * Add leading prefix +"/" string to input location,
- * unless these contain a "/", in which case leave them untouched.
- * Examples:
- *
- * "MyBsSelection" becomes "Phys/MyBsSelection" if prefix = "Phys"
- *
- * "Phys/MyBsSelection" remains unchanged.
- * "Anything/MyBsSelection" remains unchanged.
- * "/MyBsSelection" remains unchanged, but is most likely an error!
- *
- *
- * @author Juan Palacios juan.palacios@nikhef.nl
- * @date 2008-10-31
- *
- */
- void expandLocation( std::string& location, const std::string& prefix );
-
- /**
- * @author Juan Palacios juan.palacios@cern.ch
- *
- * Remove end of string starting from substring beginning with ending
- *
- * Examples:
- *
- * @code
- * std::string loc = "Phys/SomeAlgorithm/Particles"
- * removeEnding(loc, "/Part")
- * @endcode
- * transforms "loc" into "Phys/SomeAlgorithm"
- *
- * @date 2010-06-21
- *
- */
- void removeEnding( std::string& location, const std::string& ending );
-
- } // namespace StringUtils
-} // namespace DaVinci
-#endif // KERNEL_DAVINCISTRINGUTILS_H
diff --git a/Phys/DaVinciKernel/include/Kernel/DefaultDVToolTypes.h b/Phys/DaVinciKernel/include/Kernel/DefaultDVToolTypes.h
deleted file mode 100644
index 1ae0e49ab9b6a1b7678b91b92190e6729dd77899..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/DefaultDVToolTypes.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-#ifndef KERNEL_DEFAULTTOOLTYPES_H
-#define KERNEL_DEFAULTTOOLTYPES_H 1
-
-#include
-
-namespace DaVinci {
- namespace DefaultTools {
- static const std::string Distance = "LoKi::DistanceCalculator:PUBLIC";
- static const std::string VertexFitter = "LoKi::VertexFitter:PUBLIC";
- static const std::string ParticleCombiner = "LoKi::VertexFitter:PUBLIC";
- static const std::string PVRelator =
- "GenericParticle2PVRelator<_p2PVWithIPChi2, OfflineDistanceCalculatorName>/P2PVWithIPChi2:PUBLIC";
- static const std::string ParticleReFitter = "LoKi::VertexFitter:PUBLIC";
- } // namespace DefaultTools
-} // namespace DaVinci
-
-#endif // KERNEL_DEFAULTTOOLTYPES_H
diff --git a/Phys/DaVinciKernel/include/Kernel/Escape.h b/Phys/DaVinciKernel/include/Kernel/Escape.h
deleted file mode 100644
index 5d22bc52c28ea1b7083c7ac8d58ab426c7ac6e13..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/Escape.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-// ============================================================================
-#ifndef DAVINCIKERNEL_ESCAPE_H
-# define DAVINCIKERNEL_ESCAPE_H 1
-// ============================================================================
-// Include files
-// ============================================================================
-// STD & STL
-// ============================================================================
-# include
-# include
-// ============================================================================
-namespace Decays {
- // ==========================================================================
- /** Replace all special characters in a particle name
- *
- * @author J. Borel
- * @author P. Koppenburg : Move to DaVinciKernel
- *
- */
- std::string escape( const std::string& input );
- // ==========================================================================
-} // end of namespace Decays
-// ============================================================================
-// The END
-// ============================================================================
-#endif // DAVINCIKERNEL_ESCAPE_H
-// ============================================================================
diff --git a/Phys/DaVinciKernel/include/Kernel/Functions.h b/Phys/DaVinciKernel/include/Kernel/Functions.h
deleted file mode 100644
index d7cab6d32a57d03f9859532747d47e995d0c7c51..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/Functions.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-#ifndef DAVINCIKERNEL_FUNCTIONS_H
-#define DAVINCIKERNEL_FUNCTIONS_H 1
-
-/** @namespace DaVinci::Utils Kernel/Functions.h
- *
- * General helper functions for use in DaVinci.
- * These should only know about Gaudi classes and patterns.
- * No knowledge of DaVinci specific code should be assumed.
- *
- * @author Juan PALACIOS palacios@uzh.uzh.ch
- * @date 2010-09-21
- */
-
-namespace DaVinci {
-
- namespace Utils {
-
- /// Is obj in TES
- template
- inline bool inTES( const T* obj ) {
- return ( 0 != obj && 0 != obj->parent() );
- }
-
- } // namespace Utils
-
-} // namespace DaVinci
-
-#endif // DAVINCIKERNEL_FUNCTIONS_H
diff --git a/Phys/DaVinciKernel/include/Kernel/Functors.h b/Phys/DaVinciKernel/include/Kernel/Functors.h
deleted file mode 100644
index a2030bc8cae4bea678f3f02b418272a815c6717e..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/Functors.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-#ifndef DAVINCIUTILS_FUNCTORS_H
-#define DAVINCIUTILS_FUNCTORS_H 1
-
-#include
-
-/** @class Functors Functors.h Kernel/Functors.h
- *
- * General helper functions for use in DaVinci.
- * These should only know about Gaudi classes and patterns.
- * No knowledge of DaVinci specific code should be assumed.
- *
- *
- * @author Juan Palacios
- * @date 2011-01-10
- */
-
-namespace DaVinci {
- namespace Utils {
- struct InTES {
- inline bool operator()( const ContainedObject* obj ) const { return ( 0 != obj && 0 != obj->parent() ); }
- };
-
- /// Return true for all objects.
- template
- struct TRUE {
- inline bool operator()( const T* ) { return true; }
- };
-
- /// Return false for all objects.
- template
- struct FALSE {
- inline bool operator()( const T* ) { return false; }
- };
- } // namespace Utils
-} // namespace DaVinci
-
-#endif // DAVINCIUTILS_FUNCTORS_H
diff --git a/Phys/DaVinciKernel/include/Kernel/GetParticlesForDecay.h b/Phys/DaVinciKernel/include/Kernel/GetParticlesForDecay.h
deleted file mode 100644
index d347340f9b68668c72b693fe520189b65d1fdd42..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/GetParticlesForDecay.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-// ============================================================================
-#ifndef DAVINCIKERNEL_GETPARTICLESFORDECAY_H
-# define DAVINCIKERNEL_GETPARTICLESFORDECAY_H 1
-// ============================================================================
-// Include files
-// ============================================================================
-// STD & STL
-// ============================================================================
-# include
-# include
-// ============================================================================
-// PartProp
-// ============================================================================
-# include "Kernel/Decay.h"
-// ============================================================================
-namespace DaVinci {
- // ==========================================================================
- namespace Utils {
- // ========================================================================
- /** simple function for filtering (by PID) the particles, which
- * matched the PID
- *
- * @code
- *
- * const LHCb::Particle::ConstVector input = ... ;
- * const Decays::Decay& decay = ... ;
- *
- * LHCb::Particle::ConstVector result ;
- *
- * // use the function:
- *
- * DaVinci::Utils::getParticles
- * ( input . begin () ,
- * input . end () ,
- * decay ( 1 ) , // get the first component
- * std::back_inserter ( result ) ) ;
- *
- * @endcode
- *
- * It is also applicable to Monte-Carlo data:
- *
- * @code
- *
- * const LHCb::MCParticle::ConstVector input = ... ;
- * const Decays::Decay& decay = ... ;
- *
- * LHCb::MCParticle::ConstVector result ;
- *
- * // use the function:
- *
- * DaVinci::Utils::getParticles
- * ( input . begin () ,
- * input . end () ,
- * decay ( 1 ) , // get the first component
- * std::back_inserter ( result ) ) ;
- *
- * @endcode
- *
- * @param begin the begin iterator for the input sequence
- * @param end the end iterator for the input sequence
- * @param item the decay component
- * @param result the output iterator
- * @return the updated output iterator
- *
- * @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl
- * @date 2008-03-31
- */
- template
- inline OUTPUT getParticles( INPUT begin, INPUT end, const Decays::Decay::Item& item, OUTPUT result ) {
- for ( ; begin != end; ++begin ) {
- if ( !( *begin ) ) { continue; } // CONTINUE
- const LHCb::ParticleID& pid = ( *begin )->particleID();
- if ( pid != item.pid() ) { continue; } // CONTINUE
- *result = *begin;
- ++result;
- }
- return result;
- }
- // ========================================================================
- } // namespace Utils
- // ==========================================================================
-} // end of namespace DaVinci
-// ============================================================================
-// The END
-// ============================================================================
-#endif // DAVINCIKERNEL_GETPARTICLESDECAY_H
-// ============================================================================
diff --git a/Phys/DaVinciKernel/include/Kernel/GetTESLocations.h b/Phys/DaVinciKernel/include/Kernel/GetTESLocations.h
deleted file mode 100644
index 2b92d93f476f9b842f4169860955087ac998ab2a..0000000000000000000000000000000000000000
--- a/Phys/DaVinciKernel/include/Kernel/GetTESLocations.h
+++ /dev/null
@@ -1,121 +0,0 @@
-/*****************************************************************************\
-* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration *
-* *
-* This software is distributed under the terms of the GNU General Public *
-* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
-* *
-* In applying this licence, CERN does not waive the privileges and immunities *
-* granted to it by virtue of its status as an Intergovernmental Organization *
-* or submit itself to any jurisdiction. *
-\*****************************************************************************/
-// ============================================================================
-#ifndef KERNEL_GETTESLOCATIONS_H
-# define KERNEL_GETTESLOCATIONS_H 1
-// ============================================================================
-// Include files
-// ============================================================================
-// STD& STL
-// ============================================================================
-# include