PndFileNameCreator¶
-
class PndFileNameCreator : public TObject¶
A simple class which adds the corresponding file extensions to a given base class.
Example: <SimulationFileName>.root —> <SimulationFileName>_<extension>.root. The Extension is predefined for the different simulation stages but a custom extension can be given in the method: GetCustomFileName. If the cut parameter is set to true an existing extension of the given fileName is replaced by a new extension.
- Author
Tobias Stockmanns t.stockmanns@fz-juelich.de PndFileNameCreator takes the simulation filename and creates all the other filenames of a simulation chain by adding an extension to the simulation filename:
Example: <SimulationFileName>_<OldExtension>.root —> <SimulationFileName>_<NewExtension>.root. An extension is defined as the last part of a FileName which is separated by a “_” from the rest of the FileName.
Public Functions
-
PndFileNameCreator()¶
-
explicit PndFileNameCreator(std::string fileName)¶
-
inline void SetFileName(std::string fileName)¶
-
inline void SetVerbose(Int_t v)¶
-
inline std::string GetFileName() const¶
-
std::string GetParFileName(std::string addon = "", bool cut = false)¶
-
std::string GetSimFileName(std::string addon = "", bool cut = false)¶
-
std::string GetDigiFileName(std::string addon = "", bool cut = false)¶
-
std::string GetRecoFileName(std::string addon = "", bool cut = false)¶
-
std::string GetPidFileName(std::string addon = "", bool cut = false)¶
-
std::string GetTrackFindingFileName(std::string addon = "", bool cut = false)¶
-
std::string GetRiemannFileName(std::string addon = "", bool cut = false)¶
-
std::string GetCombinedRiemannFileName(std::string addon = "", bool cut = false)¶
-
std::string GetIdealTrackFindingFileName(std::string addon = "", bool cut = false)¶
-
std::string GetKalmanFileName(std::string addon = "", bool cut = false)¶
-
std::string GetVertexFileName(std::string addon = "", bool cut = false)¶
-
std::string GetCustomFileName(std::string ext, std::string addon = "", bool cut = false)¶
-
std::string GetCustomFileNameInitial(std::string ext)¶
-
std::string GetPath()¶
-
std::string GetFileName()¶