EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairRunAna Class Reference

#include <EicRoot/blob/master/base/FairRunAna.h>

+ Inheritance diagram for FairRunAna:
+ Collaboration diagram for FairRunAna:

Public Member Functions

virtual ~FairRunAna ()
 
 FairRunAna ()
 
 FairRunAna (const char *type, const char *proofName="")
 
void AddFriend (TString fName)
 
virtual void Init ()
 
virtual void Run (Int_t NStart, Int_t NStop)
 
void Run (Double_t delta_t)
 
void Run (Long64_t entry)
 
void RunOneEvent (Long64_t entry)
 
void RunMixed (Int_t NStart, Int_t NStop)
 
void RunTSBuffers ()
 
void DummyRun (Int_t NStart, Int_t NStop)
 
void RunOnProof (Int_t NStart, Int_t NStop)
 
void RunOnLmdFiles (UInt_t NStart=0, UInt_t NStop=0)
 
void TerminateRun ()
 
void SetSignalFile (TString name, UInt_t identifier)
 
void SetBackgroundFile (TString name)
 
void AddBackgroundFile (TString name)
 
void AddSignalFile (TString name, UInt_t identifier)
 
virtual void SetInputFile (TString fname)
 
void AddFile (TString name)
 
void Reinit (UInt_t runId)
 
UInt_t getRunId ()
 
FairField * GetField ()
 
void SetField (FairField *ffield)
 
void SetGeomFile (const char *GeoFileName)
 
TFile * GetGeoFile ()
 
void InitContainers ()
 
void SetInTree (TTree *tempTree)
 
void SetContainerStatic (Bool_t tempBool=kTRUE)
 
Bool_t GetContainerStatic ()
 
void RunWithTimeStamps ()
 
Bool_t IsTimeStamp ()
 
void CompressData ()
 
void SetEventTimeInterval (Double_t min, Double_t max)
 
void SetEventMeanTime (Double_t mean)
 
void BGWindowWidthNo (UInt_t background, UInt_t Signalid)
 
void BGWindowWidthTime (Double_t background, UInt_t Signalid)
 
TProof * GetProof ()
 
void SetRunOnProofWorker (Bool_t tb=kTRUE)
 
void SetProofParName (TString parName)
 
void SetOutputDirectory (TString dirName)
 
void SetProofOutputStatus (TString outStat)
 
void StopProcessingLMD (void)
 
Bool_t GetLMDProcessingStatus (void)
 
- Public Member Functions inherited from FairRun
 FairRun ()
 
virtual ~FairRun ()
 
virtual void AddTask (FairTask *t)
 
virtual void SetTask (FairTask *t)
 
virtual void SetOutputFile (const char *fname)
 
void SetOutputFile (TFile *f)
 
void SetEventHeader (FairEventHeader *EvHeader)
 
FairRuntimeDbGetRuntimeDb (void)
 
TFile * GetOutputFile ()
 
Int_t GetRunId ()
 
FairEventHeaderGetEventHeader ()
 
Bool_t IsAna ()
 
FairTaskGetTask (const char *taskName)
 
FairTaskGetMainTask ()
 
Int_t GetNTasks ()
 
void CreateGeometryFile (const char *geofile)
 
void SetWriteRunInfoFile (Bool_t write)
 
Bool_t GetWriteRunInfoFile ()
 
virtual void RunCoreStart (Int_t NStart=0, Int_t NStop=0)
 
virtual void RunCoreFinish (void)
 
virtual bool RunCoreImportNextEvent (void)
 
virtual void RunCoreProcessNextEvent (void)
 
virtual bool JanaLoopPossible (void) const
 
int GetCurrentEventIndex (void) const
 

Static Public Member Functions

static FairRunAnaInstance ()
 
- Static Public Member Functions inherited from FairRun
static FairRunInstance ()
 
static void JanaPluginMode (bool what)
 
static bool JanaPluginMode (void)
 

Protected Attributes

FairRunInfo fRunInfo
 
Bool_t fIsInitialized
 
TFile * fInputGeoFile
 
Bool_t fLoadGeo
 
FairEventHeaderfEvtHeader
 
FairMCEventHeaderfMCHeader
 
Bool_t fStatic
 
FairField * fField
 
Bool_t fTimeStamps
 
Bool_t fInFileIsOpen
 
Bool_t fMixedInput
 
Double_t fEventTimeMin
 
Double_t fEventTimeMax
 
