Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Riccardo Longo
JZCaPA
Commits
4c25105e
Commit
4c25105e
authored
Jan 22, 2019
by
Riccardo Longo
Browse files
Some comment + some small addition for future improvements
parent
7ad2ecd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Analysis/include/DataReader.h
View file @
4c25105e
...
...
@@ -11,9 +11,16 @@
#ifndef DATAREADER_H
#define DATAREADER_H
#include
<iostream>
#include
<iomanip>
#include
<fstream>
#include
<sstream>
#include
<stdio.h>
#include
<string>
#include
<vector>
#include
<TChain.h>
class
TFile
;
class
Analysis
;
...
...
@@ -27,6 +34,8 @@ class DataReader{
const
std
::
string
&
=
""
,
const
unsigned
int
=
0
);
virtual
~
DataReader
();
void
ReadListOfFiles
(
std
::
string
listname
);
void
Initialize
(
);
void
ProcessEvents
(
);
void
Finalize
(
);
...
...
@@ -41,13 +50,19 @@ class DataReader{
//Input file name
std
::
string
m_fNameIn
;
//Input list of files
std
::
string
m_fListOfFiles
;
//Run number
unsigned
int
m_runNumber
;
//Boolean switch to enable the reading of a list of files
bool
m_readListOfFiles
;
//Input file (in case of a single processing)
TFile
*
m_fIn
;
//TChain to accomodate many files (in case of a list of files)
TChain
*
m_fileChain
;
};
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment