Project
Loading...
Searching...
No Matches
DigitTimebin.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
14
#ifndef ALICEO2_EMCAL_DIGITTIMEBIN_H
15
#define ALICEO2_EMCAL_DIGITTIMEBIN_H
16
17
#include "
DataFormatsEMCAL/Digit.h
"
18
#include "
EMCALSimulation/LabeledDigit.h
"
19
#include "
CommonDataFormat/InteractionRecord.h
"
20
21
namespace
o2
22
{
23
24
namespace
emcal
25
{
26
27
template
<
class
DigitTemplate>
28
struct
DigitTimebinBase;
29
43
template
<
class
DigitTemplate>
44
struct
DigitTimebinBase
{
45
bool
mRecordMode
=
false
;
46
bool
mEndWindow
=
false
;
47
bool
mTriggerColl
=
false
;
48
std::optional<o2::InteractionRecord>
mInterRecord
;
49
std::shared_ptr<std::unordered_map<int, std::list<DigitTemplate>>>
mDigitMap
= std::make_shared<std::unordered_map<int, std::list<DigitTemplate>>>();
50
ClassDefNV
(
DigitTimebinBase
, 1);
51
};
52
54
using
DigitTimebin
=
DigitTimebinBase<LabeledDigit>
;
55
using
DigitTimebinTRU
=
DigitTimebinBase<Digit>
;
56
57
}
// namespace emcal
58
}
// namespace o2
59
#endif
/* ALICEO2_EMCAL_DIGITTIMEBIN_H */
Digit.h
InteractionRecord.h
LabeledDigit.h
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::emcal::DigitTimebinBase
DigitTimebinBase templated, used for the DigitsWriteoutBuffer and DigitsWriteoutBufferTRU.
Definition
DigitTimebin.h:44
o2::emcal::DigitTimebinBase::mRecordMode
bool mRecordMode
Definition
DigitTimebin.h:45
o2::emcal::DigitTimebinBase::mTriggerColl
bool mTriggerColl
Definition
DigitTimebin.h:47
o2::emcal::DigitTimebinBase::mDigitMap
std::shared_ptr< std::unordered_map< int, std::list< DigitTemplate > > > mDigitMap
Definition
DigitTimebin.h:49
o2::emcal::DigitTimebinBase::mEndWindow
bool mEndWindow
Definition
DigitTimebin.h:46
o2::emcal::DigitTimebinBase::mInterRecord
std::optional< o2::InteractionRecord > mInterRecord
Definition
DigitTimebin.h:48
o2::emcal::DigitTimebinBase::ClassDefNV
ClassDefNV(DigitTimebinBase, 1)
Detectors
EMCAL
simulation
include
EMCALSimulation
DigitTimebin.h
Generated on Tue Feb 25 2025 17:02:56 for Project by
1.9.8