Double_t fEventTime
 
Double_t fEventMeanTime
 
TF1 * fTimeProb
 
TProof * fProof
 
Bool_t fProofAnalysis
 
Bool_t fRunOnProofWorker
 
TString fProofServerName
 
TString fProofParName
 
TString fOutputDirectory
 
TString fProofOutputStatus
 
Bool_t fFinishProcessingLMDFile
 
- Protected Attributes inherited from FairRun
FairLoggerfLogger
 
FairRuntimeDbfRtdb
 
FairTaskfTask
 
const char * fOutname
 
FairRootManagerfRootManager
 
TFile * fOutFile
 
UInt_t fRunId
 
Bool_t fAna
 
FairEventHeaderfEvHead
 
FairFileHeaderfFileHeader
 
Bool_t fWriteRunInfo
 
int mEvCurrent
 

Static Protected Attributes

static FairRunAnafgRinstance = 0
 
- Static Protected Attributes inherited from FairRun
static FairRunfRunInstance = 0
 
static bool mJanaPluginMode = false
 

Private Member Functions

 FairRunAna (const FairRunAna &M)
 
FairRunAnaoperator= (const FairRunAna &)
 

Detailed Description

Definition at line 29 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 29 of file FairRunAna.h

Constructor & Destructor Documentation

FairRunAna::~FairRunAna ( )
virtual

Definition at line 138 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 138 of file FairRunAna.cxx

References fField.

FairRunAna::FairRunAna ( )

Definition at line 49 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 49 of file FairRunAna.cxx

References FairRun::fAna, and fgRinstance.

FairRunAna::FairRunAna ( const char *  type,
const char *  proofName = "" 
)

Definition at line 83 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 83 of file FairRunAna.cxx

References FairRun::fAna, fgRinstance, fProof, fProofAnalysis, and fProofServerName.

FairRunAna::FairRunAna ( const FairRunAna M)
private

Member Function Documentation

void FairRunAna::AddBackgroundFile ( TString  name)

Add input background file by name

Definition at line 828 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 828 of file FairRunAna.cxx

References FairRootManager::AddBackgroundFile(), FairLogger::Fatal(), FairRun::fLogger, fMixedInput, FairRun::fRootManager, and MESSAGE_ORIGIN.

+ Here is the call graph for this function:

void FairRunAna::AddFile ( TString  name)

Add a file to input chain

Definition at line 866 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 866 of file FairRunAna.cxx

References FairRootManager::AddFile(), and FairRun::fRootManager.

+ Here is the call graph for this function:

void FairRunAna::AddFriend ( TString  fName)

Add a friend file (input) by name)

Definition at line 849 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 849 of file FairRunAna.cxx

References FairRootManager::AddFriend(), FairLogger::Fatal(), fIsInitialized, FairRun::fLogger, FairRun::fRootManager, and MESSAGE_ORIGIN.

Referenced by EicRunAna::AddFriend().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::AddSignalFile ( TString  name,
UInt_t  identifier 
)

Add signal file to input

Parameters
name: signal file name
identifier: Unsigned integer which identify the signal file to which this signal should be added

Definition at line 837 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 837 of file FairRunAna.cxx

References FairRootManager::AddSignalFile(), FairLogger::Fatal(), FairRun::fLogger, fMixedInput, FairRun::fRootManager, and MESSAGE_ORIGIN.

+ Here is the call graph for this function:

void FairRunAna::BGWindowWidthNo ( UInt_t  background,
UInt_t  Signalid 
)

Set the signal to background ratio in event units

Parameters
background: Number of background Events for one signal
Signalid: Signal file Id, used when adding (setting) the signal file here we just forward the call to the FairRootManager

Definition at line 913 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 913 of file FairRunAna.cxx

References FairRootManager::BGWindowWidthNo(), and FairRun::fRootManager.

+ Here is the call graph for this function:

void FairRunAna::BGWindowWidthTime ( Double_t  background,
UInt_t  Signalid 
)

Set the signal to background rate in time units

Parameters
background: Time of background Events before one signal
Signalid: Signal file Id, used when adding (setting) the signal file here we just forward the call to the FairRootManager

Definition at line 918 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 918 of file FairRunAna.cxx

References FairRootManager::BGWindowWidthTime(), and FairRun::fRootManager.

+ Here is the call graph for this function:

void FairRunAna::CompressData ( )

Definition at line 888 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 888 of file FairRunAna.cxx

