CMakeLists.txt 2.12 KB
Newer Older
1
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2
3
4
5
6
7
8
9
10
11
#
# This package is a collection of 'duel-use' tools to calculate
# high-level flavor tagging discriminants. Because it should work both
# inside and outside Athena, nothing here can use the magnetic field,
# atlas geometry, or material maps, but neural networks etc are all
# fine.

# Declare the package name:
atlas_subdir( FlavorTagDiscriminants )

12
13
# External dependencies:
find_package( Boost COMPONENTS filesystem )
14
find_package( lwtnn )
15
find_package( ROOT COMPONENTS Core MathCore )
16
17
18
19

# Build a shared library:
atlas_add_library( FlavorTagDiscriminants
  Root/BTagJetAugmenter.cxx
20
  Root/BTagTrackIpAccessor.cxx
21
22
23
24
25
26
27
28
29
  Root/BTagAugmenterTool.cxx
  Root/BTagMuonAugmenter.cxx
  Root/BTagMuonAugmenterTool.cxx
  Root/DL2.cxx
  Root/DL2HighLevel.cxx
  Root/DL2HighLevelTools.cxx
  Root/DL2Tool.cxx
  Root/customGetter.cxx
  Root/FlipTagEnums.cxx
30
  Root/AssociationEnums.cxx
Nils Erik Krumnack's avatar
Nils Erik Krumnack committed
31
32
  Root/VRJetOverlapDecorator.cxx
  Root/VRJetOverlapDecoratorTool.cxx
Dan Guest's avatar
Dan Guest committed
33
  Root/HbbTag.cxx
Nils Erik Krumnack's avatar
Nils Erik Krumnack committed
34
  Root/HbbTagTool.cxx
35
  Root/HbbTagConfig.cxx
Dan Guest's avatar
Dan Guest committed
36
  Root/HbbGraphConfig.cxx
Dan Guest's avatar
Dan Guest committed
37
  Root/VRJetOverlapDecorator.cxx
38
  PUBLIC_HEADERS FlavorTagDiscriminants
39
40
41
42
43
  PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
  INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${LWTNN_INCLUDE_DIRS}
  PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} PathResolver
  LINK_LIBRARIES ${Boost_LIBRARIES} ${LWTNN_LIBRARIES} AsgTools AthContainers AthLinks JetInterface xAODBTagging xAODEventInfo xAODJet xAODMuon xAODTracking )

44
45
46

if (NOT XAOD_STANDALONE)
  atlas_add_component( FlavorTagDiscriminantsLib
47
    src/BTagDecoratorAlg.cxx
48
    src/JetTagDecoratorAlg.cxx
49
    src/BTagToJetLinkerAlg.cxx
Dan Guest's avatar
Dan Guest committed
50
    src/JetToBTagLinkerAlg.cxx
Dan Guest's avatar
Dan Guest committed
51
    src/BTagTrackLinkCopyAlg.cxx
Dan Guest's avatar
Dan Guest committed
52
    src/BTaggingBuilderAlg.cxx
53
    src/PoorMansIpAugmenterAlg.cxx
54
    src/components/FlavorTagDiscriminants_entries.cxx
55
    LINK_LIBRARIES FlavorTagDiscriminants
56
57
58
59
60
61
62
63
    )
endif()

atlas_add_dictionary( FlavorTagDiscriminantsDict
   FlavorTagDiscriminants/FlavorTagDiscriminantsDict.h
   FlavorTagDiscriminants/selection.xml
   LINK_LIBRARIES FlavorTagDiscriminants )

64
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )