ant
A2 ant: class-based analysis framework
Hist_t< Tree_t > Struct Template Reference
+ Collaboration diagram for Hist_t< Tree_t >:

Classes

struct  Fill_t
 
struct  HistFiller_t
 
struct  HistMgr
 
struct  PCA_ClusterShape_t
 
struct  TreeCuts
 

Public Types

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

Public Member Functions

 Hist_t (HistogramFactory HistFac, cuttree::TreeInfo_t)
 
void Fill (const Fill_t &f) const
 
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)
 
 Hist_t (const HistogramFactory &hf, cuttree::TreeInfo_t)
 
void Fill (const Fill_t &f) const
 
std::vector< TH1 * > GetHists () const
 
 Hist_t (const HistogramFactory &hf, cuttree::TreeInfo_t treeInfo)
 
void AddTH1 (const string &title, const string &xlabel, const string &ylabel, const BinSettings &bins, const string &name, fillfunc_t< TH1D > f, const bool sumw2=false)
 
void AddTH2 (const string &title, const string &xlabel, const string &ylabel, const BinSettings &xbins, const BinSettings &ybins, const string &name, fillfunc_t< TH2D > f, const bool sumw2=false)
 
void Fill (const Fill_t &f) const
 
std::vector< TH1 * > GetHists () const
 
cuttree::Cuts_t< Fill_tGetCuts ()
 
 Hist_t (HistogramFactory HistFac, cuttree::TreeInfo_t treeInfo)
 
void Fill (const Fill_t &f) const
 
std::vector< TH1 * > GetHists () const
 

Static Public Member Functions

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

Public Attributes

TH1D * h_KinFitProb
 
TH1D * h_TaggT
 
TH1D * h_IM_2g
 
TH1D * h_IM_2g_fitted = nullptr
 
TH1D * h_IM_2g_fitted_sub
 
TH1D * h_nPhotonsCB
 
TH2D * h_ProtonThetaEk
 
TH2D * h_ProtonMinPIDPhi
 
TH1D * h_ProtonMinPIDCh
 
TH1D * h_ProtonPhi
 
TH2D * h_Banana
 
HistMgr< TH1D > h1
 
HistMgr< TH2D > h2
 
const BinSettings pid_channels
 
const BinSettings Ebins = BinSettings(1200, 0, 1200)
 
const BinSettings Chi2Bins = BinSettings(250, 0, 25)
 
const BinSettings probbins = BinSettings(250, 0, 1)
 
const BinSettings IMbins = BinSettings(1200, 0, 1200)
 
const BinSettings MMbins = BinSettings(1200, 400, 1600)
 
const BinSettings pThetaBins = BinSettings( 125, 0, 50)
 
const BinSettings pEbins = BinSettings( 250, 0, 1000)
 
const BinSettings PSAABins = BinSettings( 60, 20, 60)
 
const BinSettings PSARBins = BinSettings( 100, 0, 450)
 
const BinSettings TaggChBins = BinSettings(47)
 
const BinSettings TaggTime = BinSettings(240, -30, 30)
 
const BinSettings CoplBins = BinSettings(300, 0, 30)
 
const BinSettings zVertex = BinSettings(100, -15, 15)
 
const BinSettings vetoEbins = BinSettings(200, 0, 10)
 
HistogramFactory HistFac
 
const bool isLeaf = false
 
TH1D * h_FitProb = nullptr
 
TH1D * h_CBEnergySum = nullptr
 
TH1D * h_IM_2g_raw = nullptr
 

Static Public Attributes

static constexpr double binScale = 1.
 

Member Typedef Documentation

◆ fillfunc_t [1/2]

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

◆ fillfunc_t [2/2]

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

◆ Tree_t [1/3]

template<typename Tree_t>
using Hist_t< Tree_t >::Tree_t = physics::MesonDalitzDecays::Tree_t

◆ Tree_t [2/3]

template<typename Tree_t>
using Hist_t< Tree_t >::Tree_t = PIDEfficiencyCheck::Tree_t

◆ Tree_t [3/3]

template<typename Tree_t>
using Hist_t< Tree_t >::Tree_t = physics::TriggerSimulation::Tree_t

Constructor & Destructor Documentation

◆ Hist_t() [1/4]

template<typename Tree_t>
Hist_t< Tree_t >::Hist_t ( HistogramFactory  HistFac,
cuttree::TreeInfo_t   
)
inline

◆ Hist_t() [2/4]

template<typename Tree_t>
Hist_t< Tree_t >::Hist_t ( const HistogramFactory hf,
cuttree::TreeInfo_t   
)
inline

◆ Hist_t() [3/4]

template<typename Tree_t>
Hist_t< Tree_t >::Hist_t ( const HistogramFactory hf,
cuttree::TreeInfo_t  treeInfo 
)
inline

◆ Hist_t() [4/4]

template<typename Tree_t>
Hist_t< Tree_t >::Hist_t ( HistogramFactory  HistFac,
cuttree::TreeInfo_t  treeInfo 
)
inline

Member Function Documentation

◆ AddTH1() [1/2]

template<typename Tree_t>
void Hist_t< Tree_t >::AddTH1 ( const string &  title,
const string &  xlabel,
const string &  ylabel,
const BinSettings bins,
const string &  name,
fillfunc_t< TH1D >  f 
)
inline

◆ AddTH1() [2/2]

template<typename Tree_t>
void Hist_t< Tree_t >::AddTH1 ( const string &  title,
const string &  xlabel,
const string &  ylabel,
const BinSettings bins,
const string &  name,
fillfunc_t< TH1D >  f,
const bool  sumw2 = false 
)
inline

