ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/System8/s8/Analyzer/interface/MonitorSolverInputAnalyzer.h
Revision: 1.5
Committed: Fri Dec 16 00:38:30 2011 UTC (13 years, 4 months ago) by meloam
Content type: text/plain
Branch: MAIN
CVS Tags: V00-00-04, HEAD
Changes since 1.4: +1 -1 lines
Log Message:
adding pu reweighting, new OPs

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 samvel 1.3 #include "s8/Analyzer/interface/Analyzer.h"
15     #include "s8/Option/interface/MonitorOptionsDelegate.h"
16     #include "s8/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 meloam 1.5 virtual void optionReweightTriggerPVIsSet(const std::string &);
63 samvel 1.1
64     // Misc options
65     //
66     virtual void optionPrimaryVerticesIsSet(const Range &);
67 samvel 1.2
68     private:
69     boost::shared_ptr<MonitorAnalyzer> _monitor;
70     boost::shared_ptr<SolverInputAnalyzer> _solver;
71 samvel 1.1 };
72     }
73    
74     #endif