 |
ATLAS Offline Software
|
#include <TruthMetaDataWriter.h>
Definition at line 32 of file TruthMetaDataWriter.h.
◆ TruthMetaDataWriter()
DerivationFramework::TruthMetaDataWriter::TruthMetaDataWriter |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~TruthMetaDataWriter()
DerivationFramework::TruthMetaDataWriter::~TruthMetaDataWriter |
( |
| ) |
|
◆ addBranches()
StatusCode DerivationFramework::TruthMetaDataWriter::addBranches |
( |
| ) |
const |
|
overridevirtual |
Definition at line 64 of file TruthMetaDataWriter.cxx.
66 const EventContext& ctx = Gaudi::Hive::currentContext();
73 if (eventInfo.isPresent()) {
84 std::map<std::string,std::size_t> weight_name_map =
m_weightSvc->weightNames();
86 std::vector<std::string> orderedWeightNameVec;
87 orderedWeightNameVec.reserve( weight_name_map.size() );
88 for (
auto&
entry: weight_name_map) {
89 orderedWeightNameVec.push_back(
entry.first);
94 std::sort(orderedWeightNameVec.begin(), orderedWeightNameVec.end(),
95 [&](
const std::string&
i,
const std::string& j){return weight_name_map.at(i) < weight_name_map.at(j);});
110 return StatusCode::SUCCESS;
◆ initialize()
StatusCode DerivationFramework::TruthMetaDataWriter::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_eventInfoKey
◆ m_existingMetaDataChan
std::unordered_set<uint32_t> DerivationFramework::TruthMetaDataWriter::m_existingMetaDataChan |
|
mutableprivate |
Set for tracking the mc channels for which we already added meta data.
Definition at line 50 of file TruthMetaDataWriter.h.
◆ m_metaName
std::string DerivationFramework::TruthMetaDataWriter::m_metaName |
|
private |
◆ m_metaStore
◆ m_tagInfoMgr
◆ m_tmd
◆ m_weightSvc
The documentation for this class was generated from the following files:
TruthMetaDataContainer_v1 TruthMetaDataContainer
Declare the latest version of the truth vertex container.
#define ATH_MSG_VERBOSE(x)
TruthMetaData_v1 TruthMetaData
Typedef to implementation.
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
TruthMetaDataAuxContainer_v1 TruthMetaDataAuxContainer
Declare the latest version of the truth vertex auxiliary container.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.