Project
Loading...
Searching...
No Matches
KrClusterTriggerRecord.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_TRD_KRCLSTRIGGERRECORD_H
13#define ALICEO2_TRD_KRCLSTRIGGERRECORD_H
14
15#include "Rtypes.h"
18
19namespace o2
20{
21namespace trd
22{
23
27
29{
31
32 public:
34 KrClusterTriggerRecord(BCData bcData, int nEntries) : mBCData(bcData), mNClusters(nEntries) {}
35
36 // setters (currently class members are set at the time of creation, if there is need to change them afterwards setters can be added below)
37
38 // getters
39 int getNumberOfClusters() const { return mNClusters; }
40 BCData getBCData() const { return mBCData; }
41
42 private:
43 BCData mBCData;
44 int mNClusters;
45
46 ClassDefNV(KrClusterTriggerRecord, 1);
47};
48} // namespace trd
49} // namespace o2
50
51#endif // ALICEO2_TRD_KRCLSTRIGGERRECORD_H
Class to refer to the 1st entry and N elements of some group in the continuous container.
Mapping of found Kr clusters to BC information which is taken from the TRD digits.
KrClusterTriggerRecord(BCData bcData, int nEntries)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...