Project
Loading...
Searching...
No Matches
MCLabel.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
12
// Declaration of a transient MC label class for ZDC
13
14
#ifndef ALICEO2_ZDC_MCLABEL_H_
15
#define ALICEO2_ZDC_MCLABEL_H_
16
17
#include "
SimulationDataFormat/MCCompLabel.h
"
18
19
namespace
o2
20
{
21
namespace
zdc
22
{
23
class
MCLabel
:
public
o2::MCCompLabel
24
{
25
private
:
26
Int_t mChannel = -1;
27
28
public
:
29
MCLabel
() =
default
;
30
MCLabel
(Int_t trackID, Int_t eventID, Int_t srcID, Int_t chID)
31
:
o2
::
MCCompLabel
(trackID, eventID, srcID, false), mChannel(chID) {}
32
33
Int_t
getChannel
()
const
{
return
mChannel; }
34
35
ClassDefNV
(
MCLabel
, 1);
36
};
37
}
// namespace zdc
38
}
// namespace o2
39
40
#endif
MCCompLabel.h
o2::MCCompLabel
Definition
MCCompLabel.h:24
o2::zdc::MCLabel
Definition
MCLabel.h:24
o2::zdc::MCLabel::getChannel
Int_t getChannel() const
Definition
MCLabel.h:33
o2::zdc::MCLabel::MCLabel
MCLabel()=default
o2::zdc::MCLabel::ClassDefNV
ClassDefNV(MCLabel, 1)
o2::zdc::MCLabel::MCLabel
MCLabel(Int_t trackID, Int_t eventID, Int_t srcID, Int_t chID)
Definition
MCLabel.h:30
o2::upgrades_utils::zdc
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
DataFormats
Detectors
ZDC
include
DataFormatsZDC
MCLabel.h
Generated on Tue Feb 25 2025 23:16:11 for Project by
1.9.8