LauSPlot.hh
Go to the documentation of this file.
std::map< TString, NumbMap > cN_ The extended sPlot coefficients (for each species and for each combination of excluded vars) ... Definition: LauSPlot.hh:349 std::vector< NumbMap > pdfTot_ The per-event values of the total PDF for each species. Definition: LauSPlot.hh:335 Bool_t definedSWeightBranches_ Flag whether the sWeights branches have already been created. Definition: LauSPlot.hh:315 void initialiseFitter(const TString &opt) Initialise Minuit, set the verbosity. Definition: LauSPlot.cc:735 void setFitParameters() const Add the species yields as fit parameters and fix them as appropriate. Definition: LauSPlot.cc:761 void runCalculations(const TString &option="q") Method to calculate the sWeights and cN coeffs. Definition: LauSPlot.cc:626 LauSPlot(const TString &fileName, const TString &treeName, Int_t firstExpt, Int_t nExpt, const NameSet &variableNames, const LauSPlot::NumbMap &freeSpecies, const LauSPlot::NumbMap &fixdSpecies, const TwoDMap &twodimPDFs, Bool_t sigSplit=kFALSE, Bool_t scfDPSmeared=kFALSE) Constructor. Definition: LauSPlot.cc:49 void calcTotPDFValues(const TString &exclName) Calculate the total likelihood for each species by multiply together all the PDFs for that species... Definition: LauSPlot.cc:928 void readInputInfo() Read the leaf structure from the tree and check the status of the read (calls LauSPlot::readInputLeav... Definition: LauSPlot.cc:130 std::vector< std::map< TString, NumbMap > > discPdf_ The per-event values of the PDFs for each species for each disc variable. Definition: LauSPlot.hh:337 TEventList * eventList_ Pointer to an event list, that is used to loop through the experiments. Definition: LauSPlot.hh:287 void printSumOfWeights(const TString &exclName) const Print the sum of sWeights for all species. Definition: LauSPlot.cc:859 std::multimap< TString, std::pair< TString, TString > > TwoDMap Type to associate the name of the species that have 2D PDFs with the names of the two variables invol... Definition: LauSPlot.hh:68 void createCNTree() Create (if not already done) the tree for storing the cN coeffs. Definition: LauSPlot.cc:358 TString inputTreeName_ The name of the input tree (containing the per-event llhds) Definition: LauSPlot.hh:272 TwoDMap twodimPDFs_ The names of the species that have 2D PDFs and the names of the variables involved. Definition: LauSPlot.hh:303 void readExpt() Reads the values of each PDF likelihood for every event in the experiment. Definition: LauSPlot.cc:494 std::vector< Double_t > scfFrac_ The per-event values of the SCF fraction. Definition: LauSPlot.hh:339 Bool_t readInput_ Flag whether the input tree has been successfully read. Definition: LauSPlot.hh:311 TString cnTreeName_ The name of the cn tree (containing the cN coefficients) Definition: LauSPlot.hh:274 Bool_t signalSplit() const Check whether the signal is split into Truth Matched and Self Cross Feed. Definition: LauSPlot.hh:131 void writeOutResults() Save the sWeight results as a friend tree to the input tree (in the same file) Definition: LauSPlot.cc:1224 void calcSWeights(const TString &exclName, Double_t *covmat=0) Computes the sWeights from the PDFs and covariance matrix. Definition: LauSPlot.cc:1148 NumbMap origFreeSpecies_ The names and estimated yields of the free species - need to keep the original values. Definition: LauSPlot.hh:299 LeafMap leaves_ Collection to hold pointers to the leaves of the input tree. Definition: LauSPlot.hh:290 TTree * cnTree_ Pointer to the output tree containing the cN coefficients. Definition: LauSPlot.hh:282 void copyEventWeights(Int_t iEvent) Copy the sWeight of a given event into LauSPlot::sWeightsCurrent_, from which they can be stored in t... Definition: LauSPlot.cc:1212 void openInputFileAndTree() Method to open the file in "update" mode and grab the input tree for reading. Definition: LauSPlot.cc:107 void setExperiment(Int_t iExpt) Set the event list to contain only events from the given experiment. Definition: LauSPlot.cc:459 std::map< TString, Double_t > NumbMap Type to associate a category name with a double precision number, e.g. a yield or PDF value for a giv... Definition: LauSPlot.hh:62 TString sweightTreeName_ The name of the sweight tree (containing the sWeights) Definition: LauSPlot.hh:276 void printCovMatrixElements(const Double_t *covmat=0) const Print the supplied covariance matrix or, if pointer is null, the one previously calculated. Definition: LauSPlot.cc:814 void createSWeightTree() Create (if not already done) the tree for storing the sWeights. Definition: LauSPlot.cc:372 std::map< TString, TLeaf * > LeafMap Type to associate a variable name with the leaf of the input tree. Definition: LauSPlot.hh:65 Bool_t readInput() const Check whether the input tree has been successfully read. Definition: LauSPlot.hh:119 void calcCNCoeffs(const TString &exclName, const Double_t *covmat=0) Computes the cN for the extended sPlots from the covariance matrix. Definition: LauSPlot.cc:1122 const std::vector< LauSPlot::NumbMap > & totalPdf() const Access the per-event total PDF values for each species. Definition: LauSPlot.hh:112 std::map< TString, NumbMap > sWeightsCurrent_ The current-event values of the computed sWeights. Definition: LauSPlot.hh:347 Bool_t readInputLeaves() Read the leaf structure from the tree and setup the leaf map. Definition: LauSPlot.cc:146 Bool_t definedCNBranches_ Flag whether the cN branches have already been created. Definition: LauSPlot.hh:313 NumbMap fixdSpecies_ The names and estimated yields of the fixed species. Definition: LauSPlot.hh:297 void retrieveFittedParameters(const TString &opt) Update the yields with the newly fitted values and print them (unless print option is "Q")... Definition: LauSPlot.cc:837 void readInput(Bool_t ok) Set that the input tree has been successfully read. Definition: LauSPlot.hh:125 void definedCNBranches(Bool_t defined) Set that the cN branches have been already defined. Definition: LauSPlot.hh:149 void addFriendTree() Add the sWeightTree as a friend tree of the input tree. Definition: LauSPlot.cc:1246 void definedSWeightBranches(Bool_t defined) Set that the sWeights branches have been already defined. Definition: LauSPlot.hh:161 Bool_t definedSWeightBranches() const Check whether the sWeights branches have been already created. Definition: LauSPlot.hh:155 Bool_t definedCNBranches() const Check whether the cN branches have been already created. Definition: LauSPlot.hh:143 std::vector< std::map< TString, NumbMap > > sWeights_ The per-event values of the computed sWeights (for each species and for each combination of excluded ... Definition: LauSPlot.hh:345 Bool_t checkLeaves() const Check whether the leaf structure makes sense given the PDFs we are expecting. Definition: LauSPlot.cc:189 std::set< TString > NameSet Type to store names, e.g. of the discriminating/control variables. Definition: LauSPlot.hh:59 Bool_t scfDPSmear() const Check whether the Self Cross Feed is smeared in the DP. Definition: LauSPlot.hh:137 NumbMap origFixdSpecies_ The names and estimated yields of the fixed species - need to keep the original values. Definition: LauSPlot.hh:301 Generated by 1.8.5 |