DAS  3.0
Das Analysis System
MyTUnfoldDensity

Description

Trick to access protected members of TUnfoldDensity or to modify the behaviour of certain methods, e.g. background subtraction.

#include <MyTUnfoldDensity.h>

+ Inheritance diagram for MyTUnfoldDensity:
+ Collaboration diagram for MyTUnfoldDensity:

Public Member Functions

TH2 * GetA (const char *name)
 
template<class ... Args>
Bool_t MyAddRegularisationCondition (Args ...args)
 
template<class ... Args>
 MyTUnfoldDensity (Args ...args)
 

Constructor & Destructor Documentation

◆ MyTUnfoldDensity()

MyTUnfoldDensity ( Args ...  args)
inline

Variadic template to access the constructor TUnfoldDensity::TUnfoldDensity

41  :
42  TUnfoldDensity(args...)
43  {}

Member Function Documentation

◆ GetA()

TH2* GetA ( const char *  name)
inline

Get the probability matrix fA from TUnfold(Density) (a priori protected)

21  {
22  auto h = new TH2D(name, "probability matrix", fA->GetNrows(), 0.5, 0.5+fA->GetNrows() ,
23  fA->GetNcols(), 0.5, 0.5+fA->GetNcols());
24  for (int i = 0; i < fA->GetNrows(); ++i)
25  for (int j = 0; j < fA->GetNcols(); ++j) {
26  double content = (*fA)[i][j];
27  h->SetBinContent(i+1,j+1,content);
28  }
29  return h;
30  }

◆ MyAddRegularisationCondition()

Bool_t MyAddRegularisationCondition ( Args ...  args)
inline

Variadic template to access TUnfoldDensity::AddRegularisationCondition

35  {
36  return AddRegularisationCondition(args...);
37  }

The documentation for this class was generated from the following file:
DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.name
name
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:48
Ntupliser_cfg.args
args
Definition: Ntupliser_cfg.py:11