|
FairRoot/PandaRoot
|
#include <algorithm>#include "TFile.h"#include "TTree.h"#include "TString.h"#include "TH1F.h"#include "TCanvas.h"#include "TROOT.h"#include "TEventList.h"#include "TDirectory.h"#include <iostream>#include "TLine.h"#include "TLatex.h"#include "TStyle.h"#include "TObjArray.h"#include "TPRegexp.h"#include <map>#include <utility>Go to the source code of this file.
Macros | |
| #define | MAX 1000 |
| #define | BINS 500 |
| #define | NCAN 3 |
Functions | |
| bool | mycompare (int i, int j) |
| double | bestSignificance (TH1 *h1, TH1 *h2, double &bestcut, double fac2=1.) |
| int | countEvents (TTree *t, TString ccut) |
| int | countEvents (TTree *t, TEventList &el) |
| double | diffQA (TH1F &ht1, TH1F &ht2) |
| double | bestEff (TH1 *h1, TH1 *h2, double &bestcut, double supr2=0.8, double fac2=1.) |
| double | bestSuppression (TH1 *h1, TH1 *h2, double &bestcut, double eff=0.9) |
| double | bestSuppressionEvt (TTree *t, TString precut, TString varname, TString sigcut, TString bgcut, double &bestcut, double eff, int idx) |
| double | bestSeparation (TTree *t, TString varname, TEventList &els, TEventList &elb, double &bestcut, double eff, int idx) |
| double | bestSuppressionEvt (TTree *t, TString varname, TEventList &els, TEventList &elb, double &bestcut, double eff, int idx) |
| void | findLimits (TTree *t, TString var, TString ccut, double &low, double &high, double frac=0.98) |
| int | cutfinder_fullev (TString pre, TString ntp, TString sigcut, TString precut="", double n0s=50., double n0b=500., double supr=0.9) |
Variables | |
| std::map< int, int > | evcnt |
| double | signi [MAX] |
| int | idx [MAX] |
| TString | vars [MAX] |
| double | cut [MAX] |
| double | minh [MAX] |
| double | maxh [MAX] |
| double | N0_sig |
| double | N0_bg |
| double | Nsigev |
| double | Nbgev |
| #define BINS 500 |
Definition at line 21 of file cutfinder_fullev.C.
| #define MAX 1000 |
Definition at line 20 of file cutfinder_fullev.C.
Referenced by cutfinder_fullev().
| #define NCAN 3 |
Definition at line 22 of file cutfinder_fullev.C.
| double bestEff | ( | TH1 * | h1, |
| TH1 * | h2, | ||
| double & | bestcut, | ||
| double | supr2 = 0.8, |
||
| double | fac2 = 1. |
||
| ) |
Definition at line 147 of file cutfinder_fullev.C.
| double bestSeparation | ( | TTree * | t, |
| TString | varname, | ||
| TEventList & | els, | ||
| TEventList & | elb, | ||
| double & | bestcut, | ||
| double | eff, | ||
| int | idx | ||
| ) |
| double bestSignificance | ( | TH1 * | h1, |
| TH1 * | h2, | ||
| double & | bestcut, | ||
| double | fac2 = 1. |
||
| ) |
Definition at line 41 of file cutfinder_fullev.C.
| double bestSuppression | ( | TH1 * | h1, |
| TH1 * | h2, | ||
| double & | bestcut, | ||
| double | eff = 0.9 |
||
| ) |
| double bestSuppressionEvt | ( | TTree * | t, |
| TString | precut, | ||
| TString | varname, | ||
| TString | sigcut, | ||
| TString | bgcut, | ||
| double & | bestcut, | ||
| double | eff, | ||
| int | idx | ||
| ) |
| double bestSuppressionEvt | ( | TTree * | t, |
| TString | varname, | ||
| TEventList & | els, | ||
| TEventList & | elb, | ||
| double & | bestcut, | ||
| double | eff, | ||
| int | idx | ||
| ) |
| int countEvents | ( | TTree * | t, |
| TString | ccut | ||
| ) |
| int countEvents | ( | TTree * | t, |
| TEventList & | el | ||
| ) |
| int cutfinder_fullev | ( | TString | pre, |
| TString | ntp, | ||
| TString | sigcut, | ||
| TString | precut = "", |
||
| double | n0s = 50., |
||
| double | n0b = 500., |
||
| double | supr = 0.9 |
||
| ) |
Definition at line 534 of file cutfinder_fullev.C.
References bestSuppressionEvt(), c1, cnt, countEvents(), cut, elb, els, f, h1, h2, i, idx, MAX, maxh, minh, mycompare(), N0_bg, N0_sig, Nbgev, nsig, Nsigev, signi, t, TString, and vars.
| double diffQA | ( | TH1F & | ht1, |
| TH1F & | ht2 | ||
| ) |
| void findLimits | ( | TTree * | t, |
| TString | var, | ||
| TString | ccut, | ||
| double & | low, | ||
| double & | high, | ||
| double | frac = 0.98 |
||
| ) |
| bool mycompare | ( | int | i, |
| int | j | ||
| ) |
Definition at line 36 of file cutfinder_fullev.C.
| double cut[MAX] |
Definition at line 29 of file cutfinder_fullev.C.
| std::map<int, int> evcnt |
Definition at line 24 of file cutfinder_fullev.C.
| int idx[MAX] |
Definition at line 27 of file cutfinder_fullev.C.
| double maxh[MAX] |
Definition at line 31 of file cutfinder_fullev.C.
| double minh[MAX] |
Definition at line 31 of file cutfinder_fullev.C.
| double N0_bg |
Definition at line 33 of file cutfinder_fullev.C.
| double N0_sig |
Definition at line 33 of file cutfinder_fullev.C.
| double Nbgev |
Definition at line 34 of file cutfinder_fullev.C.
| double Nsigev |
Definition at line 34 of file cutfinder_fullev.C.
| double signi[MAX] |
Definition at line 26 of file cutfinder_fullev.C.
Definition at line 28 of file cutfinder_fullev.C.
1.8.5