Project
Loading...
Searching...
No Matches
PadSecPos.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
16
25
26
#ifndef AliceO2_TPC_PadSecPos_H
27
#define AliceO2_TPC_PadSecPos_H
28
29
#include "
TPCBase/Sector.h
"
30
#include "
TPCBase/PadPos.h
"
31
32
namespace
o2
33
{
34
namespace
tpc
35
{
36
class
PadSecPos
37
{
38
public
:
39
PadSecPos
() =
default
;
40
41
PadSecPos
(
const
int
sector,
const
int
rowInSector,
const
int
padInRow) : mSector(sector), mPadPos(
PadPos
(rowInSector, padInRow)) {}
42
PadSecPos
(
const
Sector
& sec,
const
PadPos
& padPosition) : mSector(sec), mPadPos(padPosition) {}
43
44
Sector
getSector
()
const
{
return
mSector; }
45
46
Sector
&
getSector
() {
return
mSector; }
47
48
const
PadPos
&
getPadPos
()
const
{
return
mPadPos; }
49
50
PadPos
&
getPadPos
() {
return
mPadPos; }
51
52
private
:
53
Sector
mSector{};
54
PadPos mPadPos{};
55
};
56
}
// namespace tpc
57
}
// namespace o2
58
#endif
PadPos.h
Sector.h
o2::tpc::PadPos
Definition
PadPos.h:35
o2::tpc::PadSecPos
Definition
PadSecPos.h:37
o2::tpc::PadSecPos::PadSecPos
PadSecPos()=default
o2::tpc::PadSecPos::PadSecPos
PadSecPos(const Sector &sec, const PadPos &padPosition)
Definition
PadSecPos.h:42
o2::tpc::PadSecPos::PadSecPos
PadSecPos(const int sector, const int rowInSector, const int padInRow)
Definition
PadSecPos.h:41
o2::tpc::PadSecPos::getSector
Sector getSector() const
Definition
PadSecPos.h:44
o2::tpc::PadSecPos::getPadPos
const PadPos & getPadPos() const
Definition
PadSecPos.h:48
o2::tpc::PadSecPos::getPadPos
PadPos & getPadPos()
Definition
PadSecPos.h:50
o2::tpc::PadSecPos::getSector
Sector & getSector()
Definition
PadSecPos.h:46
o2::tpc::Sector
Definition
Sector.h:41
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
Detectors
TPC
base
include
TPCBase
PadSecPos.h
Generated on Tue Feb 25 2025 17:03:09 for Project by
1.9.8