FairRoot/PandaRoot
PndFileNameCreator.h
Go to the documentation of this file.
1 
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 GetPidFileName(std::string addon = "", bool cut = false);
36  std::string GetTrackFindingFileName(std::string addon = "", bool cut = false);
37  std::string GetRiemannFileName(std::string addon = "", bool cut = false);
38  std::string GetCombinedRiemannFileName(std::string addon = "", bool cut = false);
39 
40  std::string GetIdealTrackFindingFileName(std::string addon = "", bool cut = false);
41  std::string GetKalmanFileName(std::string addon = "", bool cut = false);
42  std::string GetVertexFileName(std::string addon = "", bool cut = false);
43 
44  std::string GetCustomFileName(std::string ext, std::string addon = "", bool cut = false);
45 
46  std::string GetCustomFileNameInitial(std::string ext);
47 
48  std::string GetPath();
49  std::string GetFileName();
50 
51  private:
52  std::string fFileName;
53  std::string fExtPar;
54  std::string fExtSim;
55  std::string fExtDigi;
56  std::string fExtReco;
57  std::string fExtPid;
58  std::string fExtTrackF;
59  std::string fExtIdealTrackF;
60  std::string fExtRiemann;
61  std::string fExtCombinedRiemann;
62  std::string fExtKalman;
63  std::string fExtVertex;
64 
65  std::string TruncateFileName(bool cut);
66  std::string TruncateInitial();
67  Int_t fVerbose;
69  };
70 
71 #endif
std::string GetFileName() const
std::string GetRiemannFileName(std::string addon="", bool cut=false)
std::string GetParFileName(std::string addon="", bool cut=false)
ClassDef(PndFileNameCreator, 2)
std::string GetVertexFileName(std::string addon="", bool cut=false)
std::string TruncateInitial()
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:4
std::string fExtIdealTrackF
std::string GetIdealTrackFindingFileName(std::string addon="", bool cut=false)
double cut[MAX]
Definition: autocutx.C:36
std::string GetRecoFileName(std::string addon="", bool cut=false)
std::string TruncateFileName(bool cut)
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)
TNtuple * ext
Definition: reco_muo.C:24
std::string GetKalmanFileName(std::string addon="", bool cut=false)
std::string GetPidFileName(std::string addon="", bool cut=false)
std::string fExtCombinedRiemann