/// PndMvdFileNameCreator.h /// @author Tobias Stockmanns /// @brief A simple class which adds the corresponding file extensions to a given base class /// #ifndef PNDMVDFILENAMECREATOR_H #define PNDMVDFILENAMECREATOR_H #include #include #include "TObject.h" class PndMvdFileNameCreator : public TObject { public : PndMvdFileNameCreator(); PndMvdFileNameCreator(std::string fileName); void SetFileName(std::string fileName){fFileName = fileName;}; void SetVerbose(Int_t v) {fVerbose = v;}; std::string GetFileName() const {return fFileName;}; std::string GetSimFileName(bool cut = false); std::string GetDigiFileName(bool cut = false); std::string GetRecoFileName(bool cut = false); std::string GetTrackFindingFileName(bool cut = false); std::string GetRiemannFileName(bool cut = false); std::string GetCombinedRiemannFileName(bool cut = false); std::string GetIdealTrackFindingFileName(bool cut = false); std::string GetKalmanFileName(bool cut = false); std::string GetVertexFileName(bool cut = false); std::string GetSimFileName(std::string inputFileName, bool cut = false); std::string GetDigiFileName(std::string inputFileName, bool cut = false); std::string GetRecoFileName(std::string inputFileName, bool cut = false); std::string GetTrackFindingFileName(std::string inputFileName, bool cut = false); std::string GetRiemannFileName(std::string inputFileName, bool cut = false); std::string GetCombinedRiemannFileName(std::string inputFileName, bool cut = false); std::string GetIdealTrackFindingFileName(std::string inputFileName, bool cut = false); std::string GetKalmanFileName(std::string inputFileName, bool cut = false); std::string GetVertexFileName(std::string inputFileName, bool cut = false); std::string GetCustomFileName(std::string ext, bool cut = false); std::string GetCustomFileName(std::string inputFileName, std::string ext, bool cut = false); private : std::string fFileName; std::string fExtSim; std::string fExtDigi; std::string fExtReco; std::string fExtTrackF; std::string fExtIdealTrackF; std::string fExtRiemann; std::string fExtCombinedRiemann; std::string fExtKalman; std::string fVertex; std::string TruncateFileName(bool cut); Int_t fVerbose; ClassDef(PndMvdFileNameCreator, 1); }; #endif