otsdaq
v2_05_02_indev
Return to top level
Main Page
Classes
Files
File List
DQMHistosBase.h
1
#ifndef _ots_DQMHistosBase_h_
2
#define _ots_DQMHistosBase_h_
3
4
#include <map>
5
#include <string>
6
7
class
TFile;
8
class
TDirectory;
9
class
TObject;
10
11
namespace
ots
12
{
13
class
DQMHistosBase
14
{
15
public
:
16
DQMHistosBase
(
void
);
17
virtual
~
DQMHistosBase
(
void
);
18
19
virtual
void
book(
void
) { ; }
20
virtual
void
fill(std::string&
/*buffer*/
, std::map<std::string, std::string>
/*header*/
) { ; }
21
virtual
void
load(std::string
/*fileName*/
) { ; }
22
23
TObject*
get
(std::string name);
24
TFile* getFile(
void
) {
return
theFile_; }
25
26
protected
:
27
virtual
void
save(
void
);
28
virtual
void
openFile(std::string fileName);
29
virtual
void
closeFile(
void
);
30
31
TFile* theFile_;
32
TDirectory* myDirectory_;
33
};
34
}
// namespace ots
35
36
#endif
ots::DQMHistosBase
Definition:
DQMHistosBase.h:13
otsdaq
otsdaq
RootUtilities
DQMHistosBase.h
Generated on Wed Apr 29 2020 18:41:48 for otsdaq by
1.8.5