CbmRoot
CbmMcbm2018MsCrcCheck.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmMcbm2018MsCrcCheck -----
4 // ----- Created 02.02.2019 by P.-A. Loizeau -----
5 // ----- -----
6 // -----------------------------------------------------------------------------
7 
8 #ifndef CBMMCBM2018MSCRCCHECK_H
9 #define CBMMCBM2018MSCRCCHECK_H
10 
11 #include "TList.h"
12 #include "TObjString.h"
13 #include "TString.h"
14 
15 #include "TimesliceSubscriber.hpp"
16 
18 public:
20  virtual ~CbmMcbm2018MsCrcCheck();
21 
22  void SetFileName(TString name) {
23  fFileName = name;
24  fInputFileList.Add(new TObjString(name));
25  }
26  void AddFile(const char* name) { fInputFileList.Add(new TObjString(name)); }
27 
28  void Run();
29 
30 private:
31  TString fFileName;
33  Int_t fFileCounter;
34 
35  UInt_t fTSNumber;
36  UInt_t fTSCounter;
37 
38  fles::TimesliceSource* fSource;
39 
40  Bool_t OpenNextFile();
41 
44 
45  ClassDef(CbmMcbm2018MsCrcCheck, 1)
46 };
47 
48 
49 #endif
CbmMcbm2018MsCrcCheck::OpenNextFile
Bool_t OpenNextFile()
Definition: CbmMcbm2018MsCrcCheck.cxx:100
CbmMcbm2018MsCrcCheck::fFileName
TString fFileName
Definition: CbmMcbm2018MsCrcCheck.h:31
CbmMcbm2018MsCrcCheck::CbmMcbm2018MsCrcCheck
CbmMcbm2018MsCrcCheck(const CbmMcbm2018MsCrcCheck &source)
CbmMcbm2018MsCrcCheck::fInputFileList
TList fInputFileList
List of input files.
Definition: CbmMcbm2018MsCrcCheck.h:32
CbmMcbm2018MsCrcCheck::~CbmMcbm2018MsCrcCheck
virtual ~CbmMcbm2018MsCrcCheck()
Definition: CbmMcbm2018MsCrcCheck.cxx:31
CbmMcbm2018MsCrcCheck::SetFileName
void SetFileName(TString name)
Definition: CbmMcbm2018MsCrcCheck.h:22
CbmMcbm2018MsCrcCheck::fTSCounter
UInt_t fTSCounter
Definition: CbmMcbm2018MsCrcCheck.h:36
CbmMcbm2018MsCrcCheck::Run
void Run()
Definition: CbmMcbm2018MsCrcCheck.cxx:33
CbmMcbm2018MsCrcCheck::CbmMcbm2018MsCrcCheck
CbmMcbm2018MsCrcCheck()
Definition: CbmMcbm2018MsCrcCheck.cxx:23
CbmMcbm2018MsCrcCheck::operator=
CbmMcbm2018MsCrcCheck operator=(const CbmMcbm2018MsCrcCheck &)
CbmMcbm2018MsCrcCheck::AddFile
void AddFile(const char *name)
Definition: CbmMcbm2018MsCrcCheck.h:26
CbmMcbm2018MsCrcCheck::fSource
fles::TimesliceSource * fSource
Definition: CbmMcbm2018MsCrcCheck.h:38
CbmMcbm2018MsCrcCheck::fTSNumber
UInt_t fTSNumber
Definition: CbmMcbm2018MsCrcCheck.h:35
CbmMcbm2018MsCrcCheck::fFileCounter
Int_t fFileCounter
Definition: CbmMcbm2018MsCrcCheck.h:33
CbmMcbm2018MsCrcCheck
Definition: CbmMcbm2018MsCrcCheck.h:17