star-travex
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StiScanRootFile.h
Go to the documentation of this file.
1 #ifndef StiScanRootFile_h
2 #define StiScanRootFile_h
3 
4 #include <map>
5 #include <set>
6 #include <string>
7 
8 #include "travex/RootFile.h"
9 
10 #include "GeaRootIO/TGeaEvent.h"
11 #include "StiScan/StiScanEvent.h"
12 
13 class StiScanPrgOptions;
14 
15 
16 class StiScanRootFile : public tvx::RootFile
17 {
18 public:
19 
20  StiScanRootFile(StiScanPrgOptions& prgOpts, Option_t* option="", const char* ftitle="", Int_t compress=1);
21 
22  void FillHists(const StiScanEvent &stiEvent, const std::set<std::string> *volumeList=0);
23  void FillHists(const TGeaEvent &geaEvent, const std::set<std::string> *volumeList=0);
24  void Finalize();
25 
26 protected:
27 
29 
30 private:
31 
32  void FindAutoRange() const;
33 };
34 
35 #endif
void FindAutoRange() const
StiScanPrgOptions & fPrgOptions
Shadow base class reference.
void FillHists(const StiScanEvent &stiEvent, const std::set< std::string > *volumeList=0)
Processes and controls user options provided in the command line.
StiScanRootFile(StiScanPrgOptions &prgOpts, Option_t *option="", const char *ftitle="", Int_t compress=1)