◆ AddTH2() [1/2]

template<typename Tree_t>
void Hist_t< Tree_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

◆ AddTH2() [2/2]

template<typename Tree_t>
void Hist_t< Tree_t >::AddTH2 ( const string &  title,
const string &  xlabel,
const string &  ylabel,
const BinSettings xbins,
const BinSettings ybins,
const string &  name,
fillfunc_t< TH2D >  f,
const bool  sumw2 = false 
)
inline

◆ Bins()

template<typename Tree_t>
static BinSettings Hist_t< Tree_t >::Bins ( const unsigned  bins,
const double  min,
const double  max 
)
inlinestatic

◆ Fill() [1/4]

template<typename Tree_t>
void Hist_t< Tree_t >::Fill ( const Fill_t f) const
inline

◆ Fill() [2/4]

template<typename Tree_t>
void Hist_t< Tree_t >::Fill ( const Fill_t f) const
inline

◆ Fill() [3/4]

template<typename Tree_t>
void Hist_t< Tree_t >::Fill ( const Fill_t f) const
inline

◆ Fill() [4/4]

template<typename Tree_t>
void Hist_t< Tree_t >::Fill ( const Fill_t f) const
inline

◆ GetCuts() [1/4]

template<typename Tree_t>
static cuttree::Cuts_t<Fill_t> Hist_t< Tree_t >::GetCuts ( )
inlinestatic

◆ GetCuts() [2/4]

template<typename Tree_t>
static cuttree::Cuts_t<Fill_t> Hist_t< Tree_t >::GetCuts ( )
inlinestatic

◆ GetCuts() [3/4]

template<typename Tree_t>
cuttree::Cuts_t<Fill_t> Hist_t< Tree_t >::GetCuts ( )

◆ GetCuts() [4/4]

template<typename Tree_t>
static cuttree::Cuts_t<Fill_t> Hist_t< Tree_t >::GetCuts ( )
inlinestatic

◆ GetHists() [1/3]

template<typename Tree_t>
std::vector<TH1*> Hist_t< Tree_t >::GetHists ( ) const
inline

◆ GetHists() [2/3]

template<typename Tree_t>
std::vector<TH1*> Hist_t< Tree_t >::GetHists ( ) const
inline

◆ GetHists() [3/3]

template<typename Tree_t>
std::vector<TH1*> Hist_t< Tree_t >::GetHists ( ) const
inline

Member Data Documentation

◆ binScale

template<typename Tree_t>
constexpr double Hist_t< Tree_t >::binScale = 1.
static

◆ Chi2Bins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::Chi2Bins = BinSettings(250, 0, 25)

◆ CoplBins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::CoplBins = BinSettings(300, 0, 30)

◆ Ebins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::Ebins = BinSettings(1200, 0, 1200)

◆ h1

template<typename Tree_t>
HistMgr< TH1D > Hist_t< Tree_t >::h1

◆ h2

template<typename Tree_t>
HistMgr< TH2D > Hist_t< Tree_t >::h2

◆ h_Banana

template<typename Tree_t>
TH2D* Hist_t< Tree_t >::h_Banana

◆ h_CBEnergySum

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_CBEnergySum = nullptr

◆ h_FitProb

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_FitProb = nullptr

◆ h_IM_2g

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_IM_2g

◆ h_IM_2g_fitted

template<typename Tree_t>
TH1D * Hist_t< Tree_t >::h_IM_2g_fitted = nullptr

◆ h_IM_2g_fitted_sub

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_IM_2g_fitted_sub

◆ h_IM_2g_raw

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_IM_2g_raw = nullptr

◆ h_KinFitProb

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_KinFitProb

◆ h_nPhotonsCB

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_nPhotonsCB

◆ h_ProtonMinPIDCh

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_ProtonMinPIDCh

◆ h_ProtonMinPIDPhi

template<typename Tree_t>
TH2D* Hist_t< Tree_t >::h_ProtonMinPIDPhi

◆ h_ProtonPhi

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_ProtonPhi

◆ h_ProtonThetaEk

template<typename Tree_t>
TH2D* Hist_t< Tree_t >::h_ProtonThetaEk

◆ h_TaggT

template<typename Tree_t>
TH1D* Hist_t< Tree_t >::h_TaggT

◆ HistFac

template<typename Tree_t>
HistogramFactory Hist_t< Tree_t >::HistFac

◆ IMbins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::IMbins = BinSettings(1200, 0, 1200)

◆ isLeaf

template<typename Tree_t>
const bool Hist_t< Tree_t >::isLeaf = false

◆ MMbins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::MMbins = BinSettings(1200, 400, 1600)

◆ pEbins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::pEbins = BinSettings( 250, 0, 1000)

◆ pid_channels

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::pid_channels
Initial value:
= BinSettings(
ExpConfig::Setup::GetDetector(Detector_t::Type_t::PID)->GetNChannels())

◆ probbins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::probbins = BinSettings(250, 0, 1)

◆ PSAABins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::PSAABins = BinSettings( 60, 20, 60)

◆ PSARBins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::PSARBins = BinSettings( 100, 0, 450)

◆ pThetaBins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::pThetaBins = BinSettings( 125, 0, 50)

◆ TaggChBins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::TaggChBins = BinSettings(47)

◆ TaggTime

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::TaggTime = BinSettings(240, -30, 30)

◆ vetoEbins

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::vetoEbins = BinSettings(200, 0, 10)

◆ zVertex

template<typename Tree_t>
const BinSettings Hist_t< Tree_t >::zVertex = BinSettings(100, -15, 15)

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