References FairRun::fRootManager, and FairRootManager::SetCompressData().

+ Here is the call graph for this function:

void FairRunAna::DummyRun ( Int_t  NStart,
Int_t  NStop 
)

the dummy run does not check the evt header or the parameters!!

This methode is just for testing, if you are not sure about what you do, don't use it

Definition at line 696 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 696 of file FairRunAna.cxx

References FairRootManager::Fill(), FairTask::FinishTask(), FairRun::fRootManager, FairRun::fTask, and FairRootManager::Write().

Referenced by Run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool_t FairRunAna::GetContainerStatic ( )
inline

Definition at line 112 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 112 of file FairRunAna.h

References fStatic.

Referenced by FairAnaSelector::Init().

+ Here is the caller graph for this function:

FairField* FairRunAna::GetField ( )
inline

Get the magnetic field

Definition at line 86 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 86 of file FairRunAna.h

References fField.

Referenced by FairTrackParH::FairTrackParH(), FairTrackParP::FairTrackParP(), PndGenfitField::get(), FwdHoughTree::GetBzAtIP(), PndPidCorrelator::GetTrackInfo(), FairGeane::Init(), HtcKalmanFilter::KalmanFilterMagneticField(), FairTrackParP::SetTrackPar(), and FairTrackParH::SetTrackPar().

+ Here is the caller graph for this function:

TFile* FairRunAna::GetGeoFile ( )
inline

Return a pointer to the geometry file

Definition at line 96 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 96 of file FairRunAna.h

References fInputGeoFile.

Bool_t FairRunAna::GetLMDProcessingStatus ( void  )
inline

Get the status of lmd file proccessing

Definition at line 163 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 163 of file FairRunAna.h

References fFinishProcessingLMDFile.

TProof* FairRunAna::GetProof ( )
inline

GetProof

Definition at line 139 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 139 of file FairRunAna.h

References fProof.

UInt_t FairRunAna::getRunId ( )
inline

Definition at line 82 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 82 of file FairRunAna.h

References FairRun::fRunId.

Referenced by ClassImp(), and FairEventManagerEditor::Init().

+ Here is the caller graph for this function:

void FairRunAna::Init ( )
virtual

initialize the run manager

Set the IO Manager to run with time stamps

Implements FairRun.

Reimplemented in EicRunAna.

Definition at line 172 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 172 of file FairRunAna.cxx

References FairRootManager::AddFriendsToChain(), FairRuntimeDb::addRun(), FairFieldFactory::createFairField(), exit(), FairLogger::Fatal(), fEvtHeader, fField, FairRun::fFileHeader, fInFileIsOpen, fInputGeoFile, fIsInitialized, fLoadGeo, FairRun::fLogger, fMCHeader, fMixedInput, FairRun::fOutFile, fProofAnalysis, FairRun::fRootManager, FairRun::fRtdb, FairRun::fRunId, fRunOnProofWorker, FairRun::fTask, fTimeStamps, FairRunIdGenerator::generateId(), FairRuntimeDb::getContainer(), FairRun::GetEventHeader(), FairBaseParSet::GetGeometry(), FairRootManager::GetInChain(), FairRootManager::GetInFile(), FairRootManager::GetObject(), FairEventHeader::GetRunId(), FairMCEventHeader::GetRunID(), FairRun::GetRuntimeDb(), FairLogger::Info(), FairTrajFilter::Init(), FairRuntimeDb::initContainers(), FairTask::InitTask(), FairFieldFactory::Instance(), FairTrajFilter::Instance(), k, MESSAGE_ORIGIN, FairRootManager::OpenBackgroundChain(), FairRootManager::OpenInChain(), FairRootManager::OpenInTree(), FairRootManager::OpenSignalChain(), FairRootManager::ReadBKEvent(), FairRootManager::ReadEvent(), FairEventHeader::Register(), FairRootManager::RunWithTimeStamps(), FairRootManager::SetEvtHeaderNew(), FairRootManager::SetOutTree(), FairFieldFactory::SetParm(), FairTask::SetParTask(), FairFileHeader::SetRunId(), FairEventHeader::SetRunId(), FairRootManager::TruncateBranchNames(), FairRootManager::WriteFileHeader(), and FairRootManager::WriteFolder().

Referenced by EicEventManager::Init(), FairEventManager::Init(), and EicRunAna::Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::InitContainers ( )

Initialization of parameter container is set to static, i.e: the run id is is not checked anymore after initializationInit containers executed on PROOF, which is part of Init when running locally

Definition at line 404 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 404 of file FairRunAna.cxx

References fEvtHeader, fInFileIsOpen, fMCHeader, FairRun::fRootManager, FairRun::fRtdb, FairRun::fRunId, FairRun::fTask, FairRuntimeDb::getContainer(), FairBaseParSet::GetGeometry(), FairRootManager::GetObjectFromInTree(), FairEventHeader::GetRunId(), FairMCEventHeader::GetRunID(), FairRun::GetRuntimeDb(), FairRuntimeDb::initContainers(), FairRootManager::ReadEvent(), FairEventHeader::Register(), FairTask::ReInitTask(), FairRootManager::SetEvtHeaderNew(), and FairEventHeader::SetRunId().

Referenced by FairAnaSelector::Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool_t FairRunAna::IsTimeStamp ( )
inline

Definition at line 114 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 114 of file FairRunAna.h

References fTimeStamps.

FairRunAna& FairRunAna::operator= ( const FairRunAna )
inlineprivate

Definition at line 171 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 171 of file FairRunAna.h

void FairRunAna::Reinit ( UInt_t  runId)

Definition at line 859 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 859 of file FairRunAna.cxx

References FairRun::fRtdb, and FairRuntimeDb::initContainers().

Referenced by Run(), EicRunAna::RunCoreProcessNextEvent(), and RunOneEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::Run ( Int_t  NStart,
Int_t  NStop 
)
virtual

Run from event number NStart to event number NStop

if we have simulation files then they have MC Event Header and the Run Id is in it, any way it would be better to make FairMCEventHeader a subclass of FairEvtHeader.

Implements FairRun.

Reimplemented in EicRunAna.

Definition at line 483 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 483 of file FairRunAna.cxx

References FairRootManager::DeleteOldWriteoutBufferData(), DummyRun(), fEvtHeader, FairRootManager::Fill(), fInFileIsOpen, FairTask::FinishEvent(), FairTask::FinishTask(), fMCHeader, fMixedInput, fProofAnalysis, FairRun::fRootManager, FairRun::fRunId, fRunInfo, fStatic, FairRun::fTask, fTimeStamps, FairRun::fWriteRunInfo, FairRootManager::GetEventTime(), FairRootManager::GetInChain(), FairEventHeader::GetRunId(), FairMCEventHeader::GetRunID(), FairTrajFilter::Instance(), FairRootManager::IsEvtHeaderNew(), FairRootManager::LastFill(), FairRootManager::ReadEvent(), Reinit(), FairTask::ReInitTask(), FairRunInfo::Reset(), FairTrajFilter::Reset(), RunMixed(), RunOnProof(), RunTSBuffers(), FairRootManager::StoreAllWriteoutBufferData(), FairRunInfo::StoreInfo(), FairRootManager::StoreWriteoutBufferData(), FairRootManager::Write(), and FairRunInfo::WriteInfo().

Referenced by FairEventManager::GotoEvent(), FairEventManager::NextEvent(), and FairEventManager::PrevEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::Run ( Double_t  delta_t)

Run over the whole input file with timpe window delta_t as unit (entry)

Definition at line 573 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 573 of file FairRunAna.cxx

References FairRootManager::DeleteOldWriteoutBufferData(), FairRootManager::Fill(), FairTask::FinishEvent(), FairTask::FinishTask(), FairRun::fRootManager, FairRun::fTask, FairTrajFilter::Instance(), FairRootManager::LastFill(), FairRootManager::ReadNextEvent(), FairTrajFilter::Reset(), FairRootManager::StoreAllWriteoutBufferData(), and FairRootManager::Write().

+ Here is the call graph for this function:

void FairRunAna::Run ( Long64_t  entry)

Run for the given single entry

Definition at line 594 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 594 of file FairRunAna.cxx

References FairRootManager::DeleteOldWriteoutBufferData(), fEvtHeader, FairRootManager::Fill(), FairTask::FinishTask(), FairRun::fRootManager, FairRun::fRunId, fStatic, FairRun::fTask, FairEventHeader::GetRunId(), FairRootManager::LastFill(), FairRootManager::ReadEvent(), Reinit(), FairTask::ReInitTask(), and FairRootManager::Write().

+ Here is the call graph for this function:

void FairRunAna::RunMixed ( Int_t  NStart,
Int_t  NStop 
)

