![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
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"
56 if (!subDir.empty())
path += (
"/" + subDir);
69 if (!subDir.empty())
path += (
"/" + subDir);
86 declareInterface<IMonitorToolBase>(
this);
118 std::vector<int>
v = { 0x10d };
133 std::ostringstream
os;
135 os <<
" 0x" << std::hex <<
fragID << std::dec;
138 ATH_MSG_INFO(
"Tile DMU errors will be ignored in drawers (frag IDs):" <<
os.str());
145 std::ostringstream
os;
147 os <<
" 0x" << std::hex <<
fragID << std::dec;
150 ATH_MSG_INFO(
"Special settings in histograms for demonstrator modules (frag IDs):" <<
os.str());
158 return StatusCode::SUCCESS;
167 std::string trigChain, std::string mergeAlgo)
178 std::string trigChain, std::string mergeAlgo)
189 std::string trigChain, std::string mergeAlgo)
200 std::string trigChain, std::string mergeAlgo)
209 int nx,
const Double_t *xlgbins,
211 std::string trigChain, std::string mergeAlgo)
222 std::string trigChain, std::string mergeAlgo)
237 std::string trigChain, std::string mergeAlgo)
248 std::string trigChain, std::string mergeAlgo)
257 int ny,
const double*
ybins,
259 std::string trigChain, std::string mergeAlgo)
271 std::string trigChain, std::string mergeAlgo)
283 std::string trigChain, std::string mergeAlgo)
294 std::string trigChain, std::string mergeAlgo)
304 std::string trigChain, std::string mergeAlgo)
315 std::string trigChain, std::string mergeAlgo)
323 int nx,
const float*
xbins,
325 std::string trigChain, std::string mergeAlgo)
337 std::string trigChain, std::string mergeAlgo)
349 std::string trigChain, std::string mergeAlgo)
360 std::string trigChain, std::string mergeAlgo)
372 std::string trigChain, std::string mergeAlgo)
431 hist->SetName(TString(nam));
436 return (TGraph*)
hist;
460 TGraphErrors *
hist =
new TGraphErrors(
N,
X,
Y, X_errors, Y_errors);
461 hist->SetName(TString(nam));
465 return (TGraphErrors *)
hist;
470 if (
obj->IsA()->InheritsFrom(
"TH1")) {
473 return StatusCode::FAILURE;
477 }
else if (
obj->IsA()->InheritsFrom(
"TGraph")) {
480 return StatusCode::FAILURE;
485 ATH_MSG_WARNING(
"Asked to remove object " <<
obj->GetName() <<
"of unsupported type " <<
obj->IsA() );
486 return StatusCode::FAILURE;
490 return StatusCode::FAILURE;
492 return StatusCode::SUCCESS;
498 TGraphAsymmErrors1(
int N,
float *
X,
float *
Y,
float * X_errors1,
float * X_errors2,
float * Y_errors1,
float * Y_errors2)
499 : TGraphAsymmErrors(
N,
X,
Y, X_errors1, X_errors2, Y_errors1, Y_errors2),
fDirectory(0) {
516 float*
X,
float*
Y,
float* X_errors1,
float* X_errors2,
517 float* Y_errors1,
float* Y_errors2)
520 TGraphAsymmErrors *
hist =
new TGraphAsymmErrors(
N,
X,
Y, X_errors1, X_errors2, Y_errors1, Y_errors2);
521 hist->SetName(TString(nam));
525 return (TGraphAsymmErrors*)
hist;
550 hist->SetName(TString(nam));
554 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)
static TH1I_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup)
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()
static TProfile_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const char *option=" ")
TDirectory * GetDirectory()
def TProfile(*args, **kwargs)
static TH2I_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xmin, const double &xmax, unsigned nbinsy, const double &ymin, const double &ymax)
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)