ATLAS Offline Software
Loading...
Searching...
No Matches
TruthElectronHistograms.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EGAMMAVALIDATION_TRUTHELECTRONHISTOGRAMS_H
6#define EGAMMAVALIDATION_TRUTHELECTRONHISTOGRAMS_H
7
10#include "ParticleHistograms.h"
11#include <map>
12#include <string>
13
14class TH2D;
15
16namespace egammaMonitoring {
17
19 {
20
21 public:
22
23 using ParticleHistograms::ParticleHistograms;
24
25 virtual StatusCode initializePlots() override;
26 StatusCode initializePlots(bool reducedHistSet);
27
29
30 void fill(const xAOD::TruthParticle* truth, const xAOD::Electron* el = nullptr) ;
32
33 std::map<std::string, TH2D*> histoMap2D;
34
35 private:
36
38
39 };
40
41}
42
43#endif
void fill(const xAOD::IParticle &egamma)
void fill(const xAOD::TruthParticle *truth, const xAOD::Electron *el=nullptr)
TruthParticle_v1 TruthParticle
Typedef to implementation.
Electron_v1 Electron
Definition of the current "egamma version".