improved search run, allowing to look for a specific file format in case the run is saved in multiple different file formats.
This commit is contained in:
@@ -36,7 +36,7 @@ class PFindRun {
|
||||
public:
|
||||
PFindRun(const PStringVector path, const PRunNameTemplateList runNameTemplateList);
|
||||
PFindRun(const PStringVector path, const PRunNameTemplateList runNameTemplateList,
|
||||
const TString &instrument, const UInt_t year, const UInt_t run);
|
||||
const TString &instrument, const UInt_t year, const UInt_t run, const TString file_format="");
|
||||
|
||||
Bool_t FoundPathName();
|
||||
TString GetPathName() { return fPathName; }
|
||||
@@ -48,6 +48,7 @@ class PFindRun {
|
||||
TString fInstrument{""};
|
||||
Int_t fYear{-1};
|
||||
Int_t fRun{-1};
|
||||
TString fFileFormat{""};
|
||||
TString fPathName{""};
|
||||
|
||||
TString CreatePathName(const TString path, const TString runNameTemplate);
|
||||
|
||||
Reference in New Issue
Block a user