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 void addNoise(UInt_t rofMin, UInt_t rofMax, const o2::itsmft::DigiParams* params, int maxRows = o2::itsmft::SegmentationAlpide::NRows, int maxCols = o2::itsmft::SegmentationAlpide::NCols) = delete;
40 void addNoise(UInt_t rofMin, UInt_t rofMax, const o2::trk::DigiParams* params, int subDetID, int layer);
41
43};
44
45} // namespace o2::trk
46
47#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.
void addNoise(UInt_t rofMin, UInt_t rofMax, const o2::itsmft::DigiParams *params, int maxRows=o2::itsmft::SegmentationAlpide::NRows, int maxCols=o2::itsmft::SegmentationAlpide::NCols)=delete
Adds noise digits, deleted the one using the itsmft::DigiParams interface.
ClassDefNV(ChipDigitsContainer, 1)
GLenum const GLfloat * params
Definition glcorearb.h:272
GLenum GLuint GLint GLint layer
Definition glcorearb.h:1310
std::vector< int > row