Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaDecData.h
Go to the documentation of this file.
1#ifndef Podd_THaDecData_h_
2#define Podd_THaDecData_h_
3
5//
6// THaDecData
7//
8// Hall A version of Podd::DecData with support for legacy decdata.dat
9// file format and trigger bit decoding.
10//
12
13#include "DecData.h"
14#include "TString.h"
15#include <map>
16
17class THaDecData : public Podd::DecData {
18public:
19 explicit THaDecData( const char* name = "D",
20 const char* description = "Raw Hall A decoder data" );
21 virtual FILE* OpenFile( const TDatime& date );
22
23protected:
24 virtual Int_t ReadDatabase( const TDatime& date );
25
26 // Expansion hooks for DecData::ReadDatabase
27 virtual Int_t SetupDBVersion( FILE* file, Int_t db_version );
28 virtual Int_t GetConfigstr( FILE* file, const TDatime& date,
29 Int_t db_version,
30 const BdataLoc::BdataLocType& loctype,
31 TString& configstr );
32
33 std::map<TString,TString> fConfigstrMap;
34
36};
37
38#endif
int Int_t
#define ClassDef(name, id)
char name[80]
virtual Int_t SetupDBVersion(FILE *file, Int_t db_version)
std::map< TString, TString > fConfigstrMap
Definition THaDecData.h:33
virtual FILE * OpenFile(const TDatime &date)
virtual Int_t ReadDatabase(const TDatime &date)
virtual Int_t GetConfigstr(FILE *file, const TDatime &date, Int_t db_version, const BdataLoc::BdataLocType &loctype, TString &configstr)