ant
A2 ant: class-based analysis framework
triplePi0_Plot::TriplePi0Hist_t Struct Reference
+ Collaboration diagram for triplePi0_Plot::TriplePi0Hist_t:

Classes

struct  Fill_t
 
struct  HistFiller_t
 
struct  HistMgr
 
struct  TreeCuts
 

Public Types

using Tree_t = physics::triplePi0::PionProdTree
 
using RTree_t = triplePi0::RecTree
 
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, const bool sumw2, fillfunc_t< TH1D > f)
 
void AddTH2 (const string &title, const string &xlabel, const string &ylabel, const BinSettings &xbins, const BinSettings &ybins, const string &name, const bool sumw2, fillfunc_t< TH2D > f)
 
 TriplePi0Hist_t (const HistogramFactory &hf, cuttree::TreeInfo_t)
 
void Fill (const Fill_t &f) const
 
std::vector< TH1 * > GetHists () const
 

Static Public Member Functions

static BinSettings Bins (const unsigned bins, const double min, const double max)
 
static cuttree::Cuts_t< Fill_tGetCuts ()
 

Public Attributes

HistMgr< TH1D > h1
 
HistMgr< TH2D > h2
 
const BinSettings taggerBins = triplePi0_Plot::taggerBins
 
const BinSettings Ebins = Bins(1000, 0, 1000)
 
const BinSettings Chi2Bins = Bins(250, 0, 25)
 
const BinSettings probbins = Bins(250, 0, 1)
 
const BinSettings IMbins = Bins(1000, 200, 1100)
 
const BinSettings IMProtonBins = Bins(1000, 600, 1200)
 
const BinSettings IM2g = Bins(1000, 0, 360)
 
const BinSettings pThetaBins = Bins( 200, 0, 80)
 
const BinSettings pEbins = Bins( 350, 0, 1200)
 
HistogramFactory HistFac
 

Member Typedef Documentation

◆ fillfunc_t

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

◆ RTree_t

◆ Tree_t

Constructor & Destructor Documentation

◆ TriplePi0Hist_t()

triplePi0_Plot::TriplePi0Hist_t::TriplePi0Hist_t ( const HistogramFactory hf,
cuttree::TreeInfo_t   
)
inline

Member Function Documentation

◆ AddTH1()

void triplePi0_Plot::TriplePi0Hist_t::AddTH1 ( const string &  title,
const string &  xlabel,
const string &  ylabel,
const BinSettings bins,
const string &  name,
const bool  sumw2,
fillfunc_t< TH1D >  f 
)
inline

◆ AddTH2()

void triplePi0_Plot::TriplePi0Hist_t::AddTH2 ( const string &  title,
const string &  xlabel,
const string &  ylabel,
const BinSettings xbins,
const BinSettings ybins,
const string &  name,
const bool  sumw2,
fillfunc_t< TH2D >  f 
)
inline

◆ Bins()

static BinSettings triplePi0_Plot::TriplePi0Hist_t::Bins ( const unsigned  bins,
const double  min,
const double  max 
)
inlinestatic

◆ Fill()

void triplePi0_Plot::TriplePi0Hist_t::Fill ( const Fill_t f) const
inline

◆ GetCuts()

static cuttree::Cuts_t<Fill_t> triplePi0_Plot::TriplePi0Hist_t::GetCuts ( )
inlinestatic

◆ GetHists()

std::vector<TH1*> triplePi0_Plot::TriplePi0Hist_t::GetHists ( ) const
inline

Member Data Documentation

◆ Chi2Bins

const BinSettings triplePi0_Plot::TriplePi0Hist_t::Chi2Bins = Bins(250, 0, 25)

◆ Ebins

const BinSettings triplePi0_Plot::TriplePi0Hist_t::Ebins = Bins(1000, 0, 1000)

◆ h1

HistMgr<TH1D> triplePi0_Plot::TriplePi0Hist_t::h1

◆ h2

HistMgr<TH2D> triplePi0_Plot::TriplePi0Hist_t::h2

◆ HistFac

HistogramFactory triplePi0_Plot::TriplePi0Hist_t::HistFac

◆ IM2g

const BinSettings triplePi0_Plot::TriplePi0Hist_t::IM2g = Bins(1000, 0, 360)

◆ IMbins

const BinSettings triplePi0_Plot::TriplePi0Hist_t::IMbins = Bins(1000, 200, 1100)

◆ IMProtonBins

const BinSettings triplePi0_Plot::TriplePi0Hist_t::IMProtonBins = Bins(1000, 600, 1200)

◆ pEbins

const BinSettings triplePi0_Plot::TriplePi0Hist_t::pEbins = Bins( 350, 0, 1200)

◆ probbins

const BinSettings triplePi0_Plot::TriplePi0Hist_t::probbins = Bins(250, 0, 1)

◆ pThetaBins

const BinSettings triplePi0_Plot::TriplePi0Hist_t::pThetaBins = Bins( 200, 0, 80)

◆ taggerBins

const BinSettings triplePi0_Plot::TriplePi0Hist_t::taggerBins = triplePi0_Plot::taggerBins

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