9 |
|
#ifndef S8_MONITOR_SOLVER_INPUT_ANALYZER |
10 |
|
#define S8_MONITOR_SOLVER_INPUT_ANALYZER |
11 |
|
|
12 |
< |
#include "Analyzer/interface/MonitorAnalyzer.h" |
13 |
< |
#include "Analyzer/interface/SolverInputAnalyzer.h" |
12 |
> |
#include <boost/shared_ptr.hpp> |
13 |
> |
|
14 |
> |
#include "Analyzer/interface/Analyzer.h" |
15 |
> |
#include "Option/interface/MonitorOptionsDelegate.h" |
16 |
> |
#include "Option/interface/SolverInputOptionsDelegate.h" |
17 |
|
|
18 |
|
namespace s8 |
19 |
|
{ |
20 |
< |
class MonitorSolverInputAnalyzer: public MonitorAnalyzer, |
21 |
< |
public SolverInputAnalyzer |
20 |
> |
class MonitorAnalyzer; |
21 |
> |
class SolverInputAnalyzer; |
22 |
> |
|
23 |
> |
class MonitorSolverInputAnalyzer: public Analyzer, |
24 |
> |
public MonitorOptionsDelegate, |
25 |
> |
public SolverInputOptionsDelegate |
26 |
|
{ |
27 |
|
public: |
28 |
|
MonitorSolverInputAnalyzer() throw(); |
37 |
|
virtual void print(std::ostream &) const; |
38 |
|
virtual void save(TDirectory *) const; |
39 |
|
|
40 |
+ |
// SolverInputOptionsDelegate interface |
41 |
+ |
// |
42 |
+ |
virtual void optionDataIsSet(const bool &); |
43 |
+ |
|
44 |
|
// MuonInJet options |
45 |
|
// |
46 |
|
virtual void optionTagIsSet(const std::string &); |
49 |
|
virtual void optionJetPtIsSet(const Range &); |
50 |
|
virtual void optionJetEtaIsSet(const Range &); |
51 |
|
|
41 |
– |
// MuonInJetDelegate interface |
42 |
– |
// |
43 |
– |
virtual bool shouldSkipMuonInJetPlusAwayJet(const Lepton *, |
44 |
– |
const Jet *); |
45 |
– |
|
46 |
– |
virtual void muonIsInJetPlusAwayJet(const Lepton *, |
47 |
– |
const Jet *); |
48 |
– |
|
49 |
– |
virtual void muonIsInJetPlusTaggedAwayJet(const Lepton *, |
50 |
– |
const Jet *); |
51 |
– |
|
52 |
|
// PythiaOptionsDelegate interface |
53 |
|
// |
54 |
|
virtual void optionGluonSplittingIsSet(const GluonSplitting &); |
63 |
|
// Misc options |
64 |
|
// |
65 |
|
virtual void optionPrimaryVerticesIsSet(const Range &); |
66 |
+ |
|
67 |
+ |
private: |
68 |
+ |
boost::shared_ptr<MonitorAnalyzer> _monitor; |
69 |
+ |
boost::shared_ptr<SolverInputAnalyzer> _solver; |
70 |
|
}; |
71 |
|
} |
72 |
|
|