MA5SandBox: cms_top_18_003.h

File cms_top_18_003.h, 886 bytes (added by Benjamin Fuks, 5 years ago)
Line 
1#ifndef analysis_cms_top_18_003_h
2#define analysis_cms_top_18_003_h
3
4#include "SampleAnalyzer/Interfaces/root/RootMainHeaders.h"
5#include "SampleAnalyzer/Process/Analyzer/AnalyzerBase.h"
6
7namespace MA5
8{
9class cms_top_18_003 : public AnalyzerBase
10{
11 INIT_ANALYSIS(cms_top_18_003,"cms_top_18_003")
12
13 public:
14 virtual bool Initialize(const MA5::Configuration& cfg, const std::map<std::string,std::string>& parameters);
15 virtual void Finalize(const SampleFormat& summary, const std::vector<SampleFormat>& files);
16 virtual bool Execute(SampleFormat& sample, const EventFormat& event);
17
18 // -- user-defined functions -- //
19 bool IsLooseLepton(const RecLeptonFormat*, const EventFormat&,const double &, const double &);
20 bool IsIsolated(const RecLeptonFormat*, std::vector<const RecJetFormat*>,const EventFormat&, const double&, const double&, const double&);
21
22
23 private:
24};
25}
26
27#endif