|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TOPEVENTSELECTIONTOOLS_JETFLAVORPLOTS_H_
6 #define TOPEVENTSELECTIONTOOLS_JETFLAVORPLOTS_H_
43 std::shared_ptr<top::TopConfig>
config,
58 std::string
name()
const override;
64 std::shared_ptr<PlotManager>
m_hists =
nullptr;
107 void BookHistograms(std::shared_ptr<PlotManager> h_ptr, std::vector<double> ptBins, std::vector<double>
etaBins);
115 #endif // TOPEVENTSELECTIONTOOLS_JETFLAVORPLOTS_H_
std::shared_ptr< PlotManager > m_hists_Loose
void BookHistograms(std::shared_ptr< PlotManager > h_ptr, std::vector< double > ptBins, std::vector< double > etaBins)
TopConfig A simple configuration that is NOT a singleton.
std::string name() const override
Return the name for the cutflow table.
void formatBinning(const std::string &str, std::vector< double > &binEdges)
std::shared_ptr< PlotManager > m_hists_RadLowNoVar3c_Loose
bool apply(const top::Event &event) const override
Fill the histograms.
JetFlavorPlots(const std::string &name, TFile *outputFile, const std::string ¶ms, std::shared_ptr< top::TopConfig > config, EL::Worker *wk=nullptr)
Setup some example plots.
std::string m_jetCollection
std::atomic< bool > m_throwwarningPMG
static const double toGeV
An example of how to quickly make some plots at a certain point in the cutflow.
std::size_t m_nominalHashValue
POOL::TEvent event(POOL::TEvent::kClassAccess)
std::shared_ptr< PlotManager > m_hists
std::shared_ptr< top::TopConfig > m_config
std::shared_ptr< PlotManager > m_hists_RadLow
This module defines the arguments passed from the BATCH driver to the BATCH worker.
std::shared_ptr< PlotManager > m_hists_RadHighNoVar3c
std::shared_ptr< PlotManager > m_hists_RadHighNoVar3c_Loose
PMGTools::PMGTruthWeightTool * m_PMGTruthWeights
This should apply event-level cuts and perform simple plotting on top::Event objects.
void FillHistograms(std::shared_ptr< PlotManager > h_ptr, double w_event, const top::Event &event) const
std::shared_ptr< PlotManager > m_hists_RadLowNoVar3c
Very simple class to hold event data after reading from a file.
std::shared_ptr< PlotManager > m_hists_RadHigh_Loose
std::shared_ptr< PlotManager > m_hists_RadLow_Loose
std::shared_ptr< PlotManager > m_hists_RadHigh