PandaRoot
PndFileNameCreator Class Reference

A simple class which adds the corresponding file extensions to a given base class. More...

#include <PndFileNameCreator.h>

Inheritance diagram for PndFileNameCreator:

Public Member Functions

 PndFileNameCreator ()
 
 PndFileNameCreator (std::string fileName)
 
void SetFileName (std::string fileName)
 
void SetVerbose (Int_t v)
 
std::string GetFileName () const
 
std::string GetParFileName (std::string addon="", bool cut=false)
 
std::string GetSimFileName (std::string addon="", bool cut=false)
 
std::string GetDigiFileName (std::string addon="", bool cut=false)
 
std::string GetRecoFileName (std::string addon="", bool cut=false)
 
std::string GetPidFileName (std::string addon="", bool cut=false)
 
std::string GetTrackFindingFileName (std::string addon="", bool cut=false)
 
std::string GetRiemannFileName (std::string addon="", bool cut=false)
 
std::string GetCombinedRiemannFileName (std::string addon="", bool cut=false)
 
std::string GetIdealTrackFindingFileName (std::string addon="", bool cut=false)
 
std::string GetKalmanFileName (std::string addon="", bool cut=false)
 
std::string GetVertexFileName (std::string addon="", bool cut=false)
 
std::string GetCustomFileName (std::string ext, std::string addon="", bool cut=false)
 
std::string GetCustomFileNameInitial (std::string ext)
 
std::string GetPath ()
 
std::string GetFileName ()
 

Detailed Description

A simple class which adds the corresponding file extensions to a given base class.

Author
Tobias Stockmanns t.sto.nosp@m.ckma.nosp@m.nns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de PndFileNameCreator takes the simulation filename and creates all the other filenames of a simulation chain by adding an extension to the simulation filename:

Example: <SimulationFileName>.root –> <SimulationFileName>_<extension>.root. The Extension is predefined for the different simulation stages but a custom extension can be given in the method: GetCustomFileName. If the cut parameter is set to true an existing extension of the given fileName is replaced by a new extension.

Example: <SimulationFileName>_<OldExtension>.root –> <SimulationFileName>_<NewExtension>.root. An extension is defined as the last part of a FileName which is separated by a "_" from the rest of the FileName.

Definition at line 25 of file PndFileNameCreator.h.

Constructor & Destructor Documentation

◆ PndFileNameCreator() [1/2]

PndFileNameCreator::PndFileNameCreator ( )

◆ PndFileNameCreator() [2/2]

PndFileNameCreator::PndFileNameCreator ( std::string  fileName)
explicit

Member Function Documentation

◆ GetCombinedRiemannFileName()

std::string PndFileNameCreator::GetCombinedRiemannFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetCustomFileName()

std::string PndFileNameCreator::GetCustomFileName ( std::string  ext,
std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetCustomFileNameInitial()

std::string PndFileNameCreator::GetCustomFileNameInitial ( std::string  ext)

Referenced by GetFileName().

◆ GetDigiFileName()

std::string PndFileNameCreator::GetDigiFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetFileName() [1/2]

◆ GetFileName() [2/2]

std::string PndFileNameCreator::GetFileName ( )

◆ GetIdealTrackFindingFileName()

std::string PndFileNameCreator::GetIdealTrackFindingFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetKalmanFileName()

std::string PndFileNameCreator::GetKalmanFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetParFileName()

std::string PndFileNameCreator::GetParFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetPath()

std::string PndFileNameCreator::GetPath ( )

Referenced by GetFileName().

◆ GetPidFileName()

std::string PndFileNameCreator::GetPidFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetRecoFileName()

std::string PndFileNameCreator::GetRecoFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetRiemannFileName()

std::string PndFileNameCreator::GetRiemannFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetSimFileName()

std::string PndFileNameCreator::GetSimFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetTrackFindingFileName()

std::string PndFileNameCreator::GetTrackFindingFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ GetVertexFileName()

std::string PndFileNameCreator::GetVertexFileName ( std::string  addon = "",
bool  cut = false 
)

Referenced by GetFileName().

◆ SetFileName()

void PndFileNameCreator::SetFileName ( std::string  fileName)
inline

Definition at line 30 of file PndFileNameCreator.h.

30 { fFileName = fileName; }

◆ SetVerbose()

void PndFileNameCreator::SetVerbose ( Int_t  v)
inline

Definition at line 31 of file PndFileNameCreator.h.

References v.

31 { fVerbose = v; }
__m128 v
Definition: P4_F32vec4.h:3

The documentation for this class was generated from the following file: