ATLAS Offline Software
|
#include "eformat/FullEventFragmentNoTemplates.h"
#include "eformat/ROBFragmentNoTemplates.h"
#include "eformat/write/FullEventFragment.h"
#include "eformat/write/ROBFragment.h"
#include "eformat/compression.h"
#include "EventStorage/DataReader.h"
#include "EventStorage/pickDataReader.h"
#include "EventStorage/DataWriter.h"
#include "EventStorage/DRError.h"
#include "EventStorage/DWError.h"
#include "EventStorage/EventStorageRecords.h"
#include "EventStorage/ESCompression.h"
#include <iostream>
#include <string>
#include <vector>
#include <memory>
#include <optional>
#include <functional>
#include <unordered_set>
Go to the source code of this file.
Classes | |
struct | Event |
class | WriteEvent |
class | Buffer |
Functions | |
std::unique_ptr< EventStorage::DataWriter > | createWriter (const EventStorage::DataReader &reader) |
int | main (int argc, char **argv) |
Standalone executable to order and decompress events from multiple files and write them into a single file.
This is intended mainly for merging files from same run and LB but different streams. The reordering ensures uniform distribution of different kinds of events from different streams and removes duplicates. Using this script with files from different LBs is pointless since all events in LB N+1 are always after all events from LB N. The reordering is not strict and the level of out-of-order events is tied to the buffer size. The smaller the buffer, the larger the chance of finding lower-ID events still to be read from input files.
Definition in file trigbs_orderedMerge.cxx.
std::unique_ptr<EventStorage::DataWriter> createWriter | ( | const EventStorage::DataReader & | reader | ) |
Definition at line 167 of file trigbs_orderedMerge.cxx.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 190 of file trigbs_orderedMerge.cxx.