Run from event number NStart to event number NStop over mixed input files

Definition at line 440 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 440 of file FairRunAna.cxx

References FairRootManager::CheckMaxEventNo(), FairLogger::Debug(), FairRootManager::DeleteOldWriteoutBufferData(), FairRootManager::Fill(), FairTask::FinishEvent(), FairTask::FinishTask(), FairRun::fLogger, FairRun::fRootManager, FairRun::fTask, FairRootManager::GetEventTime(), FairTrajFilter::Instance(), FairRootManager::LastFill(), MESSAGE_ORIGIN, FairRootManager::ReadEvent(), FairTrajFilter::Reset(), FairRootManager::StoreAllWriteoutBufferData(), FairRootManager::StoreWriteoutBufferData(), and FairRootManager::Write().

Referenced by Run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::RunOneEvent ( Long64_t  entry)

Run for one event, used on PROOF nodes

Definition at line 620 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 620 of file FairRunAna.cxx

References FairRootManager::DeleteOldWriteoutBufferData(), fEvtHeader, FairRootManager::Fill(), FairTask::FinishEvent(), FairRun::fRootManager, FairRun::fRunId, fStatic, FairRun::fTask, fTimeStamps, FairRootManager::GetEventTime(), FairEventHeader::GetRunId(), FairRootManager::ReadEvent(), Reinit(), FairTask::ReInitTask(), RunTSBuffers(), and FairRootManager::StoreWriteoutBufferData().

Referenced by FairAnaSelector::Process().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::RunOnLmdFiles ( UInt_t  NStart = 0,
UInt_t  NStop = 0 
)

Run on a list of lmd files

Same result like break

Definition at line 672 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 672 of file FairRunAna.cxx

References fFinishProcessingLMDFile, FairRootManager::Fill(), FairTask::FinishTask(), FairRun::fLogger, FairRun::fRootManager, FairRun::fTask, FairLogger::Info(), MESSAGE_ORIGIN, and FairRootManager::Write().

+ Here is the call graph for this function:

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

run on proof from event NStart to event NStop

Definition at line 711 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 711 of file FairRunAna.cxx

References FairRootManager::CloseOutFile(), fOutputDirectory, fProof, fProofOutputStatus, fProofParName, fProofServerName, FairRun::fRootManager, FairRun::fRtdb, fStatic, FairRun::fTask, FairParIo::getFilename(), FairRuntimeDb::getFirstInput(), FairRootManager::GetInChain(), FairRootManager::GetOutFile(), and FairRuntimeDb::getSecondInput().

Referenced by Run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::RunTSBuffers ( )

Run over all TSBuffers until the data is processed

Definition at line 646 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 646 of file FairRunAna.cxx

References FairRootManager::AllDataProcessed(), FairRootManager::DeleteOldWriteoutBufferData(), FairRootManager::Fill(), FairTask::FinishEvent(), FairTask::FinishTask(), FairRun::fRootManager, FairRun::fTask, FairTrajFilter::Instance(), FairRootManager::LastFill(), FairRootManager::ReadEvent(), FairTrajFilter::Reset(), FairRootManager::StoreAllWriteoutBufferData(), and FairRootManager::Write().

Referenced by Run(), and RunOneEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::RunWithTimeStamps ( )

Definition at line 872 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 872 of file FairRunAna.cxx

References exit(), FairLogger::Fatal(), fIsInitialized, FairRun::fLogger, FairRun::fRootManager, fTimeStamps, MESSAGE_ORIGIN, FairRootManager::RunWithTimeStamps(), and FairLogger::Warning().

+ Here is the call graph for this function:

void FairRunAna::SetBackgroundFile ( TString  name)

Set the input background file by name

Definition at line 821 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 821 of file FairRunAna.cxx

References FairRun::fLogger, fMixedInput, FairRun::fRootManager, FairLogger::Info(), MESSAGE_ORIGIN, and FairRootManager::SetBackgroundFile().

+ Here is the call graph for this function:

void FairRunAna::SetContainerStatic ( Bool_t  tempBool = kTRUE)

Definition at line 903 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 903 of file FairRunAna.cxx

References FairRun::fLogger, fStatic, FairLogger::Info(), and MESSAGE_ORIGIN.

+ Here is the call graph for this function:

void FairRunAna::SetEventMeanTime ( Double_t  mean)

Set the mean time for the event in ns

Definition at line 898 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 898 of file FairRunAna.cxx

References FairRun::fRootManager, and FairRootManager::SetEventMeanTime().

+ Here is the call graph for this function:

void FairRunAna::SetEventTimeInterval ( Double_t  min,
Double_t  max 
)

Set the min and max limit for event time in ns

Definition at line 893 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 893 of file FairRunAna.cxx

References FairRun::fRootManager, and FairRootManager::SetEventTimeInterval().

+ Here is the call graph for this function:

void FairRunAna::SetField ( FairField *  ffield)
inline

Set the magnetic Field

Definition at line 90 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 90 of file FairRunAna.h

References fField.

void FairRunAna::SetGeomFile ( const char *  GeoFileName)

Set external geometry file

Definition at line 151 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 151 of file FairRunAna.cxx

References FairLogger::Error(), exit(), FairLogger::Fatal(), fInputGeoFile, fIsInitialized, fLoadGeo, FairRun::fLogger, FairLogger::Info(), and MESSAGE_ORIGIN.

+ Here is the call graph for this function:

void FairRunAna::SetInputFile ( TString  fname)
virtual

Set the input file by name

Reimplemented in EicRunAna.

Definition at line 804 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 804 of file FairRunAna.cxx

References fMixedInput, FairRun::fRootManager, and FairRootManager::SetInputFile().

Referenced by EicEventManager::SetInputFile(), and EicRunAna::SetInputFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::SetInTree ( TTree *  tempTree)
inline

set the input tree of fRootManager when running on PROOF worker

Definition at line 107 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 107 of file FairRunAna.h

References FairRun::fRootManager, and FairRootManager::SetInTree().

Referenced by FairAnaSelector::Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunAna::SetOutputDirectory ( TString  dirName)
inline

Set directory for storing output files

Definition at line 150 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 150 of file FairRunAna.h

References fOutputDirectory.

void FairRunAna::SetProofOutputStatus ( TString  outStat)
inline

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

Definition at line 154 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 154 of file FairRunAna.h

References fProofOutputStatus.

void FairRunAna::SetProofParName ( TString  parName)
inline

Set PROOF ARchive (PAR) file name

Definition at line 146 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 146 of file FairRunAna.h

References fProofParName.

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

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

Definition at line 142 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 142 of file FairRunAna.h

References fRunOnProofWorker.

void FairRunAna::SetSignalFile ( TString  name,
UInt_t  identifier 
)

Set the input signal file

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

Definition at line 811 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 811 of file FairRunAna.cxx

References FairRootManager::AddSignalFile(), FairLogger::Fatal(), FairRun::fLogger, fMixedInput, FairRun::fRootManager, FairLogger::Info(), and MESSAGE_ORIGIN.

+ Here is the call graph for this function:

void FairRunAna::StopProcessingLMD ( void  )
inline

Set the flag for proccessing lmd files

Definition at line 159 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 159 of file FairRunAna.h

References fFinishProcessingLMDFile.

void FairRunAna::TerminateRun ( )

finish tasks, write output

Definition at line 788 of file FairRunAna.cxx.

View newest version in sPHENIX GitHub at line 788 of file FairRunAna.cxx

References FairRootManager::CloseOutFile(), FairTask::FinishTask(), FairRun::fRootManager, FairRun::fTask, FairRootManager::GetOutFile(), FairRootManager::LastFill(), FairRootManager::StoreAllWriteoutBufferData(), and FairRootManager::Write().

Referenced by FairAnaSelector::SlaveTerminate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Double_t FairRunAna::fEventMeanTime
protected

