From c80db8edacf7cf57f071c0031bcdf9cf37488cfe Mon Sep 17 00:00:00 2001 From: Atlas-Software Librarian <Atlas-Software.Librarian@cern.ch> Date: Fri, 8 Apr 2016 15:56:19 +0200 Subject: [PATCH] 'CMakeLists.txt' (UserAnalysis-00-15-15) * Tagging UserAnalysis-00-15-15. * Fix clang warnings: remove unused members/variables. * CLHEP2 fixes --- .../UserAnalysis/CMakeLists.txt | 54 +++++++++++++++++++ .../UserAnalysis/AnalysisSkeleton.h | 6 +-- .../UserAnalysis/src/AnalysisSkeleton.cxx | 4 +- 3 files changed, 59 insertions(+), 5 deletions(-) create mode 100644 PhysicsAnalysis/AnalysisCommon/UserAnalysis/CMakeLists.txt diff --git a/PhysicsAnalysis/AnalysisCommon/UserAnalysis/CMakeLists.txt b/PhysicsAnalysis/AnalysisCommon/UserAnalysis/CMakeLists.txt new file mode 100644 index 00000000000..a2825f52812 --- /dev/null +++ b/PhysicsAnalysis/AnalysisCommon/UserAnalysis/CMakeLists.txt @@ -0,0 +1,54 @@ +################################################################################ +# Package: UserAnalysis +################################################################################ + +# Declare the package name: +atlas_subdir( UserAnalysis ) + +# Declare the package's dependencies: +atlas_depends_on_subdirs( PUBLIC + Control/AthenaBaseComps + Control/StoreGate + GaudiKernel + PhysicsAnalysis/AnalysisCommon/AnalysisTools + PhysicsAnalysis/AnalysisCommon/UserAnalysisUtils + Trigger/TrigAnalysis/TrigDecisionTool + Trigger/TrigEvent/TrigCaloEvent + Trigger/TrigEvent/TrigInDetEvent + Trigger/TrigEvent/TrigMuonEvent + Trigger/TrigEvent/TrigParticle + PRIVATE + Calorimeter/CaloEvent + Event/NavFourMom + Event/xAOD/xAODEventInfo + PhysicsAnalysis/AnalysisTrigger/AnalysisTriggerEvent + PhysicsAnalysis/JetTagging/JetTagInfo + PhysicsAnalysis/TruthParticleID/McParticleEvent + Reconstruction/Jet/JetEvent + Reconstruction/MissingETEvent + Reconstruction/MuonIdentification/muonEvent + Reconstruction/Particle + Reconstruction/egamma/egammaEvent + Reconstruction/tauEvent + Tracking/TrkEvent/VxVertex + Trigger/TrigEvent/TrigSteeringEvent ) + +# External dependencies: +find_package( CLHEP ) +find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread Table MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) + +# tag ROOTBasicLibs was not recognized in automatic conversion in cmt2cmake + +# tag ROOTSTLDictLibs was not recognized in automatic conversion in cmt2cmake + +# Component(s) in the package: +atlas_add_component( UserAnalysis + src/*.cxx + src/components/*.cxx + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AthenaBaseComps StoreGateLib SGtests GaudiKernel AthAnalysisToolsLib UserAnalysisUtilsLib TrigDecisionToolLib TrigCaloEvent TrigInDetEvent TrigMuonEvent TrigParticle CaloEvent NavFourMom xAODEventInfo AnalysisTriggerEvent JetTagInfo McParticleEvent JetEvent MissingETEvent muonEvent Particle egammaEvent tauEvent VxVertex TrigSteeringEvent ) + +# Install files from the package: +atlas_install_headers( UserAnalysis ) +atlas_install_joboptions( share/*.py ) + diff --git a/PhysicsAnalysis/AnalysisCommon/UserAnalysis/UserAnalysis/AnalysisSkeleton.h b/PhysicsAnalysis/AnalysisCommon/UserAnalysis/UserAnalysis/AnalysisSkeleton.h index 9d88bc75402..c5c15c00c42 100755 --- a/PhysicsAnalysis/AnalysisCommon/UserAnalysis/UserAnalysis/AnalysisSkeleton.h +++ b/PhysicsAnalysis/AnalysisCommon/UserAnalysis/UserAnalysis/AnalysisSkeleton.h @@ -125,7 +125,7 @@ class AnalysisSkeleton : public AthAlgorithm { ITHistSvc * m_thistSvc; /** a handle on Store Gate for access to the Event Store */ - StoreGateSvc* m_storeGate; + //StoreGateSvc* m_storeGate; /** the key of the Electron Container to retrieve from the AOD */ std::string m_electronContainerName; @@ -228,7 +228,7 @@ class AnalysisSkeleton : public AthAlgorithm { std::vector<double>* m_aan_FinalElEta; std::vector<double>* m_aan_FinalElPt; std::vector<double>* m_aan_FinalElEtCone20; - std::vector<double>* m_aan_FinalElPtrat; + //std::vector<double>* m_aan_FinalElPtrat; std::vector<double>* m_aan_FinalMuEta; std::vector<double>* m_aan_FinalMuPt; @@ -275,7 +275,7 @@ class AnalysisSkeleton : public AthAlgorithm { unsigned int m_lumiBlock; unsigned int m_bCID; double m_eventWeight; - unsigned int m_statusElement; + //unsigned int m_statusElement; /* unsigned int m_lVL1ID; unsigned int m_lvl1TriggerType; diff --git a/PhysicsAnalysis/AnalysisCommon/UserAnalysis/src/AnalysisSkeleton.cxx b/PhysicsAnalysis/AnalysisCommon/UserAnalysis/src/AnalysisSkeleton.cxx index 48735d43225..61181329a09 100755 --- a/PhysicsAnalysis/AnalysisCommon/UserAnalysis/src/AnalysisSkeleton.cxx +++ b/PhysicsAnalysis/AnalysisCommon/UserAnalysis/src/AnalysisSkeleton.cxx @@ -86,8 +86,8 @@ #include <functional> #include <iostream> -static const double mZ = 91.19*CLHEP::GeV; -static const int MAX_PARTICLES = 20; +//static const double mZ = 91.19*CLHEP::GeV; +//static const int MAX_PARTICLES = 20; using namespace Analysis; using namespace Rec; -- GitLab