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