PandaRoot
PndFileNameCreator.h
Go to the documentation of this file.
1 
17 #ifndef PNDFILENAMECREATOR_H
18 #define PNDFILENAMECREATOR_H
19 
20 #include <vector>
21 #include <string>
22 
23 #include "TObject.h"
24 
25 class PndFileNameCreator : public TObject {
26  public:
28  explicit PndFileNameCreator(std::string fileName);
29 
30  void SetFileName(std::string fileName) { fFileName = fileName; }
31  void SetVerbose(Int_t v) { fVerbose = v; }
32  std::string GetFileName() const { return fFileName; }
33 
34  std::string GetParFileName(std::string addon = "", bool cut = false);
35  std::string GetSimFileName(std::string addon = "", bool cut = false);
36  std::string GetDigiFileName(std::string addon = "", bool cut = false);
37  std::string GetRecoFileName(std::string addon = "", bool cut = false);
38  std::string GetPidFileName(std::string addon = "", bool cut = false);
39  std::string GetTrackFindingFileName(std::string addon = "", bool cut = false);
40  std::string GetRiemannFileName(std::string addon = "", bool cut = false);
41  std::string GetCombinedRiemannFileName(std::string addon = "", bool cut = false);
42 
43  std::string GetIdealTrackFindingFileName(std::string addon = "", bool cut = false);
44  std::string GetKalmanFileName(std::string addon = "", bool cut = false);
45  std::string GetVertexFileName(std::string addon = "", bool cut = false);
46 
47  std::string GetCustomFileName(std::string ext, std::string addon = "", bool cut = false);
48 
49  std::string GetCustomFileNameInitial(std::string ext);
50 
51  std::string GetPath();
52  std::string GetFileName();
53 
54  private:
55  std::string fFileName;
56  std::string fExtPar;
57  std::string fExtSim;
58  std::string fExtDigi;
59  std::string fExtReco;
60  std::string fExtPid;
61  std::string fExtTrackF;
62  std::string fExtIdealTrackF;
63  std::string fExtRiemann;
64  std::string fExtCombinedRiemann;
65  std::string fExtKalman;
66  std::string fExtVertex;
67 
68  std::string TruncateFileName(bool cut);
69  std::string TruncateInitial();
70  Int_t fVerbose;
71  ClassDef(PndFileNameCreator, 2);
72 };
73 
74 #endif
std::string GetRiemannFileName(std::string addon="", bool cut=false)
std::string GetParFileName(std::string addon="", bool cut=false)
std::string GetVertexFileName(std::string addon="", bool cut=false)
std::string GetDigiFileName(std::string addon="", bool cut=false)
std::string GetCombinedRiemannFileName(std::string addon="", bool cut=false)
void SetFileName(std::string fileName)
std::string GetSimFileName(std::string addon="", bool cut=false)
__m128 v
Definition: P4_F32vec4.h:3
std::string GetIdealTrackFindingFileName(std::string addon="", bool cut=false)
std::string GetRecoFileName(std::string addon="", bool cut=false)
A simple class which adds the corresponding file extensions to a given base class.
std::string GetCustomFileName(std::string ext, std::string addon="", bool cut=false)
std::string GetTrackFindingFileName(std::string addon="", bool cut=false)
void SetVerbose(Int_t v)
std::string GetCustomFileNameInitial(std::string ext)
std::string GetFileName() const
std::string GetPath()
std::string GetKalmanFileName(std::string addon="", bool cut=false)
std::string GetPidFileName(std::string addon="", bool cut=false)