8 #include "Artus/Core/interface/ConsumerBase.h"
9 #include "Artus/Utility/interface/RootFileHelper.h"
11 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
17 virtual void Init(setting_type
const& settings, metadata_type& metadata)
override;
18 virtual void ProcessFilteredEvent(event_type
const& event, product_type
const& product, setting_type
const& settings, metadata_type
const& metadata)
override;
19 virtual void Finish(setting_type
const& settings, metadata_type
const& metadata)
override;
21 virtual void FillPtFlowHistogram(std::map<std::string, TH1F*> histmap, std::vector<const KPFCandidate*> pf_collection, KMuon* muon, std::string region);
24 TRandom3* randomnumbergenerator =
new TRandom3(0);
25 unsigned int nDeltaRBins = 0;
26 float DeltaRMax = 0.0;
27 unsigned int nIsoPtSumBins = 0;
28 float IsoPtSumMax = 0.0;
29 float IsoPtSumOverPtMax = 0.0;
30 bool randomMuon =
false;
32 std::vector<TH1F*> histograms;
34 std::map<std::string, KMuon*> Muon;
36 std::vector<TString> muonTypeVector = {
"leading",
"trailing",
"positive",
"negative"};
37 std::vector<TString> regionTypeVector = {
"full",
"peak",
"sideband"};
39 std::map<std::string, std::map<std::string, TH1F*>> Muon_ChargedFromFirstPVPtFlow;
40 std::map<std::string, std::map<std::string, TH1F*>> Muon_ChargedNotFromFirstPVPtFlow;
41 std::map<std::string, std::map<std::string, TH1F*>> Muon_NeutralFromFirstPVPtFlow;
42 std::map<std::string, std::map<std::string, TH1F*>> Muon_PhotonsFromFirstPVPtFlow;
virtual void Finish(setting_type const &settings, metadata_type const &metadata) override
Definition: EmbeddingConsumer.cc:89
virtual std::string GetConsumerId() const override
Definition: EmbeddingConsumer.cc:98
virtual void ProcessFilteredEvent(event_type const &event, product_type const &product, setting_type const &settings, metadata_type const &metadata) override
Definition: EmbeddingConsumer.cc:40
Definition: EmbeddingConsumer.h:13
virtual void FillPtFlowHistogram(std::map< std::string, TH1F * > histmap, std::vector< const KPFCandidate * > pf_collection, KMuon *muon, std::string region)
Definition: EmbeddingConsumer.cc:103
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: EmbeddingConsumer.cc:4