28 #include <TCollection.h>
42 : TNamed(name,
"version info")
47 for (Int_t i = 0; i < 3; i++) {
53 : TNamed(name,
"run parameters")
54 , parVersions(new TList())
65 , parVersions(new TList())
69 sprintf(name,
"%i", r);
76 , parVersions(new TList())
83 while ((pv = static_cast<FairParVersion*>(next()))) {
125 while ((v = static_cast<FairParVersion*>(next()))) {
134 while ((v = static_cast<FairParVersion*>(next()))) {
142 cout <<
"run: " << GetName() <<
'\n';
145 while ((v = static_cast<FairParVersion*>(next()))) {
146 cout.setf(ios::left, ios::adjustfield);
147 cout <<
" " << setw(45) << v->GetName();
148 cout.setf(ios::right, ios::adjustfield);
157 fout <<
"run: " << GetName() <<
'\n';
160 while ((v = static_cast<FairParVersion*>(next()))) {
161 fout.setf(ios::left, ios::adjustfield);
162 fout <<
" " << setw(45) << v->GetName();
163 fout.setf(ios::right, ios::adjustfield);
void resetOutputVersions()
void addParVersion(FairParVersion *pv)
FairParVersion * getParVersion(const Text_t *name)
void resetInputVersions()
void write(std::fstream &)
ClassImp(FairEventBuilder)
void setRefRun(Text_t *s)
Int_t getInputVersion(Int_t i)
void setRootVersion(Int_t v)
FairRtdbRun()
name of the reference run for initialization
void resetInputVersions()