FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairRunAnaProof Class Reference

#include <FairRunAnaProof.h>

Inheritance diagram for FairRunAnaProof:
FairRunAna FairRun

Public Member Functions

virtual ~FairRunAnaProof ()
 
 FairRunAnaProof (const char *proofName="")
 
void Init ()
 
void InitContainers ()
 
void Run (Int_t NStart=0, Int_t NStop=0)
 
void RunOneEvent (Long64_t entry)
 
void RunOnProof (Int_t NStart, Int_t NStop)
 
TProof * GetProof ()
 
void SetRunOnProofWorker (Bool_t tb=kTRUE)
 
void SetProofParName (TString parName)
 
void SetOutputDirectory (TString dirName)
 
void SetProofOutputStatus (TString outStat)
 
virtual void SetSource (FairSource *tempSource)
 
- Public Member Functions inherited from FairRunAna
virtual ~FairRunAna ()
 
 FairRunAna ()
 
void Run (Double_t delta_t)
 
void Run (Long64_t entry)
 
void RunEventReco (Int_t NStart, Int_t NStop)
 
void RunTSBuffers ()
 
void DummyRun (Int_t NStart, Int_t NStop)
 
void RunMQ (Long64_t entry)
 
void RunOnLmdFiles (UInt_t NStart=0, UInt_t NStop=0)
 
void RunOnTBData ()
 
void TerminateRun ()
 
void SetEventHeaderPersistence (Bool_t flag)
 
void Reinit (UInt_t runId)
 
UInt_t getRunId ()
 
FairFieldGetField ()
 
void SetField (FairField *ffield)
 
void SetGeomFile (const char *GeoFileName)
 
TFile * GetGeoFile ()
 
void SetContainerStatic (Bool_t tempBool=kTRUE)
 
Bool_t GetContainerStatic ()
 
void RunWithTimeStamps ()
 
Bool_t IsTimeStamp ()
 
void StopProcessingLMD (void)
 
Bool_t GetLMDProcessingStatus (void)
 
- Public Member Functions inherited from FairRun
 FairRun (Bool_t isMaster=kTRUE)
 
virtual ~FairRun ()
 
virtual void AddTask (FairTask *t)
 
virtual void StoreTaskNames (const FairTask *t)
 
virtual void SetTask (FairTask *t)
 
void SetEventHeader (FairEventHeader *EvHeader)
 
FairRuntimeDbGetRuntimeDb (void)
 
void SetSink (FairSink *tempSink)
 
FairSinkGetSink ()
 
Int_t GetRunId ()
 
void SetRunId (UInt_t runId)
 
FairEventHeaderGetEventHeader ()
 
Bool_t IsAna ()
 
FairTaskGetTask (const char *taskName)
 
FairTaskGetMainTask ()
 
Int_t GetNTasks ()
 
void CreateGeometryFile (const char *geofile)
 
void SetWriteRunInfoFile (Bool_t write)
 
void SetGenerateRunInfo (Bool_t write)
 
Bool_t GetWriteRunInfoFile ()
 
Bool_t IsRunInfoGenerated ()
 
void SetUseFairLinks (Bool_t val)
 
Bool_t GetIsMaster () const
 
void MarkFill (Bool_t flag)
 
TString GetOptions ()
 
void SetOptions (const TString &s)
 
virtual void SetOutputFile (const char *fname)
 
virtual void SetOutputFile (TFile *f)
 
void SetOutputFileName (const TString &name)
 
TFile * GetOutputFile ()
 
void SetUserOutputFileName (const TString &name)
 
TString GetUserOutputFileName () const
 
void AddAlignmentMatrices (const std::map< std::string, TGeoHMatrix > &alignmentMatrices, bool invertMatrices=false)
 

Static Public Member Functions

static FairRunAnaProofInstance ()
 
- Static Public Member Functions inherited from FairRunAna
static FairRunAnaInstance ()
 
- Static Public Member Functions inherited from FairRun
static FairRunInstance ()
 

Protected Attributes

TProof * fProof
 
Bool_t fRunOnProofWorker
 
TString fProofServerName
 
TString fProofParName
 
TString fOutputDirectory
 
TString fProofOutputStatus
 
- Protected Attributes inherited from FairRunAna
Bool_t fIsInitialized
 
TFile * fInputGeoFile
 
Bool_t fLoadGeo
 
Bool_t fStatic
 
FairFieldfField
 
Bool_t fTimeStamps
 
Bool_t fInFileIsOpen
 
Double_t fEventTimeMin
 
Double_t fEventTimeMax
 
Double_t fEventTime
 
Double_t fEventMeanTime
 
TF1 * fTimeProb
 
Bool_t fFinishProcessingLMDFile
 
FairFileSourcefFileSource
 
FairMixedSourcefMixedSource
 
Bool_t fStoreEventHeader
 
- Protected Attributes inherited from FairRun
FairRuntimeDbfRtdb
 
FairTaskfTask
 
FairRootManagerfRootManager
 
