EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairRunAna.h>
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) |
FairRuntimeDb * | GetRuntimeDb (void) |
TFile * | GetOutputFile () |
Int_t | GetRunId () |
FairEventHeader * | GetEventHeader () |
Bool_t | IsAna () |
FairTask * | GetTask (const char *taskName) |
FairTask * | GetMainTask () |
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 FairRunAna * | Instance () |
Static Public Member Functions inherited from FairRun | |
static FairRun * | Instance () |
static void | JanaPluginMode (bool what) |
static bool | JanaPluginMode (void) |
Protected Attributes | |
FairRunInfo | fRunInfo |
Bool_t | fIsInitialized |
TFile * | fInputGeoFile |
Bool_t | fLoadGeo |
FairEventHeader * | fEvtHeader |
FairMCEventHeader * | fMCHeader |
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 | |
FairLogger * | fLogger |
FairRuntimeDb * | fRtdb |
FairTask * | fTask |
const char * | fOutname |
FairRootManager * | fRootManager |
TFile * | fOutFile |
UInt_t | fRunId |
Bool_t | fAna |
FairEventHeader * | fEvHead |
FairFileHeader * | fFileHeader |
Bool_t | fWriteRunInfo |
int | mEvCurrent |
Static Protected Attributes | |
static FairRunAna * | fgRinstance = 0 |
Static Protected Attributes inherited from FairRun | |
static FairRun * | fRunInstance = 0 |
static bool | mJanaPluginMode = false |
Private Member Functions | |
FairRunAna (const FairRunAna &M) | |
FairRunAna & | operator= (const FairRunAna &) |
Definition at line 29 of file FairRunAna.h.
View newest version in sPHENIX GitHub at line 29 of file FairRunAna.h
|
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.
|
private |
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.
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.
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().
void FairRunAna::AddSignalFile | ( | TString | name, |
UInt_t | identifier | ||
) |
Add signal file to input
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.
void FairRunAna::BGWindowWidthNo | ( | UInt_t | background, |
UInt_t | Signalid | ||
) |
Set the signal to background ratio in event units
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.
void FairRunAna::BGWindowWidthTime | ( | Double_t | background, |
UInt_t | Signalid | ||
) |
Set the signal to background rate in time units
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.
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().
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().
|
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().
|
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().
|
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.
|
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.
|
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.
|
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().
|
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().
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().
|
static |
Definition at line 43 of file FairRunAna.cxx.
View newest version in sPHENIX GitHub at line 43 of file FairRunAna.cxx
References fgRinstance.
Referenced by ClassImp(), EicEventManager::EicEventManager(), EicRecoKalmanTask::EicRecoKalmanTask(), FairBoxSetDraw::Exec(), FairTrackParH::FairTrackParH(), FairTrackParP::FairTrackParP(), PndGenfitField::get(), FwdHoughTree::GetBzAtIP(), PndPidCorrelator::GetTrackInfo(), FairGeane::Init(), FairEventManagerEditor::Init(), HtcKalmanFilter::KalmanFilterMagneticField(), CbmRichHitProducer::SetParContainers(), CbmRichTestHits::SetParContainers(), CbmRichTestSim::SetParContainers(), CbmRichProjectionProducer::SetParContainers(), CbmRichGeoTest::SetParContainers(), PndRecoMultiKalmanTask::SetParContainers(), PndRecoKalmanTask::SetParContainers(), EicDigiHitProducer::SetParContainers(), FairTrackParP::SetTrackPar(), and FairTrackParH::SetTrackPar().
|
inline |
Definition at line 114 of file FairRunAna.h.
View newest version in sPHENIX GitHub at line 114 of file FairRunAna.h
References fTimeStamps.
|
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().
|
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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.
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().
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().
|
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.
|
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().
|
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().
|
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.
|
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.
|
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.
|
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
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.
|
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().
|
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
|
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
|
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
|
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
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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
|
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().