ATLAS Offline Software
HistoLimits.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 JETTAGTOOLS_HISTOLIMITS_H
6 #define JETTAGTOOLS_HISTOLIMITS_H
7 
8 /******************************************************
9  @class HistoLimits
10  Helper struct to define bins, upper and lower bound for the histograms
11 ********************************************************/
12 
13 namespace Analysis
14 {
15 
16 struct HistoLimits {
18  HistoLimits() : bins(0), xmin(0.), xmax(0.), binsy(0), ymin(0.), ymax(0.) , binsz(0), zmin(0.), zmax(0.) {};
20  HistoLimits(unsigned int bin, double xmi, double xma) : bins(bin), xmin(xmi), xmax(xma), binsy(0), ymin(0.), ymax(0.), binsz(0), zmin(0.), zmax(0.) {};
22  HistoLimits(unsigned int bin, double xmi, double xma, unsigned int biny, double ymi, double yma) : bins(bin), xmin(xmi), xmax(xma), binsy(biny), ymin(ymi), ymax(yma), binsz(0), zmin(0.), zmax(0.) {};
24  HistoLimits(unsigned int bin, double xmi, double xma, unsigned int biny, double ymi, double yma, unsigned int binz, double zmi, double zma) : bins(bin), xmin(xmi), xmax(xma), binsy(biny), ymin(ymi), ymax(yma) , binsz(binz), zmin(zmi), zmax(zma) {};
25  unsigned int bins;
26  double xmin, xmax;
27  unsigned int binsy;
28  double ymin, ymax;
29  unsigned int binsz;
30  double zmin, zmax;
31 };
32 
33 }
34 #endif
Analysis::HistoLimits::zmin
double zmin
Definition: HistoLimits.h:36
Analysis::HistoLimits::binsz
unsigned int binsz
Definition: HistoLimits.h:35
bin
Definition: BinsDiffFromStripMedian.h:43
Analysis::HistoLimits::xmin
double xmin
Definition: HistoLimits.h:32
Analysis::HistoLimits::ymin
double ymin
Definition: HistoLimits.h:34
Analysis::HistoLimits::bins
unsigned int bins
Definition: HistoLimits.h:30
Analysis::HistoLimits::xmax
double xmax
Definition: HistoLimits.h:32
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::HistoLimits::binsy
unsigned int binsy
Definition: HistoLimits.h:33
Analysis::HistoLimits::ymax
double ymax
Definition: HistoLimits.h:34
Analysis::HistoLimits::zmax
double zmax
Definition: HistoLimits.h:36
Analysis::HistoLimits::HistoLimits
HistoLimits()
std constructor:
Definition: HistoLimits.h:24