ATLAS Offline Software
Loading...
Searching...
No Matches
CscCalibReportSlope.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CSCCALIBDATA_CSCCALIBREPORTSLOPE_H
6#define CSCCALIBDATA_CSCCALIBREPORTSLOPE_H
7
8/**************************************************************************
9Package: MuonSpectrometer/MuonCalib/CscCalib/CscCalibData
10Name: CscCalibReportSlope.h
11Author: Caleb Parnell-Lampen
12Date & Place: July 7, 2008, University of Arizona
13
14Holds info corresponding to the calibration process, such as applicable plots
15and graphs. The monitoring system can pick out what graphs it wants.
16 ****************************************************************************/
19
20#include <map>
21#include <set>
22
23class TProfile;
24class TGraphErrors;
25class TH1I;
26
28{
29
30 public:
31
32 /*class to record changed bit. As of 2008-09-08 is only used for changed
33 /dead chan status
34 struct bitChange
35 {
36 int hash;
37 bool newVal;
38 int pulserLevel;
39
40 bitChange() {
41 hash = -9999;
42 newVal = true;
43 pulserLevel = -9999;
44 }
45
46 };
47 */
48
49 /* default constructor */
51
52 /* full constructor */
53 CscCalibReportSlope(std::string label);
54
56
57 void setBitHists(DataVector<TH1I> * somePedAmpHists);
61 void setCalGraphs(DataVector<TGraphErrors> * someCalGraphs);
62
63 /*setDeadChanges - set the changed dead channels
64 @param someDeadChanges - Pointer to map of changed channels and their new value
65
66 void setDeadChanges(std::set<bitChange> * someDeadChannels);
67 */
68
72 void setAmpProfs(std::map<int,TProfile*> * someAmpProfs);
73
77 void setPulsedChambers(std::set<int> * somePulsedChambers);
78
79 void setFitResults(std::vector<float> * fitResults);
80
81
83 const DataVector<TH1I> * getBitHists() const;
84
87
88 /*get the set of changes in dead channels*
89 const std::set<bitChange> * getDeadChanges() const;
90 */
91
94 const std::map<int,TProfile*> * getAmpProfs() const;
95
96
98 const std::set<int> * getPulsedChambers() const;
99
100
102 const std::vector<float> * getFitResults() const;
103
104
105 private:
106
107 //Pedestal amplitude histograms
109
111 //status changes
112 //std::set<bitChange> * m_deadChanges;
113
114 //Interesting TProfiles grouped by attenuation level
115 std::map<int,TProfile*> * m_ampProfs;
116
117 std::set<int> * m_pulsedChambers;
118
119 std::vector<float> * m_fitResults;
120
121
122};
123
124#endif
An STL vector of pointers that by default owns its pointed-to elements.
void setBitHists(DataVector< TH1I > *somePedAmpHists)
std::vector< float > * m_fitResults
std::set< int > * m_pulsedChambers
const DataVector< TH1I > * getBitHists() const
Retrieve bit histogram vector.
void setFitResults(std::vector< float > *fitResults)
DataVector< TH1I > * m_bitHists
std::map< int, TProfile * > * m_ampProfs
void setAmpProfs(std::map< int, TProfile * > *someAmpProfs)
setAmpProfs - set the changed dead channels
const std::set< int > * getPulsedChambers() const
getPulsedChambers - Contains the chambers that were pulsed.
const std::map< int, TProfile * > * getAmpProfs() const
getAmpProfs - get the map of ampProfs stored.
void setCalGraphs(DataVector< TGraphErrors > *someCalGraphs)
setCalGraphs - Set the pedAmpHist vector.
DataVector< TGraphErrors > * m_calGraphs
const std::vector< float > * getFitResults() const
getFitReturns - Contains slope fit results.
const DataVector< TGraphErrors > * getCalGraphs() const
Retrieve pedestal amplitude histogram vector.
void setPulsedChambers(std::set< int > *somePulsedChambers)
setPulsedChambers - set the pulsed chambers
Derived DataVector<T>.
Definition DataVector.h:795
std::string label(const std::string &format, int i)
Definition label.h:19