CbmRoot
|
#include <CbmAnaLmvmDrawStudy.h>
Public Member Functions | |
CbmAnaLmvmDrawStudy () | |
Default constructor. | |
virtual | ~CbmAnaLmvmDrawStudy () |
Destructor. | |
void | DrawFromFile (const std::vector< std::string > &fileNames, const std::vector< std::string > &fileNamesMean, const std::vector< std::string > &studyNames, const std::string &outputDir="") |
Implement functionality of drawing histograms in the macro from the specified files, this function should be called from macro. | |
Private Member Functions | |
void | SaveCanvasToImage () |
void | DrawMinv () |
ClassDef (CbmAnaLmvmDrawStudy, 1) | |
Private Attributes | |
std::vector< TCanvas * > | fCanvas |
Int_t | fNofStudies |
std::vector< std::string > | fStudyNames |
std::vector< CbmHistManager * > | fHM |
std::vector< std::string > | fMeanFiles |
std::string | fOutputDir |
Definition at line 23 of file CbmAnaLmvmDrawStudy.h.
|
inline |
Default constructor.
Definition at line 29 of file CbmAnaLmvmDrawStudy.h.
|
inlinevirtual |
Destructor.
Definition at line 34 of file CbmAnaLmvmDrawStudy.h.
|
private |
void CbmAnaLmvmDrawStudy::DrawFromFile | ( | const std::vector< std::string > & | fileNames, |
const std::vector< std::string > & | fileNamesMean, | ||
const std::vector< std::string > & | studyNames, | ||
const std::string & | outputDir = "" ) |
Implement functionality of drawing histograms in the macro from the specified files, this function should be called from macro.
[in] | fileNames | Names of the file with histograms. |
[in] | studyNames | Names of the study to be drawn in Legend. |
[in] | outputDir | Name of the output directory. |
[in] | useMvd | . |
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 37 of file CbmAnaLmvmDrawStudy.cxx.
References DrawMinv(), fHM, fMeanFiles, fNofStudies, fOutputDir, fStudyNames, SaveCanvasToImage(), and SetDefaultDrawStyle().
|
private |
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 81 of file CbmAnaLmvmDrawStudy.cxx.
References DrawH1(), fHM, fMeanFiles, fStudyNames, kLinear, and kLog.
Referenced by DrawFromFile().
|
private |
Definition at line 74 of file CbmAnaLmvmDrawStudy.cxx.
References fCanvas, fOutputDir, and Cbm::SaveCanvasAsImage().
Referenced by DrawFromFile().
|
private |
Definition at line 48 of file CbmAnaLmvmDrawStudy.h.
Referenced by SaveCanvasToImage().
|
private |
Definition at line 52 of file CbmAnaLmvmDrawStudy.h.
Referenced by DrawFromFile(), and DrawMinv().
|
private |
Definition at line 54 of file CbmAnaLmvmDrawStudy.h.
Referenced by DrawFromFile(), and DrawMinv().
|
private |
Definition at line 49 of file CbmAnaLmvmDrawStudy.h.
Referenced by DrawFromFile().
|
private |
Definition at line 56 of file CbmAnaLmvmDrawStudy.h.
Referenced by DrawFromFile(), and SaveCanvasToImage().
|
private |
Definition at line 50 of file CbmAnaLmvmDrawStudy.h.
Referenced by DrawFromFile(), and DrawMinv().