41 return StatusCode::SUCCESS;
49 uint32_t mcChannelNumber = 0;
54 mcChannelNumber = eventInfo->mcChannelNumber();
61 m_tmd->push_back( md );
64 std::map<std::string,std::size_t> weight_name_map =
m_weightSvc->weightNames(ctx);
66 std::vector<std::string> orderedWeightNameVec;
67 orderedWeightNameVec.reserve( weight_name_map.size() );
68 for (
auto& entry: weight_name_map) {
69 orderedWeightNameVec.push_back(entry.first);
74 std::sort(orderedWeightNameVec.begin(), orderedWeightNameVec.end(),
75 [&](
const std::string& i,
const std::string& j){return weight_name_map.at(i) < weight_name_map.at(j);});
90 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
#define CHECK(...)
Evaluate an expression and check for errors.
Handle class for reading from StoreGate.
bool isPresent() const
Is the referenced object present in SG?
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
TruthMetaDataContainer_v1 TruthMetaDataContainer
Declare the latest version of the truth vertex container.
TruthMetaDataAuxContainer_v1 TruthMetaDataAuxContainer
Declare the latest version of the truth vertex auxiliary container.
TruthMetaData_v1 TruthMetaData
Typedef to implementation.