Skip to content
Snippets Groups Projects
Commit 0d74aba5 authored by scott snyder's avatar scott snyder
Browse files

CPAnalysisExamples: Fix compilation warnings.

compilation warnings: unused variables; goodruns header moved to a
different package.


Former-commit-id: f965a613
parent db6a44ec
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,6 @@ endif() ...@@ -20,7 +20,6 @@ endif()
atlas_depends_on_subdirs( atlas_depends_on_subdirs(
PUBLIC PUBLIC
Control/AthToolSupport/AsgTools Control/AthToolSupport/AsgTools
DataQuality/GoodRunsLists
Event/xAOD/xAODMuon Event/xAOD/xAODMuon
Event/xAOD/xAODJet Event/xAOD/xAODJet
Event/xAOD/xAODBTagging Event/xAOD/xAODBTagging
...@@ -37,6 +36,7 @@ atlas_depends_on_subdirs( ...@@ -37,6 +36,7 @@ atlas_depends_on_subdirs(
PhysicsAnalysis/AnalysisCommon/PATCore PhysicsAnalysis/AnalysisCommon/PATCore
PhysicsAnalysis/AnalysisCommon/PATInterfaces PhysicsAnalysis/AnalysisCommon/PATInterfaces
PhysicsAnalysis/AnalysisCommon/PileupReweighting PhysicsAnalysis/AnalysisCommon/PileupReweighting
PhysicsAnalysis/Interfaces/AsgAnalysisInterfaces
PhysicsAnalysis/ElectronPhotonID/ElectronEfficiencyCorrection PhysicsAnalysis/ElectronPhotonID/ElectronEfficiencyCorrection
PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection
PhysicsAnalysis/ElectronPhotonID/IsolationCorrections PhysicsAnalysis/ElectronPhotonID/IsolationCorrections
...@@ -74,7 +74,7 @@ atlas_add_library( CPAnalysisExamplesLib ...@@ -74,7 +74,7 @@ atlas_add_library( CPAnalysisExamplesLib
CPAnalysisExamples/*.h Root/*.cxx ${CPAnalysisExamplesLibCintSource} CPAnalysisExamples/*.h Root/*.cxx ${CPAnalysisExamplesLibCintSource}
PUBLIC_HEADERS CPAnalysisExamples PUBLIC_HEADERS CPAnalysisExamples
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} AsgTools GoodRunsListsLib LINK_LIBRARIES ${Boost_LIBRARIES} ${ROOT_LIBRARIES} AsgTools
xAODMuon xAODJet xAODBTagging xAODCore xAODEgamma xAODMissingET xAODMuon xAODJet xAODBTagging xAODCore xAODEgamma xAODMissingET
xAODPrimitives xAODTau xAODTracking xAODTruth xAODEventInfo xAODPrimitives xAODTau xAODTracking xAODTruth xAODEventInfo
AssociationUtilsLib IsolationSelectionLib PATCoreLib PATInterfaces AssociationUtilsLib IsolationSelectionLib PATCoreLib PATInterfaces
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "AthAnalysisBaseComps/AthAnalysisAlgorithm.h" #include "AthAnalysisBaseComps/AthAnalysisAlgorithm.h"
///General ///General
#include "GoodRunsLists/IGoodRunsListSelectionTool.h" #include "AsgAnalysisInterfaces/IGoodRunsListSelectionTool.h"
#include "PileupReweighting/PileupReweightingTool.h" #include "PileupReweighting/PileupReweightingTool.h"
#include "TrigDecisionTool/TrigDecisionTool.h" #include "TrigDecisionTool/TrigDecisionTool.h"
#include "TriggerMatchingTool/IMatchingTool.h" #include "TriggerMatchingTool/IMatchingTool.h"
......
...@@ -43,11 +43,11 @@ use JetSelectorTools JetSelectorTools-* PhysicsAnalysis/JetMissingEtID ...@@ -43,11 +43,11 @@ use JetSelectorTools JetSelectorTools-* PhysicsAnalysis/JetMissingEtID
use xAODBTaggingEfficiency xAODBTaggingEfficiency-* PhysicsAnalysis/JetTagging/JetTagPerformanceCalibration use xAODBTaggingEfficiency xAODBTaggingEfficiency-* PhysicsAnalysis/JetTagging/JetTagPerformanceCalibration
#General CP Tools #General CP Tools
use GoodRunsLists GoodRunsLists-* DataQuality
use PileupReweighting PileupReweighting-* PhysicsAnalysis/AnalysisCommon use PileupReweighting PileupReweighting-* PhysicsAnalysis/AnalysisCommon
use TrigDecisionTool TrigDecisionTool-* Trigger/TrigAnalysis use TrigDecisionTool TrigDecisionTool-* Trigger/TrigAnalysis
use TriggerMatchingTool TriggerMatchingTool-* Trigger/TrigAnalysis use TriggerMatchingTool TriggerMatchingTool-* Trigger/TrigAnalysis
use AssociationUtils AssociationUtils-* PhysicsAnalysis/AnalysisCommon use AssociationUtils AssociationUtils-* PhysicsAnalysis/AnalysisCommon
use AsgAnalysisInterfaces AsgAnalysisInterfaces-* PhysicsAnalysis/Interfaces
#Electrons #Electrons
use ElectronPhotonFourMomentumCorrection ElectronPhotonFourMomentumCorrection-* PhysicsAnalysis/ElectronPhotonID use ElectronPhotonFourMomentumCorrection ElectronPhotonFourMomentumCorrection-* PhysicsAnalysis/ElectronPhotonID
......
...@@ -83,15 +83,15 @@ StatusCode ToolExamplesAlg::execute() { ...@@ -83,15 +83,15 @@ StatusCode ToolExamplesAlg::execute() {
const xAOD::JetContainer* jets = 0; CHECK( evtStore()->retrieve( jets, "AntiKt4EMTopoJets" ) ); const xAOD::JetContainer* jets = 0; CHECK( evtStore()->retrieve( jets, "AntiKt4EMTopoJets" ) );
//GRL Example //GRL Example
bool passGRL = m_grl->passRunLB(*ei); //bool passGRL = m_grl->passRunLB(*ei);
//PRW Example //PRW Example
CHECK( m_prw->apply(*ei) ); CHECK( m_prw->apply(*ei) );
float pileupWeight = ei->auxdecor<float>("PileupWeight"); //float pileupWeight = ei->auxdecor<float>("PileupWeight");
uint randomRunNumber = ei->auxdecor<uint>("RandomRunNumber"); //uint randomRunNumber = ei->auxdecor<uint>("RandomRunNumber");
//Trigger Decision Example //Trigger Decision Example
bool passTrigger = m_tdt->isPassed("HLT_e24_lhmedium_L1EM20VH"); //bool passTrigger = m_tdt->isPassed("HLT_e24_lhmedium_L1EM20VH");
//Electron Calibration, Iso Calibration, LH Selection, Iso Selection, Scale Factor Example //Electron Calibration, Iso Calibration, LH Selection, Iso Selection, Scale Factor Example
......
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