ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
PhysicsValidation
PhysValMonitoring
src
TrkAndVtxPlots.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PHYSVALMONITORING_TRKANDVTXPLOTS_H
6
#define PHYSVALMONITORING_TRKANDVTXPLOTS_H
7
8
#include "
TrkValHistUtils/PlotBase.h
"
9
#include "CLHEP/Units/SystemOfUnits.h"
10
#include "
xAODTracking/TrackParticle.h
"
11
#include "
xAODTracking/Vertex.h
"
12
#include "
xAODEventInfo/EventInfo.h
"
13
14
namespace
PhysVal
{
15
16
class
TrkAndVtxPlots
:
public
PlotBase
{
17
public
:
18
TrkAndVtxPlots
(
PlotBase
* pParent,
const
std::string& sDir);
19
void
fill
(
const
xAOD::TrackParticle
* trk,
const
xAOD::EventInfo
* evt);
20
void
fill
(
const
xAOD::Vertex
* vtx,
const
xAOD::EventInfo
* evt);
21
void
fill
(
unsigned
int
ntrack,
unsigned
int
nvertex,
const
xAOD::EventInfo
* evt=NULL);
22
23
// Reco only information
24
TH1*
ntrk
=
nullptr
;
25
26
TH1*
nvtx
=
nullptr
;
27
TH1*
vtx_x
=
nullptr
;
28
TH1*
vtx_y
=
nullptr
;
29
TH1*
vtx_z
=
nullptr
;
30
31
private
:
32
virtual
void
initializePlots
();
33
34
35
};
36
37
}
38
39
#endif
TrackParticle.h
Vertex.h
PlotBase.h
PhysVal::TrkAndVtxPlots::nvtx
TH1 * nvtx
Definition
TrkAndVtxPlots.h:26
PhysVal::TrkAndVtxPlots::TrkAndVtxPlots
TrkAndVtxPlots(PlotBase *pParent, const std::string &sDir)
Definition
TrkAndVtxPlots.cxx:13
PhysVal::TrkAndVtxPlots::ntrk
TH1 * ntrk
Definition
TrkAndVtxPlots.h:24
PhysVal::TrkAndVtxPlots::vtx_x
TH1 * vtx_x
Definition
TrkAndVtxPlots.h:27
PhysVal::TrkAndVtxPlots::initializePlots
virtual void initializePlots()
Definition
TrkAndVtxPlots.cxx:16
PhysVal::TrkAndVtxPlots::vtx_z
TH1 * vtx_z
Definition
TrkAndVtxPlots.h:29
PhysVal::TrkAndVtxPlots::fill
void fill(const xAOD::TrackParticle *trk, const xAOD::EventInfo *evt)
Definition
TrkAndVtxPlots.cxx:33
PhysVal::TrkAndVtxPlots::vtx_y
TH1 * vtx_y
Definition
TrkAndVtxPlots.h:28
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
PhysVal
Definition
BTagPlots.cxx:13
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0