8 fFileName(), fExtPar(
"par"), fExtSim(
"sim"), fExtDigi(
"digi"), fExtReco(
"reco"), fExtPid(
"pid"),
9 fExtTrackF(
"trackF"), fExtIdealTrackF(
"idealTrackF"), fExtRiemann(
"riemann"),
10 fExtCombinedRiemann(
"combRiemann"), fExtKalman(
"kalman"),fExtVertex(
"vertex"),
16 fFileName(fileName), fExtPar(
"par"), fExtSim(
"sim"), fExtDigi(
"digi"), fExtReco(
"reco"), fExtPid(
"pid"),
17 fExtTrackF(
"trackF"), fExtIdealTrackF(
"idealTrackF"), fExtRiemann(
"riemann"),
18 fExtCombinedRiemann(
"combRiemann"), fExtKalman(
"kalman"),fExtVertex(
"vertex"),
21 std::cout <<
"PndFileNameCreator::fFileName " << fileName <<
" " << fileName.size() << std::endl;
150 std::cout <<
"PndFileNameCreator::GetCustomFileName ";
151 std::cout <<
"Ext: " << ext <<
" addon: " << addon <<
" cut: " <<
cut;
152 std::cout <<
" Truncated: " << result << std::endl;
154 if (addon.size() > 0){
163 if(
fVerbose>0) std::cout<<
" -I- PndFileNameCreator file: "<<result.c_str()<<std::endl;
175 std::string result =
ext;
178 if (
fVerbose>0) std::cout <<
" -I- PndFileNameCreator::GetCustomFileNameInitial: " << result.c_str() << std::endl;
184 std::stringstream result;
185 std::vector<std::string> resString;
200 std::cout <<
"resString.size() " << resString.size() << std::endl;
201 if (resString.size() > 0){
202 for (
size_t i = 0;
i < resString.size()-1;
i++){
203 result << resString[
i] <<
"/";
212 std::vector<std::string> resString;
216 if (resString.size() > 0)
217 result = resString[resString.size()-1];
223 std::vector<std::string> resString;
224 std::stringstream result;
225 std::string path,
name;
241 if (resString.size() > 0){
242 if (resString[resString.size()-1] !=
"root")
245 if (resString.size() - cutLast <= 0)
249 for (UInt_t
i = 0;
i < resString.size()-1 - cutLast;
i++){
250 result << resString[
i] <<
"_";
252 result << resString[resString.size()-1 - cutLast];
259 std::vector<std::string> resString;
260 std::stringstream result;
261 std::string path,
name;
268 if (resString.size() > 0){
269 for (UInt_t
i = 1;
i < resString.size() - 1;
i++){
270 result <<
"_" << resString[
i];
std::string GetFileName() const
std::vector< std::string > GetStringVector(void)
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 TruncateInitial()
std::string GetDigiFileName(std::string addon="", bool cut=false)
std::string GetCombinedRiemannFileName(std::string addon="", bool cut=false)
std::string GetSimFileName(std::string addon="", bool cut=false)
std::string fExtIdealTrackF
std::string GetIdealTrackFindingFileName(std::string addon="", bool cut=false)
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)
std::string GetCustomFileNameInitial(std::string ext)
std::string GetKalmanFileName(std::string addon="", bool cut=false)
std::string GetPidFileName(std::string addon="", bool cut=false)
std::string fExtCombinedRiemann