From 2d68d12e97330d958310d7eb89766e98fbbd6dc3 Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Tue, 10 Nov 2020 11:44:44 +0100 Subject: [PATCH] ExoticPhysTagTools: delete obsolete package --- .../ExoticPhysTagTools/CMakeLists.txt | 34 -------- .../ExoticPhysTagTools/ExoticPhysTagTool.h | 54 ------------- .../ExoticPhysTagTools/doc/packagedoc.h | 20 ----- .../share/ExoticPhysTagTool_jobOptions.py | 15 ---- .../src/ExoticPhysTagTool.cxx | 80 ------------------- .../components/ExoticPhysTagTools_entries.cxx | 6 -- 6 files changed, 209 deletions(-) delete mode 100644 PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/CMakeLists.txt delete mode 100755 PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/ExoticPhysTagTools/ExoticPhysTagTool.h delete mode 100644 PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/doc/packagedoc.h delete mode 100755 PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/share/ExoticPhysTagTool_jobOptions.py delete mode 100755 PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/src/ExoticPhysTagTool.cxx delete mode 100644 PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/src/components/ExoticPhysTagTools_entries.cxx diff --git a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/CMakeLists.txt b/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/CMakeLists.txt deleted file mode 100644 index e59b4d473e3..00000000000 --- a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# Package: ExoticPhysTagTools -################################################################################ - -# Declare the package name: -atlas_subdir( ExoticPhysTagTools ) - -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - Control/AthenaBaseComps - Database/AthenaPOOL/AthenaPoolUtilities - GaudiKernel - PhysicsAnalysis/EventTag/TagEvent ) - -# External dependencies: -find_package( CLHEP ) - -# Component(s) in the package: -atlas_add_library( ExoticPhysTagToolsLib - src/*.cxx - PUBLIC_HEADERS ExoticPhysTagTools - PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} - PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} - LINK_LIBRARIES AthenaBaseComps AthenaPoolUtilities GaudiKernel TagEvent - PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} ) - -atlas_add_component( ExoticPhysTagTools - src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} AthenaBaseComps AthenaPoolUtilities GaudiKernel TagEvent ExoticPhysTagToolsLib ) - -# Install files from the package: -atlas_install_joboptions( share/*.py ) - diff --git a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/ExoticPhysTagTools/ExoticPhysTagTool.h b/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/ExoticPhysTagTools/ExoticPhysTagTool.h deleted file mode 100755 index 220131b2099..00000000000 --- a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/ExoticPhysTagTools/ExoticPhysTagTool.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration -*/ - -#ifndef EXOTICPHYSTAGTOOL_H -#define EXOTICPHYSTAGTOOL_H - -/***************************************************************************** -Name : ExoticPhysTagTool.h -Package : offline/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools -Author : Ketevi A. Assamagan -Created : January 2006 -Purpose : build the ExoticPhys Tag object - AnalysisTag.h. - The ExoticPhys Analysis Tag fragment is built here - For example encoding the results of hypotheses on different channels -*****************************************************************************/ - -#include "AthenaBaseComps/AthAlgTool.h" -#include "TagEvent/TagFragmentCollection.h" -#include "AthenaPoolUtilities/AthenaAttributeSpecification.h" - -#include <map> - -/** Interface ID for ExoticPhysTagTool*/ -static const InterfaceID IID_ExoticPhysTagTool("ExoticPhysTagTool", 1, 0); - -class ExoticPhysTagTool : public AthAlgTool { - -public: - - /** Standard Constructor */ - ExoticPhysTagTool(const std::string& type, const std::string& name, const IInterface* -parent); - - /** AlgTool and IAlgTool interface methods */ - static const InterfaceID& interfaceID( ) { return IID_ExoticPhysTagTool; }; - - /** Overriding initialize, finalize and execute */ - virtual StatusCode initialize(); - virtual StatusCode attributeSpecification(std::map<std::string,AthenaAttributeType>& attrMap, const int max); - virtual StatusCode execute(TagFragmentCollection& exoticTagCol, const int max); - virtual StatusCode finalize(); - -private: - - /** Properties */ - std::string m_jetContainerName; - double m_jetPtCut; - }; - -#endif // EXOTICPHYSTAGTOOL_H - - - diff --git a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/doc/packagedoc.h b/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/doc/packagedoc.h deleted file mode 100644 index b2e9914d515..00000000000 --- a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/doc/packagedoc.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration -*/ - -/** -@page ExoticPhysTagTools_page ExoticPhysTagTools - -@section ExoticPhysTagTools_introductionExoticPhysTagTools Introduction -This package contains the alg tools for building the TAG fragment for Exotic Physics Analysis - -@section ExoticPhysTagTools_packagecontentExoticPhysTagTools Package Contents -ExoticPhysTagTools contains the following tools: - -- ExoticPhysTagTool ... tool for Exotic-Physics Analysis TAG fragment - -- for questions and comments: ketevi@bnl.gov - - - -*/ diff --git a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/share/ExoticPhysTagTool_jobOptions.py b/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/share/ExoticPhysTagTool_jobOptions.py deleted file mode 100755 index ccab293724e..00000000000 --- a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/share/ExoticPhysTagTool_jobOptions.py +++ /dev/null @@ -1,15 +0,0 @@ -include.block ("ExoticPhysTagTools/ExoticPhysTagTool_jobOptions.py") - -from EventTagAlgs.EventTagGlobal import EventTagGlobal - -if not EventTagGlobal.InitEventTagBuilder: - raise RunTimeError('EventTagBuilder has not been initialized') - -########### ExoticPhysics analysis tag options ################ - -from ExoticPhysTagTools.ExoticPhysTagToolsConf import \ -ExoticPhysTagTool as ConfiguredExoticPhysTagTool -ExoticPhysTagTool=ConfiguredExoticPhysTagTool( - JetContainer = "AntiKt4TopoJets", - EtCut = 15.0*GeV) -ToolSvc += ExoticPhysTagTool diff --git a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/src/ExoticPhysTagTool.cxx b/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/src/ExoticPhysTagTool.cxx deleted file mode 100755 index 4d439949723..00000000000 --- a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/src/ExoticPhysTagTool.cxx +++ /dev/null @@ -1,80 +0,0 @@ -/* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration -*/ - -/***************************************************************************** -Name : ExoticPhysTagTool.cxx -Package : offline/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools -Author : Ketevi A. Assamagan -Created : January 2006 -Purpose : create a ExoticPhysTag - a word to encode ExoticPhys specific information such - as the results of hypotheses - -*****************************************************************************/ - -#include "Gaudi/Property.h" -#include "CLHEP/Units/SystemOfUnits.h" - -#include "ExoticPhysTagTools/ExoticPhysTagTool.h" -#include "TagEvent/ExoticPhysAttributeNames.h" -#include "AthenaPoolUtilities/AthenaAttributeSpecification.h" - -/** the constructor */ -ExoticPhysTagTool::ExoticPhysTagTool (const std::string& type, const -std::string& name, const IInterface* parent) : - AthAlgTool( type, name, parent ) { - - /** Container Names */ - declareProperty("JetContainer", m_jetContainerName = "AntiKt4TopoJets"); - - /** Pt cut on jte - modifiable in job options */ - declareProperty("EtCut", m_jetPtCut = 15.0*CLHEP::GeV); - - declareInterface<ExoticPhysTagTool>( this ); -} - -/** initialization - called once at the begginning */ -StatusCode ExoticPhysTagTool::initialize() { - ATH_MSG_DEBUG( "in intialize()" ); - return StatusCode::SUCCESS; -} - -/** build the attribute list - called in initialize */ -StatusCode ExoticPhysTagTool::attributeSpecification(std::map<std::string,AthenaAttributeType>& attrMap, - const int max) { - - ATH_MSG_DEBUG( "in attributeSpecification()" ); - - /** specifiy the ExoticPhys the attributes */ - - attrMap[ ExoticAttributeNames[0] ] = AthenaAttributeType("unsigned int", ExoticAttributeUnitNames[0], ExoticAttributeGroupNames[0]); - - /** add more stuff if necessary */ - for (int i=0; i<max; ++i) {} - - return StatusCode::SUCCESS; -} - -/** execute - called on every event */ -StatusCode ExoticPhysTagTool::execute(TagFragmentCollection& exoticTagCol, const int max) { - - ATH_MSG_DEBUG( "in execute()" ); - - /** fill the ExoticPhys analysis tag */ - - unsigned int fragment = 0x0; - exoticTagCol.insert( ExoticAttributeNames[0], fragment ); - - /** add more stuff if necessary */ - for (int i=0; i<max; ++i) {} - - return StatusCode::SUCCESS; -} - -/** finalize - called once at the end */ -StatusCode ExoticPhysTagTool::finalize() { - ATH_MSG_DEBUG( "in finalize()" ); - return StatusCode::SUCCESS; -} - - diff --git a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/src/components/ExoticPhysTagTools_entries.cxx b/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/src/components/ExoticPhysTagTools_entries.cxx deleted file mode 100644 index d7f4dd5b6f1..00000000000 --- a/PhysicsAnalysis/ExoticPhys/ExoticPhysTagTools/src/components/ExoticPhysTagTools_entries.cxx +++ /dev/null @@ -1,6 +0,0 @@ -#include "ExoticPhysTagTools/ExoticPhysTagTool.h" - - -DECLARE_COMPONENT( ExoticPhysTagTool ) - - -- GitLab