ATLFMCMaker
class description - source file - inheritance tree
public:
ATLFMCMaker ATLFMCMaker()
ATLFMCMaker ATLFMCMaker(char* name, char* title)
ATLFMCMaker ATLFMCMaker(ATLFMCMaker&)
void ~ATLFMCMaker()
Float_t Angle(Float_t px, Float_t py)
Int_t Charge(Int_t kf)
TClass* Class()
virtual void CleanParticles()
virtual void Clear(Option_t* option)
Int_t Compress(Int_t kf)
virtual void Draw(Option_t* option)
Float_t* Eta()
virtual void Finish()
TObject* Generator()
Int_t HadronisationMode()
Int_t* Index()
virtual void Init()
virtual Bool_t Is3D()
virtual TClass* IsA()
virtual Int_t Make()
Int_t Nstables()
Int_t Nstart()
Int_t Nstop()
virtual void Paint(Option_t* option)
Float_t* Phi()
virtual void PrintInfo()
Int_t ProductionMode()
Float_t* PT()
Float_t* PT2()
Float_t Rapidity(Float_t pt, Float_t pz)
Int_t RndNumber()
virtual void SetHadronisationMode(Int_t mode = 3)
virtual void SetProductionMode(Int_t mode = 1)
virtual void SetRndNumber(const Int_t number = 51111)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Sizeof3D()
virtual void Streamer(TBuffer& b)
protected:
Int_t m_ProductionMode Production mode (see Init)
Int_t m_HadronisationMode Hadronisation mode (see Init)
Int_t m_RndNumber RndNumber(see Init)
Int_t m_Nparticles Number of MC particles
Int_t m_Nstop Last parton number
Int_t m_Nstart First non-parton number
Int_t m_Nstables Number of stable particles
TObject* m_Generator !Pointer to the event generator
TFile* m_File Pointer to MC file
TTree* m_Tree Pointer to MC tree
Float_t* m_PT !Array with PT of particles
Float_t* m_PT2 !Array with PT**2 of particles
Float_t* m_Eta !Array with ETA of particles
Float_t* m_Phi !Array with PHI of particles
Int_t* m_Index !Array with index of stable particles
ATLFast MCMaker class.
This class generates MC events or read events from a file.
ATLFMCMaker()
ATLFMCMaker(const char *name, const char *title)
:ATLFMaker(name,title)
~ATLFMCMaker()
void CleanParticles()
Clean particles array before writing to file
if m_Save = 1 (default), save only hard scattered particles
if m_Save = 2 save all particles (used by event display)
void Clear(Option_t *option)
Reset Cell Maker
void Draw(Option_t *)
Add itself to the list of graphics primitives in pad
void Init()
.............................................
Initialize the Event generator
The current implementation supports two operational modes
A- Generation on the fly using Pythia with the following 10 modes
1- H-->gam gam
2- Z-->ee
3- Z-->mumu
4- H-->ZZ-->4e
5- H-->ZZ-->4mu
6- H-->ZZ-->2mu2e
7- WH, H-->bb, W-->lnu
8- WH, H-->gg, W-->lnu
9- WH, H-->jj, W-->lnu
10- bbA, A--> tau tau
B- Read a Root Tree file previously generated with one of the modes above
101- Read file pythia1.root with H-->gam gam events
102- Read file pythia2.root with Z-->ee events
.....
110 Read file pythia10.root with bbA, A--> tau tau events
C- Read a GENZ file
201
The operational mode is selected via ATLFMCMaker->SetProductionMode.
.............................................
void Finish()
Function called when all makers for one event have been called
Int_t Make()
.............................................
This function generates one MonteCarlo event
Read from a file if production mode > 100
else generation on the fly
void Paint(Option_t *option)
Paint generated particles
void Sizeof3D() const
void PrintInfo()
Float_t Angle(Float_t x, Float_t y)
Compute phi angle of particle
... this is a copy of function ULANGL
.. sign(a,b) = -abs(a) if b < 0
= abs(a) if b >= 0
Int_t Charge(Int_t kf)
... this is copy of function LUCHGE
...Purpose: to give three times the charge for a particle/parton.
Int_t Compress(Int_t kf)
... this is copy of function LUCOMP
...Purpose: to compress the standard KF codes for use in mass and decay
...arrays; also to check whether a given code actually is defined.
from BLOCK LUDATA
Float_t Rapidity(Float_t pt, Float_t pz)
Compute rapidity
Inline Functions
Float_t* PT()
Float_t* PT2()
Float_t* Eta()
Float_t* Phi()
Int_t* Index()
TObject* Generator()
Bool_t Is3D()
Int_t Nstables()
Int_t ProductionMode()
Int_t HadronisationMode()
Int_t RndNumber()
void SetHadronisationMode(Int_t mode = 3)
void SetProductionMode(Int_t mode = 1)
void SetRndNumber(const Int_t number = 51111)
Int_t Nstop()
Int_t Nstart()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
ATLFMCMaker ATLFMCMaker(ATLFMCMaker&)
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.