Commit 4c25105e authored by Riccardo Longo's avatar Riccardo Longo
Browse files

Some comment + some small addition for future improvements

parent 7ad2ecd8
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment