BOSS 7.0.9
BESIII Offline Software System
|
#include "TCanvas.h"
#include "TFile.h"
#include "TTree.h"
#include "TH1F.h"
#include <sstream>
#include <iostream>
#include <string>
#include <cstring>
#include <vector>
#include <algorithm>
#include <functional>
#include <cmath>
#include "binning.h"
Go to the source code of this file.
Functions | |
int | find_bgidx (int type, double bgg, double bg_min, double bg_step, int nbin) |
double | find_boundary (int type, int idx, double bg_min, double bg_step) |
void | t_to_h (TTree *t, TH1F *h) |
void | histgen (string, int, TObjArray &, vector< double > &) |
void | histps (string) |
void | hist_update () |
const bool | ps_flag (false) |
const bool | m_debug (false) |
int | main () |
Variables | |
const int | na = 10 |
const int | nc = 2 |
const double | muon_step = (double)(bg_muon_max - bg_muon_min) / (double)bg_muon_bin |
const double | electron_step = (double)(bg_electron_max - bg_electron_min) / (double)bg_electron_bin |
TFile * | f_temp = new TFile("temp.root", "recreate") |
int find_bgidx | ( | int | type, |
double | bgg, | ||
double | bg_min, | ||
double | bg_step, | ||
int | nbin | ||
) |
Definition at line 92 of file histgen.cxx.
Referenced by histgen().
double find_boundary | ( | int | type, |
int | idx, | ||
double | bg_min, | ||
double | bg_step | ||
) |
Definition at line 104 of file histgen.cxx.
Referenced by histgen().
void hist_update | ( | ) |
Definition at line 271 of file histgen.cxx.
Referenced by main().
void histgen | ( | string | filename, |
int | type, | ||
TObjArray & | hist, | ||
vector< double > & | bg | ||
) |
Definition at line 149 of file histgen.cxx.
Referenced by main().
void histps | ( | string | name | ) |
Definition at line 248 of file histgen.cxx.
Referenced by main().
int main | ( | ) |
Definition at line 43 of file histgen.cxx.
void t_to_h | ( | TTree * | t, |
TH1F * | h | ||
) |
Definition at line 110 of file histgen.cxx.
Referenced by histgen().
const double electron_step = (double)(bg_electron_max - bg_electron_min) / (double)bg_electron_bin |
Definition at line 29 of file histgen.cxx.
TFile* f_temp = new TFile("temp.root", "recreate") |
Definition at line 41 of file histgen.cxx.
const double muon_step = (double)(bg_muon_max - bg_muon_min) / (double)bg_muon_bin |
Definition at line 28 of file histgen.cxx.
const int na = 10 |
Definition at line 25 of file histgen.cxx.
Referenced by TLine0::appendByszdistance(), TMLine::appendByszdistance(), and histgen().
const int nc = 2 |
Definition at line 26 of file histgen.cxx.
Referenced by XmlRpc::XmlRpcServerConnection::executeMulticall(), KalmanKinematicFit::Fit(), KinematicFit::Fit(), MinorBase::freeidxM3(), histgen(), EvtConExc::ISR_ang_sampling(), and XmlRpc::XmlRpcUtil::nextTagIs().