AliPhysics  5403132 (5403132)
EPosSim Struct Reference
Inheritance diagram for EPosSim:

Public Member Functions

 EPosSim (UInt_t run=0, Int_t monitor=0)
 
Bool_t SetupBranches ()
 
void Begin (TTree *tree)
 
void Init (TTree *tree)
 
Bool_t Notify ()
 
const char * GetEGTitle () const
 
void SetupSeed ()
 
Bool_t SetupGen ()
 
Bool_t SetupRun ()
 
Bool_t PreEvent (Long64_t iEv)
 
Bool_t ProcessHeader ()
 
virtual Bool_t ProcessParticles (Bool_t selected)
 
void PostEvent ()
 
void Generate ()
 
void FinishRun ()
 
Int_t Version () const
 
- Public Member Functions inherited from FastSim
 FastSim (const char *eg="", ULong_t runNo=0, Double_t bMin=0, Double_t bMax=20, Long64_t nEvents=0, Int_t monitor=0)
 
const char * FileName () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual UShort_t GetSNN () const
 
Bool_t SetupOutput ()
 
virtual Bool_t SetupGRP ()
 
Bool_t ReadGRPLine ()
 
void OverrideGRP ()
 
void AddOverride (const TString &field, const TString &value)
 
void SlaveBegin (TTree *)
 
virtual void CheckTrigger (Double_t eta)
 
virtual Bool_t Process (Long64_t iEv)
 
void SlaveTerminate ()
 
void FlushList (TCollection *c, TDirectory *dir)
 
void Terminate ()
 
TFile * GetGAlice ()
 
TFile * GetKine ()
 
void MoveAliceFiles ()
 
Int_t Version () const
 

Static Public Member Functions

static Bool_t LocalRun (Long64_t nev, UInt_t run, Int_t monitor, Bool_t verbose)
 
static Bool_t SetupProof (const TUrl &url, const char *opt="")
 
static Bool_t Run (const char *url, const char *opt="")
 
- Static Public Member Functions inherited from FastSim
static Bool_t LocalRun (Long64_t nev, UInt_t run, const TString &gen, Double_t bMin, Double_t bMax, Int_t monitor, Bool_t verbose, const TString &overrides="")
 
static void ProofLoadLibs ()
 
static Bool_t ProofRun (const TUrl &url, Long64_t nev, UInt_t run, const TString &gen, Double_t bMin, Double_t bMax, Int_t monitor=-1, Bool_t verbose=false, const TString &overrides="", const TString &save="none", const char *opt="")
 
static Bool_t Str2KeyVal (const TString &in, TString &key, TString &val, const char sep='=')
 
static void SetOverrides (FastSim *sim, const TString &override)
 
static Bool_t Run (const char *url, const char *opt="")
 

Public Attributes

TTreefInTree
 
TLeaf * fInNTot
 
TLeaf * fInB
 
TLeaf * fInPDG
 
TLeaf * fInStatus
 
TLeaf * fInPx
 
TLeaf * fInPy
 
TLeaf * fInPz
 
TLeaf * fInE
 
TLeaf * fInM
 
TLeaf * fInNcollH
 
TLeaf * fInNpartP
 
TLeaf * fInNpartT
 
TLeaf * fInNcoll
 
TLeaf * fInNSpcPN
 
TLeaf * fInNSpcTN
 
TLeaf * fInNSpcPP
 
TLeaf * fInNSpcTP
 
TLeaf * fInPhiR
 
- Public Attributes inherited from FastSim
Bool_t fVerbose
 Output file name. More...
 
Int_t fMonitor
 
FastShortHeader fShortHead
 
TString fEGName
 
Int_t fRunNo
 
Double_t fBMin
 
Double_t fBMax
 
TObjectfGRP
 
TListfOverrides
 GRP in one line. More...
 
Long64_t fNEvents
 GRP setting to override. More...
 
Bool_t fIsTgtA
 
Bool_t fIsProjA
 True if target beam is nuclei. More...
 
AliGenerator * fGenerator
 
AliRunLoader * fRunLoader
 Event generator. More...
 
AliStack * fStack
 Loader of trees. More...
 
AliHeader * fHeader
 Stack of particles. More...
 
TTreefTree
 
TClonesArray * fParticles
 Custom tree. More...
 
TListfList
 
TH1fHEta
 List of outputs. More...
 
TH1fHY
 dN/deta More...
 
TH1fHIpz
 dN/dy More...
 
TH1fHType
 IPz histogram. More...
 
TH1fHCent
 Event type histogram. More...
 
TH1fHB
 Event type histogram. More...
 
TH1fHPhiR
 B histogram. More...
 
TH1fHTime
 Reaction plane. More...
 
TH1fHTrig
 Timing. More...
 
BCentEstimatorfBEstimator
 
TListfCentEstimators
 
TProofOutputFile * fProofFile
 
TProofOutputFile * fAliceFile
 Proof output file. More...
 
TProofOutputFile * fKineFile
 
TFile * fFile
 
TString fFileName
 Output file. More...
 

Detailed Description

Definition at line 1784 of file FastSim.C.

Constructor & Destructor Documentation

EPosSim::EPosSim ( UInt_t  run = 0,
Int_t  monitor = 0 
)
inline

Definition at line 1786 of file FastSim.C.

Member Function Documentation

void EPosSim::Begin ( TTree )
inlinevirtual

Set up job

Reimplemented from FastSim.

Definition at line 1835 of file FastSim.C.

Referenced by LocalRun().

void EPosSim::FinishRun ( )
inlinevirtual

Reimplemented from FastSim.

Definition at line 2013 of file FastSim.C.

