ant
A2 ant: class-based analysis framework
OmegaEtaG_Plot::OmegaHist_t Struct Reference
+ Collaboration diagram for OmegaEtaG_Plot::OmegaHist_t:

Classes

struct  Fill_t
 
struct  HistFiller_t
 
struct  HistMgr
 
struct  TreeCuts
 

Public Types

using Tree_t = physics::OmegaEtaG2::OmegaTree_t
 
template<typename Hist >
using fillfunc_t = std::function< void(Hist *, const Fill_t &)>
 

Public Member Functions

void AddTH1 (const string &title, const string &xlabel, const string &ylabel, const BinSettings &bins, const string &name, fillfunc_t< TH1D > f)
 
void AddTH2 (const string &title, const string &xlabel, const string &ylabel, const BinSettings &xbins, const BinSettings &ybins, const string &name, fillfunc_t< TH2D > f)
 
 OmegaHist_t (const HistogramFactory &hf, plot::cuttree::TreeInfo_t)
 
void Fill (const Fill_t &f) const
 
std::vector< TH1 * > GetHists () const
 

Static Public Member Functions

static TCutG * makeDalitzCut ()
 

Public Attributes

HistMgr< TH1D > h1
 
HistMgr< TH2D > h2
 
HistogramFactory HistFac
 

Static Public Attributes

static OptionsPtr opts = nullptr
 
static map< int, double > mc_scale
 
static TCutG * dalitzCut = OmegaEtaG_Plot::OmegaHist_t::makeDalitzCut()
 

Member Typedef Documentation

◆ fillfunc_t

template<typename Hist >
using OmegaEtaG_Plot::OmegaHist_t::fillfunc_t = std::function<void(Hist*, const Fill_t&)>

◆ Tree_t

Constructor & Destructor Documentation

◆ OmegaHist_t()

OmegaEtaG_Plot::OmegaHist_t::OmegaHist_t ( const HistogramFactory hf,
plot::cuttree::TreeInfo_t   
)
inline

Member Function Documentation

◆ AddTH1()

void OmegaEtaG_Plot::OmegaHist_t::AddTH1 ( const string &  title,
const string &  xlabel,
const string &  ylabel,
const BinSettings bins,
const string &  name,
fillfunc_t< TH1D >  f 
)
inline

◆ AddTH2()

void OmegaEtaG_Plot::OmegaHist_t::AddTH2 ( const string &  title,
const string &  xlabel,
const string &  ylabel,
const BinSettings xbins,
const BinSettings ybins,
const string &  name,
fillfunc_t< TH2D >  f 
)
inline

◆ Fill()

void OmegaEtaG_Plot::OmegaHist_t::Fill ( const Fill_t f) const
inline

◆ GetHists()

std::vector<TH1*> OmegaEtaG_Plot::OmegaHist_t::GetHists ( ) const
inline

◆ makeDalitzCut()

static TCutG* OmegaEtaG_Plot::OmegaHist_t::makeDalitzCut ( )
inlinestatic

Member Data Documentation

◆ dalitzCut

TCutG * OmegaEtaG_Plot::OmegaHist_t::dalitzCut = OmegaEtaG_Plot::OmegaHist_t::makeDalitzCut()
static

◆ h1

HistMgr<TH1D> OmegaEtaG_Plot::OmegaHist_t::h1

◆ h2

HistMgr<TH2D> OmegaEtaG_Plot::OmegaHist_t::h2

◆ HistFac

HistogramFactory OmegaEtaG_Plot::OmegaHist_t::HistFac

◆ mc_scale

map< int, double > OmegaEtaG_Plot::OmegaHist_t::mc_scale
static
Initial value:
= [] () {
map<int,double> s;
s[1] = 0.00019;
s[2] = 0.084;
s[10] = 0.207;
s[13] = 0.418;
s[11] = 0.418;
s[18] = 0.267;
s[OmegaEtaG2::ReactionChannelList_t::other_index] = 0.3;
return s;
}()

◆ opts

OptionsPtr OmegaEtaG_Plot::OmegaHist_t::opts = nullptr
static

The documentation for this struct was generated from the following file: