Project
Loading...
Searching...
No Matches
RawDisplay.h
Go to the documentation of this file.
1// Copyright 2019-2023 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_RAWDISPLAY_H_
13#define ALICEO2_TRD_RAWDISPLAY_H_
14
19
21
22class TVirtualPad;
23class TH2;
24
25namespace o2::trd
26{
27
32{
33 public:
34 RawDisplay(RawDataSpan& dataspan, TVirtualPad* pad = nullptr);
35 void drawDigits(std::string opt = "colz");
36 void drawTracklets();
37 void drawClusters();
38 void drawHits();
40
41 void draw()
42 {
43 drawDigits();
45 }
46
47 protected:
49 TVirtualPad* mPad{0};
50 TH2* mDigitsHisto{0};
51 std::string mName;
52 std::string mDesc;
55
57};
58
60class MCMDisplay : public RawDisplay
61{
62 public:
63 MCMDisplay(RawDataSpan& mcmdata, TVirtualPad* pad = nullptr);
64};
65
66} // namespace o2::trd
67
68#endif // ALICEO2_TRD_RAWDISPLAY_H_
The MCM display is a raw display specialized to display data for a single MCM.
Definition RawDisplay.h:61
TVirtualPad * mPad
Definition RawDisplay.h:49
std::string mName
Definition RawDisplay.h:51
void drawDigits(std::string opt="colz")
std::string mDesc
Definition RawDisplay.h:52
RawDataSpan & mDataSpan
Definition RawDisplay.h:48