EventMean time used (P(t)=1/fEventMeanTime*Exp(-t/fEventMeanTime)

Definition at line 200 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 200 of file FairRunAna.h

Double_t FairRunAna::fEventTime
protected

Time of event since th start (ns)

Definition at line 198 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 198 of file FairRunAna.h

Double_t FairRunAna::fEventTimeMax
protected

max time for one Event (ns)

Definition at line 196 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 196 of file FairRunAna.h

Double_t FairRunAna::fEventTimeMin
protected

min time for one event (ns)

Definition at line 194 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 194 of file FairRunAna.h

FairEventHeader* FairRunAna::fEvtHeader
protected

Definition at line 184 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 184 of file FairRunAna.h

Referenced by Init(), InitContainers(), Run(), EicRunAna::RunCoreProcessNextEvent(), and RunOneEvent().

FairField* FairRunAna::fField
protected

Definition at line 188 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 188 of file FairRunAna.h

Referenced by GetField(), Init(), SetField(), and ~FairRunAna().

Bool_t FairRunAna::fFinishProcessingLMDFile
protected

Flag for proccessing lmd-files

Definition at line 218 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 218 of file FairRunAna.h

Referenced by GetLMDProcessingStatus(), RunOnLmdFiles(), and StopProcessingLMD().

FairRunAna * FairRunAna::fgRinstance = 0
staticprotected

Definition at line 182 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 182 of file FairRunAna.h

Referenced by FairRunAna(), and Instance().

Bool_t FairRunAna::fInFileIsOpen
protected

Definition at line 190 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 190 of file FairRunAna.h

Referenced by Init(), InitContainers(), Run(), and EicRunAna::RunCoreStart().

TFile* FairRunAna::fInputGeoFile
protected

Definition at line 181 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 181 of file FairRunAna.h

Referenced by GetGeoFile(), Init(), and SetGeomFile().

Bool_t FairRunAna::fIsInitialized
protected

This variable became true after Init is called

Definition at line 180 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 180 of file FairRunAna.h

Referenced by AddFriend(), Init(), RunWithTimeStamps(), and SetGeomFile().

Bool_t FairRunAna::fLoadGeo
protected

Definition at line 183 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 183 of file FairRunAna.h

Referenced by Init(), and SetGeomFile().

FairMCEventHeader* FairRunAna::fMCHeader
protected

Definition at line 185 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 185 of file FairRunAna.h

Referenced by Init(), InitContainers(), Run(), and EicRunAna::RunCoreProcessNextEvent().

Bool_t FairRunAna::fMixedInput
protected

True if signal and background mixing is used

Definition at line 192 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 192 of file FairRunAna.h

Referenced by AddBackgroundFile(), AddSignalFile(), Init(), Run(), EicRunAna::RunCoreStart(), SetBackgroundFile(), SetInputFile(), and SetSignalFile().

TString FairRunAna::fOutputDirectory
protected

Output directory

Definition at line 214 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 214 of file FairRunAna.h

Referenced by RunOnProof(), and SetOutputDirectory().

TProof* FairRunAna::fProof
protected

PROOF

Definition at line 204 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 204 of file FairRunAna.h

Referenced by FairRunAna(), GetProof(), and RunOnProof().

Bool_t FairRunAna::fProofAnalysis
protected

flag indicating running in PROOF mode

Definition at line 206 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 206 of file FairRunAna.h

Referenced by FairRunAna(), Init(), Run(), and EicRunAna::RunCoreStart().

TString FairRunAna::fProofOutputStatus
protected

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

Definition at line 216 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 216 of file FairRunAna.h

Referenced by RunOnProof(), and SetProofOutputStatus().

TString FairRunAna::fProofParName
protected

PROOF ARchive (PAR) file name

Definition at line 212 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 212 of file FairRunAna.h

Referenced by RunOnProof(), and SetProofParName().

TString FairRunAna::fProofServerName
protected

PROOF server name

Definition at line 210 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 210 of file FairRunAna.h

Referenced by FairRunAna(), and RunOnProof().

FairRunInfo FairRunAna::fRunInfo
protected

Definition at line 176 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 176 of file FairRunAna.h

Referenced by Run(), EicRunAna::RunCoreFinish(), EicRunAna::RunCoreProcessNextEvent(), and EicRunAna::RunCoreStart().

Bool_t FairRunAna::fRunOnProofWorker
protected

executing on PROOF worker

Definition at line 208 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 208 of file FairRunAna.h

Referenced by Init(), and SetRunOnProofWorker().

Bool_t FairRunAna::fStatic
protected

true for static initialisation of parameters

Definition at line 187 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 187 of file FairRunAna.h

Referenced by GetContainerStatic(), Run(), EicRunAna::RunCoreProcessNextEvent(), RunOneEvent(), RunOnProof(), and SetContainerStatic().

TF1* FairRunAna::fTimeProb
protected

used to generate random numbers for event time;

Definition at line 202 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 202 of file FairRunAna.h

Bool_t FairRunAna::fTimeStamps
protected

Definition at line 189 of file FairRunAna.h.

View newest version in sPHENIX GitHub at line 189 of file FairRunAna.h

Referenced by Init(), IsTimeStamp(), Run(), EicRunAna::RunCoreStart(), RunOneEvent(), and RunWithTimeStamps().


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