ATLAS Offline Software
Loading...
Searching...
No Matches
KeepChildrenTruthStrategy.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6// KeepChildrenTruthStrategy.h, (c) ATLAS Detector software
8
9#ifndef ISF_TOOLS_KEEPCHILDRENTRUTHSTRATEGY_H
10#define ISF_TOOLS_KEEPCHILDRENTRUTHSTRATEGY_H 1
11
12// stl includes
13#include <set>
14#include <vector>
15
16// Athena includes
18
19// ISF includes
21
22namespace ISF {
23 typedef std::vector<int> VertexTypesVector;
24 typedef std::set<int> VertexTypesSet;
25 typedef std::vector<int> PDGCodesVector;
26 typedef std::set<int> PDGCodesSet;
27
35 class KeepChildrenTruthStrategy final : public extends<AthAlgTool, ITruthStrategy> {
36
37 public:
39 KeepChildrenTruthStrategy( const std::string& t, const std::string& n, const IInterface* p );
40
43
44 // Athena algtool's Hooks
45 StatusCode initialize() override;
46
48 bool pass( ITruthIncident& incident) const override;
49
51 virtual bool appliesToRegion(unsigned short) const override;
52
53 private:
54
67 };
68
69}
70
71#endif //> !ISF_TOOLS_KEEPCHILDRENTRUTHSTRATEGY_H
ISF interface class for TruthIncidents.
VertexTypesSet m_vertexTypes
optimized for search
KeepChildrenTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
PDGCodesVector m_parentPdgCodesVector
PDG code checks.
VertexTypesVector m_vertexTypesVector
vertex type (physics code) checks
PDGCodesSet m_parentPdgCodes
optimized for search
virtual bool appliesToRegion(unsigned short) const override
true if the strategy applies to this region
bool pass(ITruthIncident &incident) const override
true if the ITruthStrategy implementation applies to the given ITruthIncident
ISFParticleOrderedQueue.
std::vector< int > PDGCodesVector
std::set< int > VertexTypesSet
std::set< int > PDGCodesSet
std::vector< int > VertexTypesVector