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
20
#include "
TRDQC/RawDataManager.h
"
21
22
class
TVirtualPad;
23
class
TH2;
24
25
namespace
o2::trd
26
{
27
31
class
RawDisplay
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
();
39
void
drawMCTrackSegments
();
40
41
void
draw
()
42
{
43
drawDigits
();
44
drawTracklets
();
45
}
46
47
protected
:
48
RawDataSpan
&
mDataSpan
;
49
TVirtualPad*
mPad
{0};
50
TH2*
mDigitsHisto
{0};
51
std::string
mName
;
52
std::string
mDesc
;
53
int
mFirstPad
;
54
int
mLastPad
;
55
56
float
mClusterThreshold
{50};
57
};
58
60
class
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_
RawDataManager.h
o2::trd::MCMDisplay
The MCM display is a raw display specialized to display data for a single MCM.
Definition
RawDisplay.h:61
o2::trd::RawDisplay
Definition
RawDisplay.h:32
o2::trd::RawDisplay::drawMCTrackSegments
void drawMCTrackSegments()
Definition
RawDisplay.cxx:172
o2::trd::RawDisplay::mPad
TVirtualPad * mPad
Definition
RawDisplay.h:49
o2::trd::RawDisplay::mClusterThreshold
float mClusterThreshold
Definition
RawDisplay.h:56
o2::trd::RawDisplay::mName
std::string mName
Definition
RawDisplay.h:51
o2::trd::RawDisplay::mLastPad
int mLastPad
Definition
RawDisplay.h:54
o2::trd::RawDisplay::draw
void draw()
Definition
RawDisplay.h:41
o2::trd::RawDisplay::drawClusters
void drawClusters()
Definition
RawDisplay.cxx:122
o2::trd::RawDisplay::drawDigits
void drawDigits(std::string opt="colz")
Definition
RawDisplay.cxx:101
o2::trd::RawDisplay::mDigitsHisto
TH2 * mDigitsHisto
Definition
RawDisplay.h:50
o2::trd::RawDisplay::drawTracklets
void drawTracklets()
Definition
RawDisplay.cxx:107
o2::trd::RawDisplay::drawHits
void drawHits()
Definition
RawDisplay.cxx:159
o2::trd::RawDisplay::mDesc
std::string mDesc
Definition
RawDisplay.h:52
o2::trd::RawDisplay::mFirstPad
int mFirstPad
Definition
RawDisplay.h:53
o2::trd::RawDisplay::mDataSpan
RawDataSpan & mDataSpan
Definition
RawDisplay.h:48
o2::trd
Definition
SimTraits.h:119
o2::trd::RawDataSpan
Definition
RawDataManager.h:51
Detectors
TRD
qc
include
TRDQC
RawDisplay.h
Generated on Tue Feb 25 2025 17:03:12 for Project by
1.9.8