ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigTools
TrigByteStreamTools
TrigByteStreamTools
TrigByteStreamToolsDict.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "CTPfragment/CTPExtraWordsFormat.h"
6
#include "CTPfragment/CTPdataformat.h"
7
#include <algorithm>
8
9
// Declare some additional types
10
//template class std::map<const CTPfragment::FolderIndex, CTPfragment::FolderEntry>;
11
//template class std::pair<const CTPfragment::FolderIndex, CTPfragment::FolderEntry>;
12
13
namespace
{
14
std::map<const CTPfragment::FolderIndex, CTPfragment::FolderEntry>::iterator my_iter;
15
std::pair<const CTPfragment::FolderIndex, CTPfragment::FolderEntry> my_pair;
16
}
17
18
/* Type conversion. The reference returned by CTPfragment::ExtraPayload::getFolderUpdates
19
doesn't work as python iterator. */
20
namespace
CTPfragment
{
21
std::map<const FolderIndex, FolderEntry>
getFolderUpdates
(
const
CTPfragment::ExtraPayload&
x
) {
22
std::map<const FolderIndex, FolderEntry> m;
23
const
std::map<FolderIndex, FolderEntry>& f =
x
.getFolderUpdates();
24
std::copy(f.begin(), f.end(), std::inserter(m,m.end()));
25
return
m;
26
}
27
}
x
#define x
CTPfragment
Definition
TrigByteStreamToolsDict.h:20
CTPfragment::getFolderUpdates
std::map< const FolderIndex, FolderEntry > getFolderUpdates(const CTPfragment::ExtraPayload &x)
Definition
TrigByteStreamToolsDict.h:21
Generated on
for ATLAS Offline Software by
1.17.0