EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmStudyReport.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmStudyReport.h
1 
7 #ifndef CBMSTUDYREPORT_H_
8 #define CBMSTUDYREPORT_H_
9 
10 #include "CbmReport.h"
11 #include <string>
12 #include <vector>
13 
14 using std::vector;
15 using std::string;
16 using std::ostream;
17 
18 class CbmHistManager;
19 
26 class CbmStudyReport : public CbmReport
27 {
28 public:
33 
37  virtual ~CbmStudyReport();
38 
52  void Create(
53  const vector<CbmHistManager*>& histManagers,
54  const vector<string>& studyNames,
55  const string& outputDir);
56 
66  void Create(
67  const vector<string>& fileNames,
68  const vector<string>& studyNames,
69  const string& outputDir);
70 
71  /* Accessors */
72  const vector<CbmHistManager*>& HM() const { return fHM; }
73  CbmHistManager* HM(Int_t index) const { return fHM[index]; }
74  const vector<string>& GetStudyNames() const { return fStudyNames; }
75  const string& GetStudyName(Int_t index) const { return fStudyNames[index]; }
76 
77 private:
78  vector<CbmHistManager*> fHM; // Histogram managers for each study
79  vector<string> fStudyNames; // Names of studies
80 
81  ClassDef(CbmStudyReport, 1)
82 };
83 
84 #endif /* CBMSTUDYREPORT_H_ */