Project
Loading...
Searching...
No Matches
DataSourceOffline.cxx
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
15
17
18#include <TSystem.h>
19#include <TEveTreeTools.h>
20#include <TEveTrack.h>
21#include <TEveManager.h>
22#include <TFile.h>
23#include <TPRegexp.h>
24#include <TObject.h>
25#include <fmt/core.h>
26#include <fairlogger/Logger.h>
27
28namespace o2
29{
30namespace event_visualisation
31{
32DataSourceOffline::DataSourceOffline(std::string const aodCoverterPath, std::string const path, std::string const file, bool hideGui) : DataSourceOnline({path})
33{
34 std::string const batch = hideGui ? "-b" : "";
35 std::string command = fmt::format("{} {} --aod-file {} --jsons-folder \"{}\"", aodCoverterPath, batch, file, path);
36
37 auto retVal = std::system(command.c_str());
38 (void)retVal;
39}
40
41} // namespace event_visualisation
42} // namespace o2
Grouping reading from file(s)
int32_t retVal
DataSourceOffline(std::string const aodCoverterPath, std::string const path, std::string const file, bool hideGui=false)
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLchar *const * path
Definition glcorearb.h:3591
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...