Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Commits
ea1a4bdc
Commit
ea1a4bdc
authored
7 years ago
by
Sanya Solodkov
Browse files
Options
Downloads
Patches
Plain Diff
fixing trip reader
parent
b29b94db
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
PhysicsAnalysis/TileID/TileTripReader/CMakeLists.txt
+20
-6
20 additions, 6 deletions
PhysicsAnalysis/TileID/TileTripReader/CMakeLists.txt
PhysicsAnalysis/TileID/TileTripReader/Root/TTileTripReader.cxx
+4
-1
4 additions, 1 deletion
...csAnalysis/TileID/TileTripReader/Root/TTileTripReader.cxx
with
24 additions
and
7 deletions
PhysicsAnalysis/TileID/TileTripReader/CMakeLists.txt
+
20
−
6
View file @
ea1a4bdc
...
...
@@ -5,33 +5,47 @@
# Declare the package name:
atlas_subdir
(
TileTripReader
)
# Extra dependencies, based on the environment:
set
(
extra_deps
)
if
(
XAOD_STANDALONE
)
set
(
extra_deps Control/xAODRootAccess
)
else
()
set
(
extra_deps Event/EventKernel Control/AthenaKernel Control/AthenaBaseComps GaudiKernel
)
endif
()
# Declare the package's dependencies:
atlas_depends_on_subdirs
(
PUBLIC
Control/AthenaBaseComps
PhysicsAnalysis/AnalysisCommon/PATCore
PRIVATE
Control/AthenaKernel
Event/EventKernel
Event/xAOD/xAODEventInfo
GaudiKernel
Tools/PathResolver
)
# External dependencies:
find_package
(
ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 PyROOT
)
# Component(s) in the package:
atlas_add_library
(
TileTripReaderLib
if
(
XAOD_STANDALONE
)
atlas_add_library
(
TileTripReaderLib
Root/*.cxx
PUBLIC_HEADERS TileTripReader
PRIVATE_INCLUDE_DIRS
${
ROOT_INCLUDE_DIRS
}
LINK_LIBRARIES PATCoreLib
PRIVATE_LINK_LIBRARIES
${
ROOT_LIBRARIES
}
xAODEventInfo PathResolver
)
else
()
atlas_add_library
(
TileTripReaderLib
Root/*.cxx
PUBLIC_HEADERS TileTripReader
PRIVATE_INCLUDE_DIRS
${
ROOT_INCLUDE_DIRS
}
LINK_LIBRARIES AthenaBaseComps PATCoreLib
PRIVATE_LINK_LIBRARIES
${
ROOT_LIBRARIES
}
AthenaKernel EventKernel xAODEventInfo GaudiKernel PathResolver
)
atlas_add_component
(
TileTripReader
atlas_add_component
(
TileTripReader
src/*.cxx
src/components/*.cxx
INCLUDE_DIRS
${
ROOT_INCLUDE_DIRS
}
LINK_LIBRARIES
${
ROOT_LIBRARIES
}
AthenaBaseComps PATCoreLib AthenaKernel EventKernel xAODEventInfo GaudiKernel PathResolver TileTripReaderLib
)
endif
()
# Install files from the package:
atlas_install_joboptions
(
share/*.py
)
...
...
This diff is collapsed.
Click to expand it.
PhysicsAnalysis/TileID/TileTripReader/Root/TTileTripReader.cxx
+
4
−
1
View file @
ea1a4bdc
...
...
@@ -25,9 +25,12 @@ const double width=2.*pi/64.;
namespace
Root
{
TTileTripReader
::
TTileTripReader
(
const
char
*
name
)
TTileTripReader
::
TTileTripReader
(
const
char
*
#ifndef ROOTCORE
name
)
:
TSelectorToolBase
(
name
),
TCalculatorToolBase
(
name
)
#else
)
#endif
/*ROOTCORE*/
{
m_trips
=
new
TChain
(
"TripList"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment