Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <TruthMetaDataWriter.h>
Definition at line 30 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 60 of file TruthMetaDataWriter.cxx.
67 if (evtStore()->contains<xAOD::EventInfo>(
"EventInfo")){
80 std::map<std::string,std::size_t> weight_name_map =
m_weightSvc->weightNames();
82 std::vector<std::string> orderedWeightNameVec;
83 orderedWeightNameVec.reserve( weight_name_map.size() );
84 for (
auto&
entry: weight_name_map) {
85 orderedWeightNameVec.push_back(
entry.first);
90 std::sort(orderedWeightNameVec.begin(), orderedWeightNameVec.end(),
91 [&](
const std::string&
i,
const std::string& j){return weight_name_map.at(i) < weight_name_map.at(j);});
106 return StatusCode::SUCCESS;
◆ initialize()
StatusCode DerivationFramework::TruthMetaDataWriter::initialize |
( |
| ) |
|
|
overridevirtual |
◆ 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 48 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:
def retrieve(aClass, aKey=None)
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.
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.
Class describing the basic event information.
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.