CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2018MsCrcCheck.h
Go to the documentation of this file.
1/* Copyright (C) 2019 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer] */
4
5// -----------------------------------------------------------------------------
6// ----- -----
7// ----- CbmMcbm2018MsCrcCheck -----
8// ----- Created 02.02.2019 by P.-A. Loizeau -----
9// ----- -----
10// -----------------------------------------------------------------------------
11
12#ifndef CBMMCBM2018MSCRCCHECK_H
13#define CBMMCBM2018MSCRCCHECK_H
14
15#include "TList.h"
16#include "TObjString.h"
17#include "TString.h"
18#include "TimesliceSource.hpp"
19
21public:
23 virtual ~CbmMcbm2018MsCrcCheck();
24
25 void SetFileName(TString name)
26 {
27 fFileName = name;
28 fInputFileList.Add(new TObjString(name));
29 }
30 void AddFile(const char* name) { fInputFileList.Add(new TObjString(name)); }
31
32 void Run();
33
34private:
35 TString fFileName;
38
39 UInt_t fTSNumber;
40 UInt_t fTSCounter;
41
42 fles::TimesliceSource* fSource;
43
44 Bool_t OpenNextFile();
45
48
49 ClassDef(CbmMcbm2018MsCrcCheck, 1)
50};
51
52
53#endif
void AddFile(const char *name)
void SetFileName(TString name)
CbmMcbm2018MsCrcCheck operator=(const CbmMcbm2018MsCrcCheck &)
TList fInputFileList
List of input files.
fles::TimesliceSource * fSource
CbmMcbm2018MsCrcCheck(const CbmMcbm2018MsCrcCheck &source)