ATLAS Offline Software
InDetVertexMonitoring.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef InDetVertexMonitoring_H
6 #define InDetVertexMonitoring_H
7 
8 #include <string>
9 #include <map>
10 
12 #include "GaudiKernel/StatusCode.h"
14 
17 
18 #include "LWHists/TH1F_LW.h"
19 #include "LWHists/TH2F_LW.h"
20 
21 class TH1F_LW;
22 class TF2F_LW;
23 
25 
26  public:
27  InDetVertexMonitoring( const std::string & type, const std::string & name, const IInterface* parent );
29 
30  virtual StatusCode initialize();
31  virtual StatusCode bookHistograms();
32  virtual StatusCode fillHistograms();
33 
34  protected:
35 
45 
46  private:
47 
48  Gaudi::Property<bool> m_doControlPlots { this, "DoControlPlots", false, "Enable control plots" };
49 
50  Gaudi::Property<std::string> m_histFolder
51  { this, "histFolder", "InDetGlobal/PrimaryVertexMultiplicity", "ROOT histogram path" };
52 
53  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo { this, "EvtInfo", "EventInfo", "EventInfo name" };
54 
56  { this, "VertexContainer", "PrimaryVertices", "Vertex container key" };
57 
58 };
59 
60 #endif // InDetVertexMonitoring_H
61 
InDetVertexMonitoring::~InDetVertexMonitoring
~InDetVertexMonitoring()
Definition: InDetVertexMonitoring.cxx:43
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
InDetVertexMonitoring::m_h_deltaZpairs
TH2F_LW * m_h_deltaZpairs
Definition: InDetVertexMonitoring.h:44
TH1F_LW.h
TH2F_LW.h
ManagedMonitorToolBase
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition: ManagedMonitorToolBase.h:74
InDetVertexMonitoring::m_eventInfo
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
Definition: InDetVertexMonitoring.h:53
InDetVertexMonitoring::InDetVertexMonitoring
InDetVertexMonitoring(const std::string &type, const std::string &name, const IInterface *parent)
Definition: InDetVertexMonitoring.cxx:27
SG::ReadHandleKey< xAOD::EventInfo >
InDetVertexMonitoring::m_h_pvDof
TH1F_LW * m_h_pvDof
Definition: InDetVertexMonitoring.h:40
InDetVertexMonitoring::m_h_vxdist
TH1F_LW * m_h_vxdist
Definition: InDetVertexMonitoring.h:36
InDetVertexMonitoring::initialize
virtual StatusCode initialize()
Definition: InDetVertexMonitoring.cxx:47
ManagedMonitorToolBase.h
TH1F_LW
Definition: TH1F_LW.h:23
InDetVertexMonitoring
Definition: InDetVertexMonitoring.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDetVertexMonitoring::m_h_pvChiSq
TH1F_LW * m_h_pvChiSq
Definition: InDetVertexMonitoring.h:39
InDetVertexMonitoring::m_histFolder
Gaudi::Property< std::string > m_histFolder
Definition: InDetVertexMonitoring.h:51
test_pyathena.parent
parent
Definition: test_pyathena.py:15
InDetVertexMonitoring::m_h_Ntracks
TH1F_LW * m_h_Ntracks
Definition: InDetVertexMonitoring.h:37
InDetVertexMonitoring::m_h_pvChiSqovDof
TH1F_LW * m_h_pvChiSqovDof
Definition: InDetVertexMonitoring.h:41
InDetVertexMonitoring::m_vertexContainer
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer
Definition: InDetVertexMonitoring.h:56
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
InDetVertexMonitoring::bookHistograms
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
Definition: InDetVertexMonitoring.cxx:58
EventInfo.h
InDetVertexMonitoring::m_doControlPlots
Gaudi::Property< bool > m_doControlPlots
Definition: InDetVertexMonitoring.h:48
VertexContainer.h
InDetVertexMonitoring::m_h_pvChiSqProb
TH1F_LW * m_h_pvChiSqProb
Definition: InDetVertexMonitoring.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
InDetVertexMonitoring::fillHistograms
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
Definition: InDetVertexMonitoring.cxx:87
InDetVertexMonitoring::m_h_sumpt
TH1F_LW * m_h_sumpt
Definition: InDetVertexMonitoring.h:38
TH2F_LW
Definition: TH2F_LW.h:23
InDetVertexMonitoring::m_h_cumulVx
TH1F_LW * m_h_cumulVx
Definition: InDetVertexMonitoring.h:43