ATLAS Offline Software
Loading...
Searching...
No Matches
TruthElectronHistograms.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 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
12class TH2D;
13
14namespace egammaMonitoring {
15
17 {
18
19 public:
20
21 using ParticleHistograms::ParticleHistograms;
22
23 virtual StatusCode initializePlots() override;
24 StatusCode initializePlots(bool reducedHistSet);
25
27
28 void fill(const xAOD::TruthParticle* truth, const xAOD::Electron* el = nullptr) ;
30
31 std::map<std::string, TH2D*> histoMap2D;
32
33 private:
34
36
37 };
38
39}
40
41#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".