EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PndFileNameCreator.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PndFileNameCreator.h
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 #ifndef PNDFILENAMECREATOR_H
14 #define PNDFILENAMECREATOR_H
15 
16 #include <vector>
17 #include <string>
18 
19 #include "TObject.h"
20 
21 class PndFileNameCreator : public TObject
22  {
23  public:
25  PndFileNameCreator(std::string fileName);
26 
27  void SetFileName(std::string fileName){fFileName = fileName;};
28  void SetVerbose(Int_t v) {fVerbose = v;};
29  std::string GetFileName() const {return fFileName;};
30 
31  std::string GetParFileName(std::string addon = "", bool cut = false);
32  std::string GetSimFileName(std::string addon = "", bool cut = false);
33  std::string GetDigiFileName(std::string addon = "", bool cut = false);
34  std::string GetRecoFileName(std::string addon = "", bool cut = false);
35  std::string GetTrackFindingFileName(std::string addon = "", bool cut = false);
36  std::string GetRiemannFileName(std::string addon = "", bool cut = false);
37  std::string GetCombinedRiemannFileName(std::string addon = "", bool cut = false);
38 
39  std::string GetIdealTrackFindingFileName(std::string addon = "", bool cut = false);
40  std::string GetKalmanFileName(std::string addon = "", bool cut = false);
41  std::string GetVertexFileName(std::string addon = "", bool cut = false);
42 
43 // std::string GetParFileName(std::string inputFileName, std::string addon = "", bool cut = false);
44 // std::string GetSimFileName(std::string inputFileName, std::string addon = "", bool cut = false);
45 // std::string GetDigiFileName(std::string inputFileName, std::string addon = "", bool cut = false);
46 // std::string GetRecoFileName(std::string inputFileName, std::string addon = "", bool cut = false);
47 // std::string GetTrackFindingFileName(std::string inputFileName, std::string addon = "", bool cut = false);
48 // std::string GetRiemannFileName(std::string inputFileName, std::string addon = "", bool cut = false);
49 // std::string GetCombinedRiemannFileName(std::string inputFileName, std::string addon = "", bool cut = false);
50 // std::string GetIdealTrackFindingFileName(std::string inputFileName, std::string addon = "", bool cut = false);
51 // std::string GetKalmanFileName(std::string inputFileName, std::string addon = "", bool cut = false);
52 // std::string GetVertexFileName(std::string inputFileName, std::string addon = "", bool cut = false);
53 
54  std::string GetCustomFileName(std::string ext, std::string addon = "", bool cut = false);
55 // std::string GetCustomFileName(std::string inputFileName, std::string ext, std::string addon = "", bool cut = false);
56 
57  std::string GetCustomFileNameInitial(std::string ext);
58 
59  std::string GetPath();
60  std::string GetFileName();
61 
62  private:
63  std::string fFileName;
64  std::string fExtPar;
65  std::string fExtSim;
66  std::string fExtDigi;
67  std::string fExtReco;
68  std::string fExtTrackF;
69  std::string fExtIdealTrackF;
70  std::string fExtRiemann;
71  std::string fExtCombinedRiemann;
72  std::string fExtKalman;
73  std::string fExtVertex;
74 
75  std::string TruncateFileName(bool cut);
76  std::string TruncateInitial();
77  Int_t fVerbose;
79  };
80 
81 #endif