BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
Spill.C File Reference
#include <TCanvas.h>
#include <TClonesArray.h>
#include <TDatime.h>
#include <TH1D.h>
#include <map>
#include <utility>
#include <vector>
Include dependency graph for Spill.C:

Go to the source code of this file.

Functions

void Draw2Can (TCanvas *c, TH1 *h1, TH1 *h2=nullptr)
 flux ~= sum [BT * (DAQ_Busy -peds)/ (DAQ_TRigger - peds)]
void Spill (int period=7, TString beam="C", TString target="", TString digi_path="/ncx/scratch1/ilnur/mini_release/", TString txtfile_path="$VMCWORKDIR/database/uni_db/macros/parse_schemes/spill_run7/SRC_Data.txt", TString scheme_path="$VMCWORKDIR/database/uni_db/macros/parse_schemes/spill_run7/spill_run7_src_full.xslt")

Function Documentation

◆ Draw2Can()

void Draw2Can ( TCanvas * c,
TH1 * h1,
TH1 * h2 = nullptr )

Definition at line 12 of file Spill.C.

References TCanvas::cd(), TH1::Draw(), TH1::GetMaximum(), max(), TH1::SetMaximum(), and TH1::SetMinimum().

Referenced by Spill().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Spill()

void Spill ( int period = 7,
TString beam = "C",
TString target = "",
TString digi_path = "/ncx/scratch1/ilnur/mini_release/",
TString txtfile_path = "$VMCWORKDIR/database/uni_db/macros/parse_schemes/spill_run7/SRC_Data.txt",
TString scheme_path = "$VMCWORKDIR/database/uni_db/macros/parse_schemes/spill_run7/spill_run7_src_full.xslt" )