Skip to content
Snippets Groups Projects
Commit 2919543b authored by Atlas-Software Librarian's avatar Atlas-Software Librarian Committed by Graeme Stewart
Browse files

'CMakeLists.txt' (TopPhysValMonitoring-00-00-05)

	* Addressing covertiy #16931
	* i.e. initialising pointers to nullptr
	* TopPhysValMonitoring-00-00-05

2014-11-11  David Quarrie <David.Quarrie@cern.ch>
	* src/TopPhysValMonitoring_entries.cxx
		Replace #include "../TopPhysValMonitoring/TopPhysValMonitoring.h"
		by      #include "TopPhysValMonitoring/TopPhysValMonitoring.h"
	* Tagged as TopPhysValMonitoring-00-00-04

28.05.2014 Markus Cristinziani <cristinz@uni-bonn.de>
* Removed spurious ETmiss directory
parent e6cf02a1
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: TopPhysValMonitoring
################################################################################
# Declare the package name:
atlas_subdir( TopPhysValMonitoring )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaMonitoring
Event/xAOD/xAODCaloEvent
Event/xAOD/xAODEgamma
Event/xAOD/xAODJet
Event/xAOD/xAODMissingET
Event/xAOD/xAODMuon
Event/xAOD/xAODTau
GaudiKernel
PRIVATE
Control/AthenaBaseComps )
# External dependencies:
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
# Component(s) in the package:
atlas_add_component( TopPhysValMonitoring
src/*.cxx
src/components/*.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaMonitoringLib xAODCaloEvent xAODEgamma xAODJet xAODMissingET xAODMuon xAODTau GaudiKernel AthenaBaseComps )
# Install files from the package:
atlas_install_headers( TopPhysValMonitoring )
......@@ -108,8 +108,7 @@ namespace TopPhysVal {
TH1D* h_tauPt;
TH1D* h_tauEta;
TH1D* h_metEt;
TH1D* h_NJets;
TH1D* h_NJets;
};
......
......@@ -31,7 +31,20 @@ namespace TopPhysVal {
TopPhysValMonitoring::TopPhysValMonitoring( const std::string& type,
const std::string& name,
const IInterface* parent ) :
ManagedMonitorToolBase( type, name, parent ) {
ManagedMonitorToolBase( type, name, parent ),
m_jets(nullptr),
m_elecs(nullptr),
m_photons(nullptr),
m_muons(nullptr),
m_taus(nullptr),
h_jetPt(nullptr),
h_elecPt(nullptr),
h_photonPt(nullptr),
h_muonPt(nullptr),
h_tauPt(nullptr),
h_tauEta(nullptr),
h_metEt(nullptr),
h_NJets(nullptr) {
declareProperty( "JetContainerName", m_c_jetName = "AntiKt4LCTopoJets" );
declareProperty( "ElectronContainerName", m_c_elecName = "ElectronCollection" );
......
......@@ -2,7 +2,7 @@
#include "GaudiKernel/DeclareFactoryEntries.h"
// Local include(s):
#include "../TopPhysValMonitoring/TopPhysValMonitoring.h"
#include "TopPhysValMonitoring/TopPhysValMonitoring.h"
DECLARE_NAMESPACE_TOOL_FACTORY( TopPhysVal, TopPhysValMonitoring )
......
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