ATLAS Offline Software
CscCalibReportPed.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "TH1I.h"
6 #include "TH2F.h"
7 
10 #include <string>
11 #include <utility>
12 
13 /* default constructor */
15  m_pedAmpHists(nullptr),
16  m_sampHists(nullptr),
17  m_bitHists(nullptr),
18  m_bitCorrelation(nullptr),
19  m_onlineTHoldTests(nullptr)
20 { }
21 
22 /* full constructor */
25  m_pedAmpHists(nullptr),
26  m_sampHists(nullptr),
27  m_bitHists(nullptr),
28  m_bitCorrelation(nullptr),
29  m_onlineTHoldTests(nullptr)
30 { }
31 
33 {
34  delete m_pedAmpHists;
35  delete m_bitHists;
36  delete m_bitCorrelation;
37  delete m_onlineTHoldTests;
38 }
39 
41 {
42  m_pedAmpHists = somePedAmpHists;
43 }
44 
46 {
47  m_sampHists = someSampHists;
48 }
49 
51 {
52  m_bitHists = someBitHists;
53 }
54 
56 {
57  m_bitCorrelation = somebitCorrelation;
58 }
59 
61 {
62  return m_pedAmpHists;
63 }
64 
66 {
67  return m_sampHists;
68 }
69 
71 {
72  return m_bitHists;
73 }
74 
76 {
77  return m_bitCorrelation;
78 }
79 
80 //**setOnlineTHoldTests*///
81 void CscCalibReportPed::setOnlineTHoldTests(std::vector<int> * onlineTests){
82  m_onlineTHoldTests = onlineTests;
83 }
84 
86 const std::vector<int> * CscCalibReportPed::getOnlineTHoldTests() const{
87  return m_onlineTHoldTests;
88 }
PlotCalibFromCool.label
label
Definition: PlotCalibFromCool.py:78
CscCalibReportPed::setOnlineTHoldTests
void setOnlineTHoldTests(std::vector< int > *onlineTests)
Definition: CscCalibReportPed.cxx:81
CscCalibReportPed::m_onlineTHoldTests
std::vector< int > * m_onlineTHoldTests
Definition: CscCalibReportPed.h:42
CscCalibReportPed::setBitHists
void setBitHists(DataVector< TH1I > *somePedAmpHists)
Set the pedAmpHist vector.
Definition: CscCalibReportPed.cxx:50
CscCalibReportPed::CscCalibReportPed
CscCalibReportPed()
Definition: CscCalibReportPed.cxx:14
CscCalibReportPed::getBitCorrelation
const DataVector< TH2F > * getBitCorrelation() const
Definition: CscCalibReportPed.cxx:75
CscCalibReportPed::getPedAmpHists
const DataVector< TH1I > * getPedAmpHists() const
Retrieve pedestal amplitude histogram vector.
Definition: CscCalibReportPed.cxx:60
CscCalibReportPed::setSampHists
void setSampHists(DataVector< DataVector< TH1I > > *someSampHists)
Set the sample histogram vector.
Definition: CscCalibReportPed.cxx:45
CscCalibReportPed::getBitHists
const DataVector< TH1I > * getBitHists() const
Retrive bit histogram vector.
Definition: CscCalibReportPed.cxx:70
CscCalibReportPed::m_bitCorrelation
DataVector< TH2F > * m_bitCorrelation
Definition: CscCalibReportPed.h:41
DataVector< TH1I >
CscCalibReportPed::m_bitHists
DataVector< TH1I > * m_bitHists
Definition: CscCalibReportPed.h:40
CscCalibReportPed::setBitCorrelation
void setBitCorrelation(DataVector< TH2F > *somebitCorrelation)
Definition: CscCalibReportPed.cxx:55
CscCalibReportPed::m_pedAmpHists
DataVector< TH1I > * m_pedAmpHists
Definition: CscCalibReportPed.h:38
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
CscCalibReportPed::~CscCalibReportPed
~CscCalibReportPed()
Definition: CscCalibReportPed.cxx:32
CscCalibReportBase
Definition: CscCalibReportBase.h:20
CscCalibReportPed::getOnlineTHoldTests
const std::vector< int > * getOnlineTHoldTests() const
setOnlineTholdTests - contains number of times a channel's sample went above online threshold
Definition: CscCalibReportPed.cxx:86
CscCalibReportPed::m_sampHists
DataVector< DataVector< TH1I > > * m_sampHists
Definition: CscCalibReportPed.h:39
CscCalibReportPed.h
CscCalibReportPed::setPedAmpHists
void setPedAmpHists(DataVector< TH1I > *somePedAmpHists)
Set the pedAmpHist vector.
Definition: CscCalibReportPed.cxx:40
CscCalibReportPed::getSampHists
const DataVector< DataVector< TH1I > > * getSampHists() const
Retrieve pedestal sample amplitude histogram vector.
Definition: CscCalibReportPed.cxx:65