Project
Loading...
Searching...
No Matches
ChipDigitsContainer.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#ifndef ALICEO2_TRK_CHIPDIGITSCONTAINER_
13#define ALICEO2_TRK_CHIPDIGITSCONTAINER_
14
18#include "TRKBase/Specs.h"
20#include <TRandom.h>
21
22namespace o2::trk
23{
24
26{
27 public:
28 explicit ChipDigitsContainer(UShort_t idx = 0);
29
31
33 static ULong64_t getOrderingKey(UInt_t roframe, UShort_t row, UShort_t col)
34 {
35 return (static_cast<ULong64_t>(roframe) << (8 * sizeof(UInt_t))) + (static_cast<ULong64_t>(col) << (8 * sizeof(Short_t))) + row;
36 }
37
39};
40
41} // namespace o2::trk
42
43#endif // ALICEO2_TRK_CHIPDIGITSCONTAINER_
Simulation parameters for the TRK digitizer. Based on the ITS2 and ITS3 digitizer parameters.
transient container for single chip digits accumulation
uint32_t col
Definition RawData.h:4
Definition of the SegmentationAlpide class.
Definition of the SegmentationChipclass.
specs of the ALICE3 TRK
Container for similated points connected to a given chip.
static ULong64_t getOrderingKey(UInt_t roframe, UShort_t row, UShort_t col)
Get global ordering key made of readout frame, column and row.
ClassDefNV(ChipDigitsContainer, 1)
std::vector< int > row