#include "TFile.h"
#include "TTree.h"
#include "TBrowser.h"
#include "TH2.h"
#include "TRandom.h"
#include "TCanvas.h"
Go to the source code of this file.
Classes | |
struct | Gctrak_t |
Functions | |
void | helixStep (Float_t step, Float_t *vect, Float_t *vout) |
void | tree2w () |
void | tree2r () |
void | tree2 () |
Variables | |
const Int_t | MAXMEC = 30 |
void tree2 | ( | ) |
Definition at line 200 of file tree2.C.
References tree2r(), and tree2w().
Referenced by MakeTrees().
void tree2r | ( | ) |
Definition at line 157 of file tree2.C.
References c1, TCanvas::cd(), TPad::Divide(), TTree::Draw(), TH1::Fill(), TH1::Fit(), TTree::GetBranch(), TTree::GetEntries(), TBranch::GetEntry(), gPad, gROOT, i, TROOT::IsBatch(), kRed, nentries, TBranch::SetAddress(), TAttFill::SetFillColor(), and TAttMarker::SetMarkerColor().
Referenced by tree2().
void tree2w | ( | ) |
Definition at line 80 of file tree2.C.
References TMath::Abs(), TTree::Branch(), Gctrak_t::destep, TTree::Fill(), TRandom::Gaus(), Gctrak_t::gekin, Gctrak_t::getot, gRandom, helixStep(), i, if(), kFALSE, kTRUE, l, Gctrak_t::lmec, Gctrak_t::nmec, p, Gctrak_t::pid, TRandom::Rndm(), TMath::Sqrt(), Gctrak_t::step, Gctrak_t::vect, and TTree::Write().
Referenced by tree2().