ATLAS Offline Software
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 
11 #include "xAODTruth/TruthEvent.h"
14 
15 #include "GaudiKernel/ToolHandle.h"
17 
18 #include <unordered_set>
19 
30 public:
31 
33  PileupTruthParticleSlimmer( const std::string& name, ISvcLocator* svcLoc );
34 
36  virtual StatusCode initialize();
38  virtual StatusCode execute();
39 
40 
41 private:
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 
PileupTruthParticleSlimmer::m_xaodTruthPileupParticleContainerName
std::string m_xaodTruthPileupParticleContainerName
The key for the output xAOD truth containers.
Definition: PileupTruthParticleSlimmer.h:44
PileupTruthParticleSlimmer::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: PileupTruthParticleSlimmer.cxx:47
TruthPileupEvent.h
PileupTruthParticleSlimmer::m_forceRerun
bool m_forceRerun
a flag to force rerunning (useful for rerunning on ESDs)
Definition: PileupTruthParticleSlimmer.h:53
PileupTruthParticleSlimmer::m_photon_pt_selection
double m_photon_pt_selection
Selection values for keeping photons and leptons.
Definition: PileupTruthParticleSlimmer.h:48
AthAlgorithm.h
IMCTruthClassifier.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
PileupTruthParticleSlimmer::m_abseta_selection
double m_abseta_selection
Definition: PileupTruthParticleSlimmer.h:50
PileupTruthParticleSlimmer::m_xaodTruthParticleContainerName
std::string m_xaodTruthParticleContainerName
Definition: PileupTruthParticleSlimmer.h:45
PileupTruthParticleSlimmer::PileupTruthParticleSlimmer
PileupTruthParticleSlimmer(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: PileupTruthParticleSlimmer.cxx:25
AthAlgorithm
Definition: AthAlgorithm.h:47
PileupTruthParticleSlimmer::m_classifier
ToolHandle< IMCTruthClassifier > m_classifier
Definition: PileupTruthParticleSlimmer.h:55
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
PileupTruthParticleSlimmer::m_lepton_pt_selection
double m_lepton_pt_selection
Definition: PileupTruthParticleSlimmer.h:49
PileupTruthParticleSlimmer
Algorithm to skim the xAOD truth particle container for pileup minbias samples.
Definition: PileupTruthParticleSlimmer.h:29
TruthMetaDataContainer.h
PileupTruthParticleSlimmer::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: PileupTruthParticleSlimmer.cxx:38
TruthEvent.h