void EPosSim::Generate ( )
inlinevirtual

Reimplemented from FastSim.

Definition at line 2012 of file FastSim.C.

const char* EPosSim::GetEGTitle ( ) const
inlinevirtual

Get the event generator title

Returns
Event generator title

Reimplemented from FastSim.

Definition at line 1885 of file FastSim.C.

void EPosSim::Init ( TTree )
inlinevirtual

Set up job

Reimplemented from FastSim.

Definition at line 1848 of file FastSim.C.

static Bool_t EPosSim::LocalRun ( Long64_t  nev,
UInt_t  run,
Int_t  monitor,
Bool_t  verbose 
)
inlinestatic

Run this selector as a normal process

Parameters
nevNumber of events
runRun number to anchor in
monitorMonitor frequency [s]
verboseWhether to be verbose
Returns
true on succes

Definition at line 2044 of file FastSim.C.

Bool_t EPosSim::Notify ( )
inline

Called when the file changes

Returns
true on success, false otherwise

Definition at line 1869 of file FastSim.C.

void EPosSim::PostEvent ( )
inlinevirtual

Do final event processing (fill output)

Reimplemented from FastSim.

Definition at line 2003 of file FastSim.C.

Bool_t EPosSim::PreEvent ( Long64_t  iEv)
inlinevirtual

Reimplemented from FastSim.

Definition at line 1908 of file FastSim.C.

Bool_t EPosSim::ProcessHeader ( )
inlinevirtual

Process the event header

Returns
true if the event should be diagnosed

Reimplemented from FastSim.

Definition at line 1925 of file FastSim.C.

virtual Bool_t EPosSim::ProcessParticles ( Bool_t  selected)
inlinevirtual

Process all particles

Parameters
selectedTrue if particle information should be diagnosed
Returns
true on success

Along beam axis

Along beam axis

Reimplemented from FastSim.

Definition at line 1962 of file FastSim.C.

static Bool_t EPosSim::Run ( const char *  url,
const char *  opt = "" 
)
inlinestatic

Run a simulation.

url is the execution URL of the form

PROTOCOL://[HOST[:PORT]]/[?OPTIONS]

Where PROTOCOL is one of

  • local for local (single thread) execution
  • lite for Proof-Lite execution
  • proof for Proof exection

HOST and PORT is only relevant for Proof.

Options is a list of & separated options

  • events=NEV Set the number of events to process
  • run=RUNNO Set the run number to anchor in
  • eg=NAME Set the event generator
  • b=RANGE Set the impact parameter range in fermi
  • monitor=SEC Set the update rate in seconds of monitor histograms
Parameters
urlExection URL
optOptimization used when compiling
Returns
true on success

Definition at line 2131 of file FastSim.C.

Referenced by RunEPos().

Bool_t EPosSim::SetupBranches ( )
inline

Definition at line 1809 of file FastSim.C.

Bool_t EPosSim::SetupGen ( )
inlinevirtual

Set-up the generator.

Returns
true on success

Reimplemented from FastSim.

Definition at line 1900 of file FastSim.C.

static Bool_t EPosSim::SetupProof ( const TUrl url,
const char *  opt = "" 
)
inlinestatic

Run this selector in PROOF(Lite)

Parameters
urlProof URL
optCompilation options
Returns
true on succes

Definition at line 2073 of file FastSim.C.

Bool_t EPosSim::SetupRun ( )
inlinevirtual

Setup the generator etc. of the job

Returns
true on success

Reimplemented from FastSim.

Definition at line 1907 of file FastSim.C.

void EPosSim::SetupSeed ( )
inlinevirtual

Set our seed. This will read a UInt_t worth of data from /dev/urandom

Reimplemented from FastSim.

Definition at line 1899 of file FastSim.C.

Int_t EPosSim::Version ( ) const
inline

Definition at line 2230 of file FastSim.C.

Member Data Documentation

TLeaf* EPosSim::fInB

Definition at line 2016 of file FastSim.C.

TLeaf* EPosSim::fInE

Definition at line 2022 of file FastSim.C.

TLeaf* EPosSim::fInM

Definition at line 2023 of file FastSim.C.

TLeaf* EPosSim::fInNcoll

Definition at line 2027 of file FastSim.C.

TLeaf* EPosSim::fInNcollH

Definition at line 2024 of file FastSim.C.

TLeaf* EPosSim::fInNpartP

Definition at line 2025 of file FastSim.C.

TLeaf* EPosSim::fInNpartT

Definition at line 2026 of file FastSim.C.

TLeaf* EPosSim::fInNSpcPN

Definition at line 2028 of file FastSim.C.

TLeaf* EPosSim::fInNSpcPP

Definition at line 2030 of file FastSim.C.

TLeaf* EPosSim::fInNSpcTN

Definition at line 2029 of file FastSim.C.

TLeaf* EPosSim::fInNSpcTP

Definition at line 2031 of file FastSim.C.

TLeaf* EPosSim::fInNTot

Definition at line 2015 of file FastSim.C.

TLeaf* EPosSim::fInPDG

Definition at line 2017 of file FastSim.C.

TLeaf* EPosSim::fInPhiR

Definition at line 2032 of file FastSim.C.

TLeaf* EPosSim::fInPx

Definition at line 2019 of file FastSim.C.

TLeaf* EPosSim::fInPy

Definition at line 2020 of file FastSim.C.

TLeaf* EPosSim::fInPz

Definition at line 2021 of file FastSim.C.

TLeaf* EPosSim::fInStatus

Definition at line 2018 of file FastSim.C.

TTree* EPosSim::fInTree

Definition at line 2014 of file FastSim.C.


The documentation for this struct was generated from the following file: