ATLAS Offline Software
Loading...
Searching...
No Matches
PileupTruthParticleSlimmer.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 GENERATORFILTERS_PILEUPTRUTHPARTICLESLIMMER_H
6#define GENERATORFILTERS_PILEUPTRUTHPARTICLESLIMMER_H
7
10
14
15#include "GaudiKernel/ToolHandle.h"
17
18#include <unordered_set>
19
30public:
31
33 PileupTruthParticleSlimmer( const std::string& name, ISvcLocator* svcLoc );
34
36 virtual StatusCode initialize();
38 virtual StatusCode execute();
39
40
41private:
42
46
48 double m_photon_pt_selection; //in GeV
49 double m_lepton_pt_selection; //in GeV
51
54
55 ToolHandle<IMCTruthClassifier> m_classifier;
56
57}; // class PileupTruthParticleSlimmer
58
59
60
61#endif // GENERATORFILTERS_PILEUPTRUTHPARTICLESLIMMER_H
62
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
double m_photon_pt_selection
Selection values for keeping photons and leptons.
virtual StatusCode initialize()
Function initialising the algorithm.
ToolHandle< IMCTruthClassifier > m_classifier
std::string m_xaodTruthPileupParticleContainerName
The key for the output xAOD truth containers.
PileupTruthParticleSlimmer(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
bool m_forceRerun
a flag to force rerunning (useful for rerunning on ESDs)
virtual StatusCode execute()
Function executing the algorithm.