Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
HalOTF::EventGenerator Class Reference
Inheritance diagram for HalOTF::EventGenerator:
Hal::Object HalOTF::EventGeneratorDecay

Public Member Functions

void SetSpiecies (const TH2D &h, Int_t pid)
 
void SetMultHisto (TH1D &h)
 
void SetFixMult (Int_t mult)
 
void SetSmear (Double_t smear)
 
void SetEvents (OTF::McEvent *mc, OTF::RecoEvent *reco)
 
virtual Bool_t Init ()
 
- Public Member Functions inherited from Hal::Object
 Object ()
 
virtual TString GetExtractType () const
 
virtual TString HTMLExtract (Int_t, TString="") const
 
virtual void HTMLExtractIntoTable (Int_t, HtmlTable &, TString="", TString="") const
 
virtual void Add (const Object *pack)
 
virtual Long64_t Merge (TCollection *collection)
 
virtual Bool_t CanBeTableElement () const
 

Protected Member Functions

virtual void GenerateEvent ()
 

Protected Attributes

TH2D * fSpectras = {nullptr}
 
TH1D * fMultiplicity = {nullptr}
 
Int_t fFixedMultiplicity = {-1}
 
Int_t fPids = {211}
 
Int_t fCharge = {1}
 
Int_t fCurrrentMult = {0}
 
Double_t fMass = {0}
 
Double_t fSmear = {0}
 
OTF::McEventfMcEvent = {nullptr}
 
OTF::RecoEventfRecoEvent = {nullptr}
 

Friends

class HalOTF::Source
 

Detailed Description

Definition at line 29 of file OTFEventGenerator.h.

Constructor & Destructor Documentation

◆ EventGenerator()

HalOTF::EventGenerator::EventGenerator ( )

Definition at line 61 of file OTFEventGenerator.cxx.

◆ ~EventGenerator()

HalOTF::EventGenerator::~EventGenerator ( )
virtual

Definition at line 95 of file OTFEventGenerator.cxx.

Member Function Documentation

◆ GenerateEvent()

void HalOTF::EventGenerator::GenerateEvent ( )
protectedvirtual

Definition at line 26 of file OTFEventGenerator.cxx.

◆ Init()

Bool_t HalOTF::EventGenerator::Init ( )
virtual

Definition at line 90 of file OTFEventGenerator.cxx.

◆ SetEvents()

void HalOTF::EventGenerator::SetEvents ( OTF::McEvent * mc,
OTF::RecoEvent * reco )
inline

Definition at line 62 of file OTFEventGenerator.h.

◆ SetFixMult()

void HalOTF::EventGenerator::SetFixMult ( Int_t mult)

fixes multiplicity

Definition at line 84 of file OTFEventGenerator.cxx.

◆ SetMultHisto()

void HalOTF::EventGenerator::SetMultHisto ( TH1D & h)

set multiplicity histogram

Parameters
h

Definition at line 78 of file OTFEventGenerator.cxx.

◆ SetSmear()

void HalOTF::EventGenerator::SetSmear ( Double_t smear)
inline

Definition at line 61 of file OTFEventGenerator.h.

◆ SetSpiecies()

void HalOTF::EventGenerator::SetSpiecies ( const TH2D & h,
Int_t pid )
Parameters
hhistogram x-axis eta, y-axis pt
pidpid of particle
mmultiplicity

Definition at line 63 of file OTFEventGenerator.cxx.

Friends And Related Symbol Documentation

◆ HalOTF::Source

friend class HalOTF::Source
friend

Definition at line 30 of file OTFEventGenerator.h.

Member Data Documentation

◆ fCharge

Int_t HalOTF::EventGenerator::fCharge = {1}
protected

Definition at line 37 of file OTFEventGenerator.h.

◆ fCurrrentMult

Int_t HalOTF::EventGenerator::fCurrrentMult = {0}
protected

Definition at line 38 of file OTFEventGenerator.h.

◆ fFixedMultiplicity

Int_t HalOTF::EventGenerator::fFixedMultiplicity = {-1}
protected

Definition at line 35 of file OTFEventGenerator.h.

◆ fMass

Double_t HalOTF::EventGenerator::fMass = {0}
protected

Definition at line 39 of file OTFEventGenerator.h.

◆ fMcEvent

OTF::McEvent* HalOTF::EventGenerator::fMcEvent = {nullptr}
protected

Definition at line 41 of file OTFEventGenerator.h.

◆ fMultiplicity

TH1D* HalOTF::EventGenerator::fMultiplicity = {nullptr}
protected

Definition at line 34 of file OTFEventGenerator.h.

◆ fPids

Int_t HalOTF::EventGenerator::fPids = {211}
protected

Definition at line 36 of file OTFEventGenerator.h.

◆ fRecoEvent

OTF::RecoEvent* HalOTF::EventGenerator::fRecoEvent = {nullptr}
protected

Definition at line 42 of file OTFEventGenerator.h.

◆ fSmear

Double_t HalOTF::EventGenerator::fSmear = {0}
protected

Definition at line 40 of file OTFEventGenerator.h.

◆ fSpectras

TH2D* HalOTF::EventGenerator::fSpectras = {nullptr}
protected

Definition at line 33 of file OTFEventGenerator.h.


The documentation for this class was generated from the following files: