DAS  3.0
Das Analysis System
MjjYbYsfinal

#include <MjjYbYs.h>

+ Inheritance diagram for MjjYbYs:
+ Collaboration diagram for MjjYbYs:

Public Member Functions

 MjjYbYs ()
 
std::unique_ptr< FillergetFiller (TTreeReader &reader) const override
 
void setLmatrix (const std::unique_ptr< TH1 > &, std::unique_ptr< TH2 > &) override
 
- Public Member Functions inherited from Observable
virtual std::unique_ptr< TransformergetTransformer (TUnfoldBinning *) const
 
virtual ~Observable ()=default
 

Additional Inherited Members

- Public Attributes inherited from Observable
TUnfoldBinning * recBinning
 
TUnfoldBinning * genBinning
 
- Static Public Attributes inherited from Observable
static bool isMC = false
 
static double maxDR = 0.2
 
- Protected Member Functions inherited from Observable
 Observable (const char *, const char *)
 

Constructor & Destructor Documentation

◆ MjjYbYs()

MjjYbYs ( )

Constructor.

135  :
136  Observable(__FUNCTION__, "Dijet mass double differential cross section")
137 {
138  vector<double> recMjj_edges;
139  recMjj_edges.reserve(Mjj_edges.size()*2);
140 
141  // rec binning with twice more bins
142  for (size_t j = 0; j < Mjj_edges.size()-1; ++j) {
143  double m = Mjj_edges.at(j),
144  M = Mjj_edges.at(j+1);
145  recMjj_edges.push_back(m);
146  recMjj_edges.push_back((m+M)/2);
147  }
148  recMjj_edges.push_back(Mjj_edges.back());
149 
150  int nRecMjjBins = recMjj_edges.size()-1;
151  int nGenMjjBins = Mjj_edges.size()-1;
152 
153  recBinning->AddAxis("Mjj", nRecMjjBins, recMjj_edges.data(),false,false);
154  recBinning->AddAxis("yb" , nYbYsBins, y_edges.data(),false,false);
155  recBinning->AddAxis("ys" , nYbYsBins, y_edges.data(),false,false);
156  genBinning->AddAxis("Mjj", nGenMjjBins, Mjj_edges.data(),false,false);
157  genBinning->AddAxis("yb" , nYbYsBins, y_edges.data(),false,false);
158  genBinning->AddAxis("ys" , nYbYsBins, y_edges.data(),false,false);
159 }

Member Function Documentation

◆ getFiller()

unique_ptr< DAS::Unfolding::Filler > getFiller ( TTreeReader &  reader) const
overridevirtual

Constructs a filler for the observable.

Reimplemented from Observable.

162 {
163  return make_unique<MjjYbYsFiller>(*this, reader);
164 }

◆ setLmatrix()

void setLmatrix ( const std::unique_ptr< TH1 > &  bias,
std::unique_ptr< TH2 > &  L 
)
overridevirtual

See Observable::getLmatrix

Todo:
fix

Reimplemented from Observable.

168 {
169  cout << "No L matrix for 3D Dijet mass" << endl;
170 }

The documentation for this struct was generated from the following files:
DAS::Unfolding::DijetMass3D::Mjj_edges
static const std::vector< double > Mjj_edges
Definition: MjjYbYs.h:22
DAS::Unfolding::Observable::genBinning
TUnfoldBinning * genBinning
particle-level binning
Definition: Observable.h:150
DAS::Unfolding::Observable::Observable
Observable(const char *, const char *)
Constructor.
Definition: Observable.cc:26
DAS::Unfolding::DijetMass3D::nYbYsBins
static const size_t nYbYsBins
Definition: MjjYbYs.h:28
DAS::Unfolding::DijetMass3D::y_edges
static const std::vector< double > y_edges
Definition: MjjYbYs.h:26
DAS::Unfolding::Observable::recBinning
TUnfoldBinning * recBinning
detector-level binning
Definition: Observable.h:149