HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
EventCountConsumer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Artus/Core/interface/ConsumerBase.h"
5 #include "Artus/KappaAnalysis/interface/KappaTypes.h"
6 
7 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
8 
9 #include "TH1.h"
10 
11 
12 class EventCountConsumer: public ConsumerBase<HttTypes>
13 {
14 
15 public:
16 
17  virtual void Init(setting_type const& settings, metadata_type& metadata);
18  virtual std::string GetConsumerId() const override;
19  virtual void ProcessEvent(event_type const& event, product_type const& product, setting_type const& settings, metadata_type const& metadata, FilterResult & result) override;
20 
21  virtual void Finish(setting_type const& settings, metadata_type const& metadata);
22  unsigned int currentLumi;
23 
24 protected:
27 };
28 
unsigned int currentLumi
Definition: EventCountConsumer.h:22
virtual std::string GetConsumerId() const override
Definition: EventCountConsumer.cc:18
TH1I * m_filteredEvents
Definition: EventCountConsumer.h:26
TH1I * m_totalEvents
Definition: EventCountConsumer.h:25
virtual void ProcessEvent(event_type const &event, product_type const &product, setting_type const &settings, metadata_type const &metadata, FilterResult &result) override
Definition: EventCountConsumer.cc:23
Definition: EventCountConsumer.h:12
virtual void Finish(setting_type const &settings, metadata_type const &metadata)
Definition: EventCountConsumer.cc:37
virtual void Init(setting_type const &settings, metadata_type &metadata)
Definition: EventCountConsumer.cc:5