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
20
21namespace o2
22{
23
24namespace emcal
25{
26
27template <class DigitTemplate>
28struct DigitTimebinBase;
29
43template <class DigitTemplate>
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>>>();
51};
52
56
57} // namespace emcal
58} // namespace o2
59#endif /* ALICEO2_EMCAL_DIGITTIMEBIN_H */
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
DigitTimebinBase templated, used for the DigitsWriteoutBuffer and DigitsWriteoutBufferTRU.
std::shared_ptr< std::unordered_map< int, std::list< DigitTemplate > > > mDigitMap
std::optional< o2::InteractionRecord > mInterRecord
ClassDefNV(DigitTimebinBase, 1)