FairSinkfSink
 
TString fUserOutputFileName
 
TString fOptions
 
UInt_t fRunId
 
Bool_t fAna
 
FairEventHeaderfEvtHeader
 
FairFileHeaderfFileHeader
 
Bool_t fGenerateRunInfo
 
Bool_t fIsMaster
 
Bool_t fMarkFill
 
FairAlignmentHandler fAlignmentHandler
 

Static Protected Attributes

static FairRunAnaProoffRAPInstance = 0
 
- Static Protected Attributes inherited from FairRunAna
static FairRunAnafgRinstance = 0
 
- Static Protected Attributes inherited from FairRun
static TMCThreadLocal FairRunfRunInstance = 0
 

Additional Inherited Members

- Protected Member Functions inherited from FairRunAna
virtual void Fill ()
 
 ClassDef (FairRunAna, 6)
 
- Protected Member Functions inherited from FairRun
void AlignGeometry () const
 
 ClassDef (FairRun, 5)
 

Detailed Description

Configure and manage the Analysis on proof

Author
R. Karabowicz
Version
0.1
Since
30.04.2013

Definition at line 24 of file FairRunAnaProof.h.

Constructor & Destructor Documentation

FairRunAnaProof::~FairRunAnaProof ( )
virtual

Definition at line 61 of file FairRunAnaProof.cxx.

FairRunAnaProof::FairRunAnaProof ( const char *  proofName = "")

Definition at line 36 of file FairRunAnaProof.cxx.

Member Function Documentation

TProof* FairRunAnaProof::GetProof ( )
inline

set the input tree of fRootManager when running on PROOF worker GetProof

Definition at line 59 of file FairRunAnaProof.h.

void FairRunAnaProof::Init ( )
virtual

initialize the run manager

Set the IO Manager to run with time stamps

Reimplemented from FairRunAna.

Definition at line 63 of file FairRunAnaProof.cxx.

void FairRunAnaProof::InitContainers ( )

Init containers executed on PROOF, which is part of Init when running locally

Definition at line 234 of file FairRunAnaProof.cxx.

FairRunAnaProof * FairRunAnaProof::Instance ( )
static

Definition at line 34 of file FairRunAnaProof.cxx.

void FairRunAnaProof::Run ( Int_t  NStart = 0,
Int_t  NStop = 0 
)
virtual

Set the output file name for analysis or simulation Set the output file for analysis or simulationRun from event number NStart to event number NStop

Reimplemented from FairRunAna.

Definition at line 275 of file FairRunAnaProof.cxx.

void FairRunAnaProof::RunOneEvent ( Long64_t  entry)

Run for one event, used on PROOF nodes

Definition at line 281 of file FairRunAnaProof.cxx.

void FairRunAnaProof::RunOnProof ( Int_t  NStart,
Int_t  NStop 
)

Run on proof from event NStart to event NStop

Definition at line 308 of file FairRunAnaProof.cxx.

void FairRunAnaProof::SetOutputDirectory ( TString  dirName)
inline

Set directory for storing output files

Definition at line 66 of file FairRunAnaProof.h.

void FairRunAnaProof::SetProofOutputStatus ( TString  outStat)
inline

Set PROOF output status, possibilities: "copy","merge"

Definition at line 68 of file FairRunAnaProof.h.

void FairRunAnaProof::SetProofParName ( TString  parName)
inline

Set PROOF ARchive (PAR) file name

Definition at line 64 of file FairRunAnaProof.h.

void FairRunAnaProof::SetRunOnProofWorker ( Bool_t  tb = kTRUE)
inline

To be set to kTRUE only when running on PROOF worker, only by TSelector

Definition at line 62 of file FairRunAnaProof.h.

void FairRunAnaProof::SetSource ( FairSource tempSource)
virtual

Set the input signal file

Parameters
name: signal file name
identifier: Unsigned integer which identify the signal file

Reimplemented from FairRunAna.

Definition at line 265 of file FairRunAnaProof.cxx.

Member Data Documentation

TString FairRunAnaProof::fOutputDirectory
protected

Output directory

Definition at line 84 of file FairRunAnaProof.h.

TProof* FairRunAnaProof::fProof
protected

PROOF

Definition at line 76 of file FairRunAnaProof.h.

TString FairRunAnaProof::fProofOutputStatus
protected

Output status indicator: "copy","merge","dataset"

Definition at line 86 of file FairRunAnaProof.h.

TString FairRunAnaProof::fProofParName
protected

PROOF ARchive (PAR) file name

Definition at line 82 of file FairRunAnaProof.h.

TString FairRunAnaProof::fProofServerName
protected

PROOF server name

Definition at line 80 of file FairRunAnaProof.h.

FairRunAnaProof * FairRunAnaProof::fRAPInstance = 0
staticprotected

Definition at line 73 of file FairRunAnaProof.h.

Bool_t FairRunAnaProof::fRunOnProofWorker
protected

executing on PROOF worker

Definition at line 78 of file FairRunAnaProof.h.


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