ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/System8/s8/Analyzer/interface/MonitorSolverInputAnalyzer.h
Revision: 1.2
Committed: Tue May 17 13:21:25 2011 UTC (13 years, 11 months ago) by samvel
Content type: text/plain
Branch: MAIN
CVS Tags: melo-old
Changes since 1.1: +19 -15 lines
Log Message:
Apply weights and nPV fix

File Contents

# User Rev Content
1 samvel 1.1 /**
2     * MonitorAnalyzer + SolverInput
3     * s8
4     *
5     * Created by Samvel Khalatian on Feb 14, 2010
6     * Copyright 2010, All rights reserved
7     */
8    
9     #ifndef S8_MONITOR_SOLVER_INPUT_ANALYZER
10     #define S8_MONITOR_SOLVER_INPUT_ANALYZER
11    
12 samvel 1.2 #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 samvel 1.1
18     namespace s8
19     {
20 samvel 1.2 class MonitorAnalyzer;
21     class SolverInputAnalyzer;
22    
23     class MonitorSolverInputAnalyzer: public Analyzer,
24     public MonitorOptionsDelegate,
25     public SolverInputOptionsDelegate
26 samvel 1.1 {
27     public:
28     MonitorSolverInputAnalyzer() throw();
29     virtual ~MonitorSolverInputAnalyzer() throw();
30    
31     // Analyzer interface
32     //
33     virtual void init();
34    
35     virtual void treeDidLoad(const TreeInfo *, const TriggerCenter *);
36     virtual void eventDidLoad(const Event *);
37     virtual void print(std::ostream &) const;
38     virtual void save(TDirectory *) const;
39    
40 samvel 1.2 // SolverInputOptionsDelegate interface
41     //
42     virtual void optionDataIsSet(const bool &);
43    
44 samvel 1.1 // MuonInJet options
45     //
46     virtual void optionTagIsSet(const std::string &);
47     virtual void optionAwayTagIsSet(const std::string &);
48     virtual void optionMuonPtIsSet(const Range &);
49     virtual void optionJetPtIsSet(const Range &);
50     virtual void optionJetEtaIsSet(const Range &);
51    
52     // PythiaOptionsDelegate interface
53     //
54     virtual void optionGluonSplittingIsSet(const GluonSplitting &);
55     virtual void optionPtHatIsSet(const Range &);
56    
57     // Trigger options
58     //
59     virtual void optionTriggerIsSet(const Trigger &);
60     virtual void optionSimulateTriggerIsSet(const bool &);
61     virtual void optionReweightTriggerIsSet(const std::string &);
62    
63     // Misc options
64     //
65     virtual void optionPrimaryVerticesIsSet(const Range &);
66 samvel 1.2
67     private:
68     boost::shared_ptr<MonitorAnalyzer> _monitor;
69     boost::shared_ptr<SolverInputAnalyzer> _solver;
70 samvel 1.1 };
71     }
72    
73     #endif