#include <ThinningToolExample.h>
- Author
- James Catmore -at- cern.ch
Definition at line 26 of file ThinningToolExample.h.
◆ ~ThinningToolExample()
| DerivationFramework::ThinningToolExample::~ThinningToolExample |
( |
| ) |
|
|
virtual |
◆ doThinning()
| StatusCode DerivationFramework::ThinningToolExample::doThinning |
( |
const EventContext & | ctx | ) |
const |
|
overridevirtual |
Check that the current event passes this filter.
Definition at line 40 of file ThinningToolExample.cxx.
41{
42
43
44 SG::ThinningHandle<xAOD::TrackParticleContainer> tracks (
m_inDetSGKey, ctx);
46
47 std::vector<bool>
mask;
50 else {
mask.push_back(
false); }
51 }
52 tracks.keep (mask);
53
54 return StatusCode::SUCCESS;
55}
TrackParticle_v1 TrackParticle
Reference the current persistent version:
◆ finalize()
| StatusCode DerivationFramework::ThinningToolExample::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
| StatusCode DerivationFramework::ThinningToolExample::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 25 of file ThinningToolExample.cxx.
26{
28 return StatusCode::SUCCESS;
29}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ m_inDetSGKey
Definition at line 49 of file ThinningToolExample.h.
50{ this, "InDetTrackParticlesKey", "InDetTrackParticles", "Key for track particle container" };
◆ m_npass
| std::atomic<unsigned int> DerivationFramework::ThinningToolExample::m_npass {0} |
|
mutableprivate |
◆ m_ntot
| std::atomic<unsigned int> DerivationFramework::ThinningToolExample::m_ntot {0} |
|
mutableprivate |
◆ m_streamName
| Gaudi::Property<std::string> DerivationFramework::ThinningToolExample::m_streamName { this, "StreamName", "", "Name of the stream being thinned" } |
|
private |
Definition at line 43 of file ThinningToolExample.h.
44{ this, "StreamName", "", "Name of the stream being thinned" };
◆ m_trackPtCut
| Gaudi::Property<double> DerivationFramework::ThinningToolExample::m_trackPtCut { this, "TrackPtCut", 20.0, "Track p_T cut in GeV" } |
|
private |
The documentation for this class was generated from the following files: