|
ATLAS Offline Software
|
Go to the documentation of this file.
32 #include "TGraphErrors.h"
33 #include "TGraphAsymmErrors.h"
34 #include "TMultiGraph.h"
36 #include "TProfile2D.h"
38 #include "TDirectory.h"
51 if (!subDir.empty())
path += (
"/" + subDir);
64 if (!subDir.empty())
path += (
"/" + subDir);
81 declareInterface<IMonitorToolBase>(
this);
113 std::vector<int>
v = { 0x10d };
128 std::ostringstream
os;
130 os <<
" 0x" << std::hex <<
fragID << std::dec;
133 ATH_MSG_INFO(
"Tile DMU errors will be ignored in drawers (frag IDs):" <<
os.str());
140 std::ostringstream
os;
142 os <<
" 0x" << std::hex <<
fragID << std::dec;
145 ATH_MSG_INFO(
"Special settings in histograms for demonstrator modules (frag IDs):" <<
os.str());
153 return StatusCode::SUCCESS;
162 const std::string & trigChain,
const std::string & mergeAlgo)
173 const std::string & trigChain,
const std::string & mergeAlgo)
184 const std::string & trigChain,
const std::string & mergeAlgo)
195 const std::string & trigChain,
const std::string & mergeAlgo)
204 int nx,
const Double_t *xlgbins,
206 const std::string & trigChain,
const std::string & mergeAlgo)
209 TH1S*
hist =
new TH1S(TString(nam), TString(
tit), nx, xlgbins);
217 const std::string & trigChain,
const std::string & mergeAlgo)
232 const std::string & trigChain,
const std::string & mergeAlgo)
243 const std::string & trigChain,
const std::string & mergeAlgo)
252 int ny,
const double*
ybins,
254 const std::string & trigChain,
const std::string & mergeAlgo)
266 const std::string & trigChain,
const std::string & mergeAlgo)
278 const std::string & trigChain,
const std::string & mergeAlgo)
289 const std::string & trigChain,
const std::string & mergeAlgo)
299 const std::string & trigChain,
const std::string & mergeAlgo)
310 const std::string & trigChain,
const std::string & mergeAlgo)
318 int nx,
const float*
xbins,
320 const std::string & trigChain,
const std::string & mergeAlgo)
332 const std::string & trigChain,
const std::string & mergeAlgo)
392 hist->SetName(TString(nam));
397 return (TGraph*)
hist;
421 TGraphErrors *
hist =
new TGraphErrors(
N,
X,
Y, X_errors, Y_errors);
422 hist->SetName(TString(nam));
426 return (TGraphErrors *)
hist;
431 if (
obj->IsA()->InheritsFrom(
"TH1")) {
434 return StatusCode::FAILURE;
438 }
else if (
obj->IsA()->InheritsFrom(
"TGraph")) {
441 return StatusCode::FAILURE;
446 ATH_MSG_WARNING(
"Asked to remove object " <<
obj->GetName() <<
"of unsupported type " <<
obj->IsA() );
447 return StatusCode::FAILURE;
451 return StatusCode::FAILURE;
453 return StatusCode::SUCCESS;
459 TGraphAsymmErrors1(
int N,
float *
X,
float *
Y,
float * X_errors1,
float * X_errors2,
float * Y_errors1,
float * Y_errors2)
460 : TGraphAsymmErrors(
N,
X,
Y, X_errors1, X_errors2, Y_errors1, Y_errors2),
fDirectory(0) {
477 float*
X,
float*
Y,
float* X_errors1,
float* X_errors2,
478 float* Y_errors1,
float* Y_errors2)
481 TGraphAsymmErrors *
hist =
new TGraphAsymmErrors(
N,
X,
Y, X_errors1, X_errors2, Y_errors1, Y_errors2);
482 hist->SetName(TString(nam));
486 return (TGraphAsymmErrors*)
hist;
511 hist->SetName(TString(nam));
515 return (TMultiGraph*)
hist;
def retrieve(aClass, aKey=None)
TGraph1(int N, float *X, float *Y)
TDirectory * GetDirectory()
path
python interpreter configuration --------------------------------------—
static const TileCablingService * getInstance()
get pointer to service instance
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
TGraphAsymmErrors1(int N, float *X, float *Y, float *X_errors1, float *X_errors2, float *Y_errors1, float *Y_errors2)
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
TDirectory * GetDirectory()
TDirectory * GetDirectory()
def TProfile(*args, **kwargs)
void SetDirectory(TDirectory *dir)
::StatusCode StatusCode
StatusCode definition for legacy code.
void SetDirectory(TDirectory *dir)
TDirectory * GetDirectory()
#define CHECK(...)
Evaluate an expression and check for errors.
TGraphErrors1(int N, float *X, float *Y, float *X_errors, float *Y_errors)
#define ATH_MSG_WARNING(x)
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
void SetDirectory(TDirectory *dir)
void SetDirectory(TDirectory *dir)