137 TIter nextFile(fileList.get());
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();
236 dataset, system, run_number,
geometry, origin, filter);
238 unique_ptr<TNamed> gem((
TNamed*)
file->Get(
"Gemini++"));
240 if (!strcmp(gem->GetTitle(),
"yes")) fff->
SetGemini();
241 unique_ptr<TNamed> gemdec((
TNamed*)
file->Get(
"GemDecayPerEvent"));
243 TString gemdecperev = gemdec->GetTitle();
285 cout <<
"SIMULATION SET: " <<
GetName() << endl;
287 cout <<
"CONTENTS:" << endl;
288 cout <<
"--simulated data:" << endl;
290 cout <<
"--filtered data:" << endl;
void AssignAndDelete(TString &target, char *tobedeleted)
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
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 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 *)
virtual const Char_t * GetDirectory() const
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....
virtual const char * GetClassName() const
static TClass * GetClass(Bool_t load=kTRUE, Bool_t silent=kFALSE)
Bool_t InheritsFrom(const char *cl) const
virtual void ls(Option_t *option="") const
void SetName(const char *name)
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
virtual const char * GetClassName() const
virtual const char * GetName() const
virtual void SetTitle(const char *title="")
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=0) const
virtual char * ConcatFileName(const char *dir, const char *name)
virtual Bool_t IsAbsoluteFileName(const char *dir)
virtual char * ExpandPathName(const char *path)
const long double g
masses