Project
Loading...
Searching...
No Matches
CommonMode.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
15
16
#ifndef ALICEO2_TPC_CommonMode_H_
17
#define ALICEO2_TPC_CommonMode_H_
18
19
#include <Rtypes.h>
20
#include "
DataFormatsTPC/Defs.h
"
21
22
namespace
o2
23
{
24
namespace
tpc
25
{
26
30
31
class
CommonMode
32
{
33
public
:
35
CommonMode
() =
default
;
36
41
CommonMode
(
float
commonMode,
TimeBin
timeBin,
unsigned
char
gemStack);
42
44
~CommonMode
() =
default
;
45
48
float
getCommonMode
()
const
{
return
mCommonMode; }
49
52
TimeBin
getTimeBin
()
const
{
return
mTimebin; }
53
56
unsigned
char
getGEMstack
()
const
{
return
mGEMstack; }
57
58
private
:
59
float
mCommonMode = 0.f;
60
TimeBin
mTimebin = 0;
61
unsigned
char
mGEMstack = 0;
62
63
ClassDefNV(
CommonMode
, 1);
64
};
65
66
inline
CommonMode::CommonMode
(
float
commonMode,
TimeBin
timeBin,
unsigned
char
gemStack)
67
: mCommonMode(commonMode),
68
mTimebin(timeBin),
69
mGEMstack(gemStack)
70
{
71
}
72
73
}
// namespace tpc
74
}
// namespace o2
75
76
#endif
// ALICEO2_TPC_CommonMode_H_
Defs.h
o2::tpc::CommonMode
Definition
CommonMode.h:32
o2::tpc::CommonMode::getGEMstack
unsigned char getGEMstack() const
Definition
CommonMode.h:56
o2::tpc::CommonMode::getCommonMode
float getCommonMode() const
Definition
CommonMode.h:48
o2::tpc::CommonMode::CommonMode
CommonMode()=default
Default constructor.
o2::tpc::CommonMode::getTimeBin
TimeBin getTimeBin() const
Definition
CommonMode.h:52
o2::tpc::CommonMode::~CommonMode
~CommonMode()=default
Destructor.
o2::tpc::TimeBin
unsigned int TimeBin
global time bin
Definition
Defs.h:132
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
Detectors
TPC
simulation
include
TPCSimulation
CommonMode.h
Generated on Tue Feb 25 2025 23:16:29 for Project by
1.9.8