Project
Loading...
Searching...
No Matches
EveConfiguration.h
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
14
15#ifndef ALICE_O2_EVENTVISUALISATION_WORKFLOW_EVECONFIGURATION_H
16#define ALICE_O2_EVENTVISUALISATION_WORKFLOW_EVECONFIGURATION_H
17
21
22#include <memory>
23#include <array>
24#include <vector>
25#include <functional>
26#include <gsl/gsl>
27
28class TH1F;
29
30namespace o2
31{
32namespace event_visualisation
33{
34template <class T>
35struct DefaultPtr {
36 typedef T type;
37};
38template <class T>
39struct ConstPtr {
40 typedef const T type;
41};
42
43template <template <typename T> class S>
49
50typedef CalibObjectsTemplate<DefaultPtr> CalibObjects; // NOTE: These 2 must have identical layout since they are memcopied
52
54 // All new members must be sizeof(int) resp. sizeof(float) for alignment reasons!
55 float solenoidBz = -5.00668; // solenoid field strength
56 int constBz = 0; // for test-MC events with constant Bz
57 int homemadeEvents = 0; // Toy-MC events
58 int continuousMaxTimeBin = 0; // 0 for triggered events, -1 for default of 23ms
59 int needsClusterer = 0; // Set to true if the data requires the clusterizer
60};
61
63 bool runMC;
64};
65
75
76} // namespace event_visualisation
77} // namespace o2
78
79#endif
Definition of the ClusterTopology class.
CalibObjectsTemplate< DefaultPtr > CalibObjects
CalibObjectsTemplate< ConstPtr > CalibObjectsConst
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
S< o2::itsmft::TopologyDictionary >::type * itsPatternDict
S< o2::trd::GeometryFlat >::type * trdGeometry
S< o2::itsmft::TopologyDictionary >::type * mftPatternDict
EveConfiguration(const EveConfiguration &)=default