forked from mcoquet642/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataTypes.h
More file actions
90 lines (85 loc) · 2.42 KB
/
DataTypes.h
File metadata and controls
90 lines (85 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
#ifndef O2_FRAMEWORK_DATATYPES_H_
#define O2_FRAMEWORK_DATATYPES_H_
#include <cstdint>
namespace o2::aod::collision
{
enum CollisionFlagsRun2 : uint16_t {
Run2VertexerTracks = 0x1,
Run2VertexerZ = 0x2,
Run2Vertexer3D = 0x4,
// upper 8 bits for flags
Run2VertexerTracksWithConstraint = 0x10,
Run2VertexerTracksOnlyFitter = 0x20,
Run2VertexerTracksMultiVertex = 0x40
};
} // namespace o2::aod::collision
namespace o2::aod::track
{
enum TrackTypeEnum : uint8_t {
Track = 0,
ITSStandaloneTrack,
Run2Track = 254,
Run2Tracklet = 255
};
enum TrackFlags {
TrackTimeResIsRange = 0x1 // Gaussian or range
};
enum TrackFlagsRun2Enum {
ITSrefit = 0x1,
TPCrefit = 0x2,
GoldenChi2 = 0x4,
// NOTE Highest 4 (29..32) bits reserved for PID hypothesis
};
enum DetectorMapEnum : uint8_t {
ITS = 0x1,
TPC = 0x2,
TRD = 0x4,
TOF = 0x8
};
} // namespace o2::aod::track
namespace o2::aod::fwdtrack
{
enum ForwardTrackTypeEnum : uint8_t {
GlobalMuonTrack = 0, // MFT-MCH-MID
GlobalMuonTrackOtherMatch, // MFT-MCH-MID (MCH-MID used another time)
GlobalForwardTrack, // MFT-MCH
MuonStandaloneTrack, // MCH-MID
MCHStandaloneTrack // MCH
};
} // namespace o2::aod::fwdtrack
namespace o2::aod::run2
{
enum Run2EventSelectionCut {
kINELgtZERO = 0,
kPileupInMultBins,
kConsistencySPDandTrackVertices,
kTrackletsVsClusters,
kNonZeroNContribs,
kIncompleteDAQ,
kPileUpMV,
kTPCPileUp,
kTimeRangeCut,
kEMCALEDCut,
kAliEventCutsAccepted,
kIsPileupFromSPD,
kIsV0PFPileup,
kIsTPCHVdip,
kIsTPCLaserWarmUp,
kTRDHCO, // Offline TRD cosmic trigger decision
kTRDHJT, // Offline TRD jet trigger decision
kTRDHSE, // Offline TRD single electron trigger decision
kTRDHQU, // Offline TRD quarkonium trigger decision
kTRDHEE // Offline TRD single-electron-in-EMCAL-acceptance trigger decision
};
} // namespace o2::aod::run2
#endif // O2_FRAMEWORK_DATATYPES_H_