~ma5/madanalysis5/madanalysis-development

« back to all changes in this revision

Viewing changes to tools/SampleAnalyzer/Process/Core/SampleAnalyzer.h

  • Committer: Benjamin Fuks
  • Date: 2018-05-04 10:44:49 UTC
  • mfrom: (115.1.81 v1.6beta)
  • Revision ID: fuks@cern.ch-20180504104449-60h8a00loxgr8zg0
Releasing v1.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#ifndef SAMPLE_ANALYZER_H
26
26
#define SAMPLE_ANALYZER_H
27
27
 
 
28
 
28
29
// STL headers
29
30
#include <iostream>
30
31
#include <string>
31
32
#include <vector>
32
33
 
33
 
 
34
34
// SampleAnalyzer headers
35
 
// |- core functions
36
35
#include "SampleAnalyzer/Commons/Base/PortableDatatypes.h"
37
36
#include "SampleAnalyzer/Commons/Base/StatusCode.h"
38
37
#include "SampleAnalyzer/Commons/Service/LogService.h"
39
 
// |- data format
40
38
#include "SampleAnalyzer/Commons/DataFormat/EventFormat.h"
41
39
#include "SampleAnalyzer/Commons/DataFormat/SampleFormat.h"
42
 
// |-manager headers
43
40
#include "SampleAnalyzer/Process/Reader/ReaderManager.h"
44
41
#include "SampleAnalyzer/Process/Analyzer/AnalyzerManager.h"
45
42
#include "SampleAnalyzer/Process/Writer/WriterManager.h"
56
53
class SampleAnalyzer
57
54
{
58
55
 private :
59
 
 
 
56
 
60
57
  std::string analysisName_; 
61
58
  std::string datasetName_;
62
59
  bool LastFileFail_;
114
111
  { return fullDetectors_; }
115
112
 
116
113
  /// Initialization of the SampleAnalyzer
117
 
  bool Initialize(int argc, char **argv, const std::string& filename,bool=false);
 
114
  bool Initialize(int argc, char **argv, const std::string& filename);
118
115
 
119
116
  /// Getting pointer to an analyzer
120
117
  AnalyzerBase* InitializeAnalyzer(const std::string& name,