ATLAS Offline Software
CscCalibReportPed.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CSCCALIBDATA_CSCCALIBREPORTPED_H
6 #define CSCCALIBDATA_CSCCALIBREPORTPED_H
7 
8 /**************************************************************************
9 Package: MuonSpectrometer/MuonCalib/CscCalib/CscCalibData
10 Name: CscCalibReportPed.h
11 Author: Caleb Parnell-Lampen
12 Date & Place: July 4, 2008, University of Arizona
13 
14 Base class to hold info for a class. Mostly an interface class for which
15 different types of reports can be derived from. The reports are meant to
16 include details about the calibration process, as opposed to the
17 CscCalibResults which contain just the simple results of the calibration.
18  ****************************************************************************/
21 #include "TH1.h"
22 #include "TH2.h"
23 
25 {
26  private:
27  //Pedestal amplitude histograms
32  std::vector<int> * m_onlineTHoldTests;
33 
34  public:
35 
36  /* default constructor */
38 
39  /* full constructor */
40  CscCalibReportPed(std::string label);
41 
42 
44 
48  void setPedAmpHists(DataVector<TH1I> * somePedAmpHists);
49 
54  void setSampHists(DataVector<DataVector<TH1I> >* someSampHists);
55 
59  void setBitHists(DataVector<TH1I> * somePedAmpHists);
60 
61  void setBitCorrelation(DataVector<TH2F> * somebitCorrelation);
62 
63 
64 
65 
67  const DataVector<TH1I> * getPedAmpHists() const;
68 
71 
72 
74  const DataVector<TH1I> * getBitHists() const;
75 
76  const DataVector<TH2F> *getBitCorrelation() const;
77 
78  //**setOnlineTHoldTests*///
79  void setOnlineTHoldTests(std::vector<int> * onlineTests);
80 
82  const std::vector<int> * getOnlineTHoldTests() const;
83 
84 };
85 
86 #endif
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.h
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
Definition: CscCalibReportPed.h:25
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