Skip to content
Snippets Groups Projects
Commit b9a45df8 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

SUSYPhysTagTools: delete obsolete physics tag package

parent d179993e
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!38086Delete Physics "tag" packages
################################################################################
# Package: SUSYPhysTagTools
################################################################################
# Declare the package name:
atlas_subdir( SUSYPhysTagTools )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
Database/AthenaPOOL/AthenaPoolUtilities
GaudiKernel
PhysicsAnalysis/EventTag/TagEvent
PRIVATE
Reconstruction/Jet/JetEvent )
# External dependencies:
find_package( CLHEP )
# Component(s) in the package:
atlas_add_library( SUSYPhysTagToolsLib
src/*.cxx
PUBLIC_HEADERS SUSYPhysTagTools
PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
LINK_LIBRARIES AthenaBaseComps AthenaPoolUtilities GaudiKernel TagEvent
PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} JetEvent )
atlas_add_component( SUSYPhysTagTools
src/components/*.cxx
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} AthenaBaseComps AthenaPoolUtilities GaudiKernel TagEvent JetEvent SUSYPhysTagToolsLib )
# Install files from the package:
atlas_install_joboptions( share/*.py )
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef SUSYPHYSTAGTOOL_H
#define SUSYPHYSTAGTOOL_H
/*****************************************************************************
Name : SUSYPhysTagTool.h
Package : offline/PhysicsAnalysis/SUSYPhys/SUSYPhysTagTools
Author : Ketevi A. Assamagan
Created : January 2006
Purpose : build the SUSYPhys Tag object - AnalysisTag.h.
The SUSYPhys 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 SUSYPhysTagTool*/
static const InterfaceID IID_SUSYPhysTagTool("SUSYPhysTagTool", 1, 0);
class SUSYPhysTagTool : public AthAlgTool {
public:
/** Standard Constructor */
SUSYPhysTagTool(const std::string& type, const std::string& name, const IInterface*
parent);
/** AlgTool and IAlgTool interface methods */
static const InterfaceID& interfaceID( ) { return IID_SUSYPhysTagTool; };
/** Overriding initialize, finalize and execute */
virtual StatusCode initialize();
virtual StatusCode attributeSpecification(std::map<std::string, AthenaAttributeType>& attrMap, const int max);
virtual StatusCode execute(TagFragmentCollection& susyTagCol, const int max);
virtual StatusCode finalize();
private:
/** Properties */
std::string m_jetContainerName;
double m_jetPtCut;
};
#endif // BPHYSTAGTOOL_H
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/**
@page SUSYPhysTagTools_page SUSYPhysTagTools
@section SUSYPhysTagTools_introductionSUSYPhysTagTools Introduction
This package contains the alg tools for building the TAG fragment for SUSY Physics Analysis
@section SUSYPhysTagTools_packagecontentSUSYPhysTagTools Package Contents
SUSYPhysTagTools contains the following tools:
- SUSYPhysTagTool ... tool for SUSY Physics Analysis TAG fragment
- for questions and comments: ketevi@bnl.gov
*/
include.block ("SUSYPhysTagTools/SUSYPhysTagTool_jobOptions.py")
########### SUSYPhysics analysis Tag options ################
from SUSYPhysTagTools.SUSYPhysTagToolsConf import \
SUSYPhysTagTool as ConfiguredSUSYPhysTagTool
SUSYPhysTagTool=ConfiguredSUSYPhysTagTool(
JetContainer = "AntiKt4TopoJets",
EtCut = 15.0*GeV)
ToolSvc += SUSYPhysTagTool
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
/*****************************************************************************
Name : SUSYPhysTagTool.cxx
Package : offline/PhysicsAnalysis/SUSYPhys/SUSYPhysTagTools
Author : Ketevi A. Assamagan
Created : January 2006
Purpose : create a SUSYPhysTag - a word to encode SUSYPhys specific information such
as the results of hypotheses
*****************************************************************************/
#include "Gaudi/Property.h"
#include "CLHEP/Units/SystemOfUnits.h"
#include "JetEvent/JetCollection.h"
#include "SUSYPhysTagTools/SUSYPhysTagTool.h"
#include "TagEvent/SUSYPhysAttributeNames.h"
#include "AthenaPoolUtilities/AthenaAttributeSpecification.h"
/** the constructor */
SUSYPhysTagTool::SUSYPhysTagTool (const std::string& type, const
std::string& name, const IInterface* parent) :
AthAlgTool( type, name, parent ) {
/** AOD Container Names */
declareProperty("JetContainer", m_jetContainerName = "AntiKt4TopoJets");
/** Pt cut on jte - modifiable in job options */
declareProperty("EtCut", m_jetPtCut = 15.0*CLHEP::GeV);
declareInterface<SUSYPhysTagTool>( this );
}
/** initialization - called once at the begginning */
StatusCode SUSYPhysTagTool::initialize() {
ATH_MSG_DEBUG( "in intialize()" );
return StatusCode::SUCCESS;
}
/** build the attribute list - called in initialize */
StatusCode SUSYPhysTagTool::attributeSpecification(std::map<std::string,AthenaAttributeType>& attrMap,
const int max) {
ATH_MSG_DEBUG( "in attributeSpecification()" );
/** specifiy the SUSYPhys the attributes */
attrMap[ SusyAttributeNames[0] ] = AthenaAttributeType("unsigned int", SusyAttributeUnitNames[0] , SusyAttributeGroupNames[0]);
/** add more stuff if necessary */
for (int i=0; i<max; ++i) {}
return StatusCode::SUCCESS;
}
/** execute - called on every event */
StatusCode SUSYPhysTagTool::execute(TagFragmentCollection& susyTagCol, const int max) {
ATH_MSG_DEBUG( "in execute()" );
/** fill the SUSYPhys analysis tag */
unsigned int fragment = 0x0;
susyTagCol.insert( SusyAttributeNames[0], fragment );
/** add more stuff if necessary */
for (int i=0; i<max; ++i) {}
return StatusCode::SUCCESS;
}
/** finialize - called once at the end */
StatusCode SUSYPhysTagTool::finalize() {
ATH_MSG_DEBUG( "in finalize()" );
return StatusCode::SUCCESS;
}
#include "SUSYPhysTagTools/SUSYPhysTagTool.h"
DECLARE_COMPONENT( SUSYPhysTagTool )
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