EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/parbase/FairParSet.h>
Public Member Functions | |
FairParSet (const char *name="", const char *title="", const char *context="") | |
virtual | ~FairParSet () |
virtual Bool_t | init () |
virtual Bool_t | init (FairParIo *io) |
virtual Int_t | write () |
virtual Int_t | write (FairParIo *) |
virtual void | clear () |
virtual void | print () |
const char * | getDetectorName () |
void | resetInputVersions () |
void | setInputVersion (Int_t v=-1, Int_t i=0) |
Int_t | getInputVersion (Int_t i) |
void | setStatic (Bool_t flag=kTRUE) |
Bool_t | isStatic () |
void | setChanged (Bool_t flag=kTRUE) |
Bool_t | hasChanged () |
const char * | getParamContext () const |
void | setAuthor (const char *s) |
const char * | getAuthor () const |
void | setDescription (const char *s) |
const char * | getDescription () const |
void | copyComment (FairParSet &r) |
Protected Attributes | |
TString | detName |
Int_t | versions [3] |
name of the detector the container belongs to | |
Bool_t | status |
versions of container in the 2 possible inputs | |
Bool_t | changed |
static flag | |
TString | paramContext |
flag is kTRUE if parameters have changed | |
TString | author |
TString | description |
FairLogger * | fLogger |
Private Member Functions | |
FairParSet & | operator= (const FairParSet &) |
FairParSet (const FairParSet &) | |
Definition at line 10 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 10 of file FairParSet.h
FairParSet::FairParSet | ( | const char * | name = "" , |
const char * | title = "" , |
||
const char * | context = "" |
||
) |
|
inlinevirtual |
Definition at line 24 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 24 of file FairParSet.h
|
private |
|
inlinevirtual |
Reimplemented in CbmGeoRichPar, FairBaseParSet, PndSensorNamePar, EicGeoPar, and PndGeoPassivePar.
Definition at line 29 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 29 of file FairParSet.h
Referenced by FairDetParRootFileIo::read().
|
inline |
Definition at line 54 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 54 of file FairParSet.h
References author, description, getAuthor(), and getDescription().
|
inline |
Definition at line 49 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 49 of file FairParSet.h
References author.
Referenced by copyComment(), FairDetParTSQLIo::write(), and FairDetParAsciiFileIo::writeComment().
|
inline |
Definition at line 52 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 52 of file FairParSet.h
References description.
Referenced by copyComment(), FairDetParTSQLIo::write(), and FairDetParAsciiFileIo::writeComment().
|
inline |
Definition at line 31 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 31 of file FairParSet.h
References detName.
Referenced by FairDetParTSQLIo::write().
|
inline |
Definition at line 37 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 37 of file FairParSet.h
References versions.
Referenced by FairRuntimeDb::findOutputVersion(), FairDetParRootFileIo::read(), and FairRuntimeDb::writeContainer().
|
inline |
Definition at line 46 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 46 of file FairParSet.h
References paramContext.
Referenced by FairDetParTSQLIo::write(), FairGenericParAsciiFileIo::writeGenericSet(), and FairGenericParTSQLIo::writeSet().
|
inline |
Definition at line 44 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 44 of file FairParSet.h
References changed.
Referenced by FairRuntimeDb::findOutputVersion(), and FairRuntimeDb::writeContainer().
|
virtual |
Definition at line 33 of file FairParSet.cxx.
View newest version in sPHENIX GitHub at line 33 of file FairParSet.cxx
References FairLogger::Error(), fLogger, FairRuntimeDb::getFirstInput(), FairRuntimeDb::getSecondInput(), FairRuntimeDb::instance(), MESSAGE_ORIGIN, and setInputVersion().
Referenced by FairRuntimeDb::initContainers().
|
inlinevirtual |
Reimplemented in FairParGenericSet.
Definition at line 26 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 26 of file FairParSet.h
|
inline |
Definition at line 42 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 42 of file FairParSet.h
References status.
Referenced by FairRuntimeDb::initContainers(), and FairRuntimeDb::resetInputVersions().
|
private |
|
virtual |
Definition at line 71 of file FairParSet.cxx.
View newest version in sPHENIX GitHub at line 71 of file FairParSet.cxx
References author, changed, description, paramContext, status, and versions.
void FairParSet::resetInputVersions | ( | ) |
Definition at line 86 of file FairParSet.cxx.
View newest version in sPHENIX GitHub at line 86 of file FairParSet.cxx
References changed, status, and versions.
Referenced by FairRuntimeDb::resetInputVersions().
|
inline |
Definition at line 48 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 48 of file FairParSet.h
References author, and Acts::UnitConstants::s.
Referenced by FairDetParAsciiFileIo::readComment().
|
inline |
Definition at line 43 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 43 of file FairParSet.h
References changed.
Referenced by PndSensorNamePar::AddSensorName(), ClassImp(), PndMagnet::ConstructASCIIGeometry(), CbmRich::ConstructAsciiGeometry(), PndTarget::ConstructGeometry(), EicDetector::ConstructGeometry(), PndConstField::FillParContainer(), PndMultiField::FillParContainer(), PndTransMap::FillParContainer(), FairRunSim::Init(), FairDetParRootFileIo::read(), FairDetParTSQLIo::setChanged(), FairDetParRootFileIo::write(), FairRuntimeDb::writeContainer(), and FairGenericParAsciiFileIo::writeGenericSet().
|
inline |
Definition at line 51 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 51 of file FairParSet.h
References description, and Acts::UnitConstants::s.
Referenced by FairDetParAsciiFileIo::readComment(), and FairDetParTSQLIo::setChanged().
|
inline |
Definition at line 34 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 34 of file FairParSet.h
Referenced by PndSensorNamePar::AddSensorName(), ClassImp(), PndMagnet::ConstructASCIIGeometry(), CbmRich::ConstructAsciiGeometry(), PndTarget::ConstructGeometry(), EicDetector::ConstructGeometry(), PndConstField::FillParContainer(), PndMultiField::FillParContainer(), PndTransMap::FillParContainer(), init(), FairRunSim::Init(), FairDetParRootFileIo::read(), and PndMultiFieldPar::SetParameters().
|
inline |
Definition at line 41 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 41 of file FairParSet.h
References status.
Referenced by FairRuntimeDb::setContainersStatic().
|
virtual |
Definition at line 59 of file FairParSet.cxx.
View newest version in sPHENIX GitHub at line 59 of file FairParSet.cxx
References FairLogger::Error(), fLogger, FairRuntimeDb::getOutput(), FairRuntimeDb::instance(), and MESSAGE_ORIGIN.
Referenced by FairRuntimeDb::writeContainer().
|
inlinevirtual |
Reimplemented in FairParGenericSet.
Definition at line 28 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 28 of file FairParSet.h
|
protected |
Definition at line 18 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 18 of file FairParSet.h
Referenced by copyComment(), getAuthor(), print(), FairParGenericSet::printParams(), and setAuthor().
|
protected |
static flag
Definition at line 16 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 16 of file FairParSet.h
Referenced by hasChanged(), print(), resetInputVersions(), and setChanged().
|
protected |
Definition at line 19 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 19 of file FairParSet.h
Referenced by copyComment(), getDescription(), print(), FairParGenericSet::printParams(), and setDescription().
|
protected |
Definition at line 13 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 13 of file FairParSet.h
Referenced by getDetectorName().
|
protected |
Fair Logger
Definition at line 21 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 21 of file FairParSet.h
|
protected |
flag is kTRUE if parameters have changed
Definition at line 17 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 17 of file FairParSet.h
Referenced by getParamContext(), print(), and FairParGenericSet::printParams().
|
protected |
versions of container in the 2 possible inputs
Definition at line 15 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 15 of file FairParSet.h
Referenced by isStatic(), print(), resetInputVersions(), and setStatic().
|
protected |
name of the detector the container belongs to
Definition at line 14 of file FairParSet.h.
View newest version in sPHENIX GitHub at line 14 of file FairParSet.h
Referenced by getInputVersion(), print(), resetInputVersions(), and setInputVersion().