#include "QSigExTTreePDF.h" |
QSigExTTreePDF
class description - header file - source file - inheritance tree (.pdf)
protected:
virtual QSigExDis* GetFunction(const QList<TString>& pdfentry, TDirectory* fluxdir, const TCut& fgcuts, QList<TString>* inputs, Bool_t* pdfneedscuts)
virtual const Char_t* GetPDFName(Int_t i)
public:
QSigExTTreePDF()
QSigExTTreePDF(TDirectory* dir, const Char_t* cardfilename = "NULL")
virtual ~QSigExTTreePDF()
static TClass* Class()
virtual TClass* IsA() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
QSigExTTreePDF
This class is a QSigExPDFs derived class that creates 1d
QSigExDisTH marginal PDFs from raw TTree objects. For each flux
group, it also creates a clean TTree which branches are those used
to create the marginal PDFs.
QSigExDis* GetFunction(const QList<TString>& pdfentry, TDirectory* fluxdir, const TCut& fgcuts, QList<TString>* inputs, Bool_t *pdfneedscuts)
This protected function uses the pdf card file formatted entry pdfentry, a
pointer to the TDirectory of the PDF flux group and the combined cuts fgcuts
to create a function used in QSigExPDFs::Get() to produce a marginal PDF
object. In order to create this function, it loads a raw TTree object from a
ROOT file for the PDF flux group, creates a new TTree using the combined
cuts and puts it in fluxdir. Finally, it creates a new 1d QSigExDisTH object from
this new TTree. GetFunction() returns a QSigExDis pointer to this new object.
inputs is filled with the coordinate name of the QSigExDisTH function.
pdfneedscuts is set to kFALSE since the function applies cuts on the
raw TTree. The clean TTree can be used by other QSigExDirHandler classes to
take into account the correlations between PDFs variables.
Syntax of a card file entry:
pdf [...] [objname] [filename] [c1] [nbins]
where [...] are the fields defined in QSigExPDFs::LoadCardFile, [objname]
the name of the object in the ROOT file [filename], where [c1] is the
coordinate name and where [nbins] is the number of bins for the new QSigExDisTH
function. The [typeid] field defined in QSigExPDFs must be equal to "TTree".
If not, the pdf entry is ignored and GetFunction returns NULL.
Author: Pierre-Luc Drouin
Last update: Fri Nov 17 16:35:15 2006
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.