ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#include "CLHEP/Units/SystemOfUnits.h"
11#include "xAODTracking/Vertex.h"
13
14namespace PhysVal{
15
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
TrkAndVtxPlots(PlotBase *pParent, const std::string &sDir)
virtual void initializePlots()
void fill(const xAOD::TrackParticle *trk, const xAOD::EventInfo *evt)
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
EventInfo_v1 EventInfo
Definition of the latest event info version.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.