~ma5/madanalysis5/madanalysis-development

« back to all changes in this revision

Viewing changes to tools/SampleAnalyzer/Commons/Base/ClusterAlgoBase.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:
26
26
#define CLUSTER_ALGO_BASE_H
27
27
 
28
28
 
29
 
//STL headers
 
29
// STL headers
30
30
#include <vector>
31
31
#include <map>
32
32
#include <string>
33
33
#include <set>
34
34
#include <algorithm>
35
35
 
36
 
//SampleAnalyser headers
 
36
// SampleAnalyser headers
37
37
#include "SampleAnalyzer/Commons/Base/PortableDatatypes.h"
38
38
#include "SampleAnalyzer/Commons/DataFormat/EventFormat.h"
39
39
#include "SampleAnalyzer/Commons/DataFormat/SampleFormat.h"
83
83
    virtual ~ClusterAlgoBase() {}
84
84
 
85
85
    /// Jet clustering
86
 
    virtual bool Execute(SampleFormat& mySample, EventFormat& myEvent, 
87
 
                         bool ExclusiveId, const std::vector<bool>& vetos,
 
86
    virtual MAbool Execute(SampleFormat& mySample, EventFormat& myEvent, 
 
87
                         MAbool ExclusiveId, const std::vector<bool>& vetos,
88
88
                         const std::set<const MCParticleFormat*> vetos2)=0;
89
89
 
90
90
    /// Set parameter
91
 
    virtual bool SetParameter(const std::string& key, const std::string& value)=0;
 
91
    virtual MAbool SetParameter(const std::string& key, const std::string& value)=0;
92
92
 
93
93
    /// Initialization
94
 
    virtual bool Initialize()=0;
 
94
    virtual MAbool Initialize()=0;
95
95
 
96
96
    /// Putting the string in lower case
97
97
    static std::string Lower(const std::string& word)