AliPhysics  1168478 (1168478)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 
 ClassDef (EPosSim, 1)
 
- 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
 
 ClassDef (FastSim, 3)
 

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 1782 of file FastSim.C.

Constructor & Destructor Documentation

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

Definition at line 1784 of file FastSim.C.

Referenced by LocalRun(), and Run().

Member Function Documentation

void EPosSim::Begin ( TTree )
inlinevirtual

Set up job

Reimplemented from FastSim.

Definition at line 1833 of file FastSim.C.

Referenced by LocalRun().

EPosSim::ClassDef ( EPosSim  ,
 
)
void EPosSim::FinishRun ( )
inlinevirtual

Reimplemented from FastSim.

Definition at line 1998 of file FastSim.C.

void EPosSim::Generate ( )
inlinevirtual

Reimplemented from FastSim.

Definition at line 1997 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 1883 of file FastSim.C.

void EPosSim::Init ( TTree )
inlinevirtual

Set up job

Reimplemented from FastSim.

Definition at line 1846 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 2029 of file FastSim.C.

Bool_t EPosSim::Notify ( )
inline

Called when the file changes

Returns
true on success, false otherwise

Definition at line 1867 of file FastSim.C.

void EPosSim::PostEvent ( )
inlinevirtual

Do final event processing (fill output)

Reimplemented from FastSim.

Definition at line 1988 of file FastSim.C.

Bool_t EPosSim::PreEvent ( Long64_t  iEv)
inlinevirtual

Reimplemented from FastSim.

Definition at line 1893 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 1910 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 1947 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 2116 of file FastSim.C.

Referenced by RunEPos().

Bool_t EPosSim::SetupBranches ( )
inline

Definition at line 1807 of file FastSim.C.

Referenced by Init(), and Notify().

Bool_t EPosSim::SetupGen ( )
inlinevirtual

Set-up the generator.

Returns
true on success

Reimplemented from FastSim.

Definition at line 1885 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 2058 of file FastSim.C.

Referenced by Run().

Bool_t EPosSim::SetupRun ( )
inlinevirtual

Setup the generator etc. of the job

Returns
true on success

Reimplemented from FastSim.

Definition at line 1892 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 1884 of file FastSim.C.

Int_t EPosSim::Version ( ) const
inline

Definition at line 2215 of file FastSim.C.

Member Data Documentation

TLeaf* EPosSim::fInB

Definition at line 2001 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInE

Definition at line 2007 of file FastSim.C.

Referenced by ProcessParticles(), and SetupBranches().

TLeaf* EPosSim::fInM

Definition at line 2008 of file FastSim.C.

Referenced by SetupBranches().

TLeaf* EPosSim::fInNcoll

Definition at line 2012 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInNcollH

Definition at line 2009 of file FastSim.C.

Referenced by SetupBranches().

TLeaf* EPosSim::fInNpartP

Definition at line 2010 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInNpartT

Definition at line 2011 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInNSpcPN

Definition at line 2013 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInNSpcPP

Definition at line 2015 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInNSpcTN

Definition at line 2014 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInNSpcTP

Definition at line 2016 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInNTot

Definition at line 2000 of file FastSim.C.

Referenced by ProcessParticles(), and SetupBranches().

TLeaf* EPosSim::fInPDG

Definition at line 2002 of file FastSim.C.

Referenced by ProcessParticles(), and SetupBranches().

TLeaf* EPosSim::fInPhiR

Definition at line 2017 of file FastSim.C.

Referenced by ProcessHeader(), and SetupBranches().

TLeaf* EPosSim::fInPx

Definition at line 2004 of file FastSim.C.

Referenced by ProcessParticles(), and SetupBranches().

TLeaf* EPosSim::fInPy

Definition at line 2005 of file FastSim.C.

Referenced by ProcessParticles(), and SetupBranches().

TLeaf* EPosSim::fInPz

Definition at line 2006 of file FastSim.C.

Referenced by ProcessParticles(), and SetupBranches().

TLeaf* EPosSim::fInStatus

Definition at line 2003 of file FastSim.C.

Referenced by ProcessParticles(), and SetupBranches().

TTree* EPosSim::fInTree

Definition at line 1999 of file FastSim.C.

Referenced by Init(), Notify(), PreEvent(), and SetupBranches().


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