Project
Loading...
Searching...
No Matches
DCSPTemperature.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
16
17#ifndef AliceO2_TPC_QC_DCSPTEMPERATURE_H
18#define AliceO2_TPC_QC_DCSPTEMPERATURE_H
19
20#include <vector>
21
22// o2 includes
23#include "DataFormatsTPC/DCS.h"
24
25class TCanvas;
26
27namespace o2::tpc::qc
28{
29
35{
36 public:
38 DCSPTemperature() = default;
39
42
44 void initializeCanvases();
45
47 void processData(const std::vector<std::unique_ptr<o2::tpc::dcs::Temperature>>& data);
48
50 std::vector<TCanvas*>& getCanvases() { return mCanVec; };
51
52 private:
53 std::vector<TCanvas*> mCanVec{}; // holds the canvases which are to be published in the QCG
54
55 ClassDefNV(DCSPTemperature, 1)
56};
57} // namespace o2::tpc::qc
58
59#endif
DCS data point data formats.
This class helps visualizing the data from the temperature sensors inside the TPC.
DCSPTemperature()=default
default constructor
void initializeCanvases()
initializes the TCanvases that will later be shown on the QCG
std::vector< TCanvas * > & getCanvases()
returns the canvases showing the temperature data
void processData(const std::vector< std::unique_ptr< o2::tpc::dcs::Temperature > > &data)
fill graphs with temperature data and populate the canvases
GLboolean * data
Definition glcorearb.h:298