137 TIter nextFile(fileList.get());
197 unique_ptr<TFile>
file(TFile::Open(fullpath));
198 if (!
file.get() ||
file->IsZombie())
return;
202 while ((key = (
TKey*)next())) {
208 TIter nextB(branches);
213 if (branch_class && branch_class->
InheritsFrom(
"KVEvent")) {
214 if (branch_class->
InheritsFrom(
"KVReconstructedEvent")) {
216 unique_ptr<TNamed> ds((
TNamed*)
file->Get(
"Dataset"));
217 unique_ptr<TNamed> orig((
TNamed*)
file->Get(
"Origin"));
218 unique_ptr<TNamed> sys((
TNamed*)
file->Get(
"System"));
220 unique_ptr<TNamed>
g((
TNamed*)
file->Get(
"Geometry"));
221 unique_ptr<TNamed>
f((
TNamed*)
file->Get(
"Filter"));
223 if (ds.get()) dataset = ds->GetTitle();
225 if (sys.get()) system = sys->GetTitle();
229 if (orig.get()) origin = orig->GetTitle();
233 if (
f.get()) filter =
f->GetTitle();
234 Int_t run_number = -1;
235 if (run.
IsDec()) run_number = run.
Atoi();
237 dataset, system, run_number,
geometry, origin, filter);
239 unique_ptr<TNamed> gem((
TNamed*)
file->Get(
"Gemini++"));
241 if (!strcmp(gem->GetTitle(),
"yes")) fff->
SetGemini();
242 unique_ptr<TNamed> gemdec((
TNamed*)
file->Get(
"GemDecayPerEvent"));
244 TString gemdecperev = gemdec->GetTitle();
286 cout <<
"SIMULATION SET: " <<
GetName() << endl;
288 cout <<
"CONTENTS:" << endl;
289 cout <<
"--simulated data:" << endl;
291 cout <<
"--filtered data:" << endl;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t g
void AssignAndDelete(TString &target, char *tobedeleted)
R__EXTERN TSystem * gSystem
Base class for KaliVeda framework.
virtual void Copy(TObject &) const
Make a copy of this object.
virtual void Clear(Option_t *option="")
virtual void Add(TObject *obj)
Handle directory containing simulated and/or filtered simulated data ,.
void init()
Default initialisations.
KVSimDir()
Default constructor.
void ls(Option_t *opt="") const
virtual const Char_t * GetDirectory() const
virtual void AnalyseFile(const Char_t *)
virtual ~KVSimDir()
Destructor.
KVList fSimData
list of simulated data files
KVList fFiltData
list of filtered simulated data files
void AddSimData(KVSimFile *)
virtual void AnalyseDirectory()
void AddFiltData(KVSimFile *)
void Copy(TObject &) const
Handle file containing simulated and/or filtered simulated data ,.
void SetGemini(Bool_t yes=kTRUE)
void SetGemDecayPerEvent(Int_t n)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
const char * GetClassName() const override
Bool_t InheritsFrom(const char *cl) const override
void ls(Option_t *option="") const override
void SetName(const char *name)
virtual const char * GetClassName() const
virtual void SetTitle(const char *title="")
const char * GetName() const override
virtual const char * GetTitle() const
virtual void Info(const char *method, const char *msgfmt,...) const
static void IndentLevel()
Bool_t EndsWith(const char *pat, ECaseCompare cmp=kExact) const
Int_t CountChar(Int_t c) const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TString & ReplaceAll(const char *s1, const char *s2)
virtual TList * GetListOfFiles() const
virtual Bool_t IsDirectory(const char *dir=nullptr) const
virtual char * ConcatFileName(const char *dir, const char *name)
virtual Bool_t IsAbsoluteFileName(const char *dir)
virtual char * ExpandPathName(const char *path)