Skip to content
Snippets Groups Projects
Commit 6f5edf69 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'delete_ExoticPhysTagTools' into 'master'

ExoticPhysTagTools: delete obsolete package

See merge request atlas/athena!38080
parents cb893a07 2d68d12e
No related branches found
No related tags found
No related merge requests found
################################################################################
# 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 )
/*
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
/*
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
*/
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
/*
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;
}
#include "ExoticPhysTagTools/ExoticPhysTagTool.h"
DECLARE_COMPONENT( ExoticPhysTagTool )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment