tree2a.C File Reference

#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


Function Documentation

void helixStep ( Float_t  step,
Float_t vect,
Float_t vout 
)

Definition at line 54 of file tree2a.C.

References f2.

void tree2a (  ) 

Definition at line 200 of file tree2a.C.

References tree2ar(), and tree2aw().

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().


Variable Documentation

const Int_t MAXMEC = 30

Definition at line 24 of file tree2a.C.


Generated on Tue Jul 5 16:09:38 2011 for ROOT_528-00b_version by  doxygen 1.5.1