MA5SandBox: cms_hig_18_011.h

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