MultijetHists

class MultijetHists

Define and fill the MJB histograms. Inherits from xAODAnaHelpers::JetHists.

Public Functions

MultijetHists(std::string name, std::string detailStr)

Standrad constructor.

Parameters
  • name -

    The name of the MultijetHists isntance

  • detailStr -

    A string consists of substring details which determine which sets of histograms to include

~MultijetHists()

Standard destructor.

StatusCode initialize(std::string binning)

Initialize all histograms.

Parameters
  • binning -

    The binning of the recoil system \(p_{T}\)

StatusCode execute(std::vector<xAOD::Jet *> *jets, const xAOD::EventInfo *eventInfo)

Execute function for only the MJB-defined histograms.

Parameters
  • jets -

    A vector of xAOD::Jet pointers

  • eventInfo -

    The xAOD::EventInfo of the event

StatusCode execute(const xAOD::JetContainer *jets, float eventWeight)

Execute function inherited from JetHists, filling non-MJB jet histograms.

Parameters
  • jets -

    An xAODLLJetContainer of the jets

  • eventWeight -

    The weight to be applied to each event

Public Members

bool f_extraMJBHists

Plot extra histograms, currently not used.

bool f_minimalMJBHists

Save only the MultijetHists::m_recoilPt_ptBal histogram necessary for the MJB result.

Note
This histogram is used for determining the population within each recoil system \(p_{T}\) bin, and getting the correct bin center

bool m_debug

Verbose mode.

int m_numSavedJets

Number of jets, in \(p_{T}\) order, for which to save individual histograms.

std::vector<int> m_samplingLayers

List of sampling layers for which to save individual histograms.

Note
Currently not used, and commented out in the code

Private Members

int m_numBins

Number of bins in the recoil system \(p_{T}\) histogram.

std::vector<TH1F *> m_MJBNjetsPt
std::vector<TH1F *> m_MJBNjetsEta
std::vector<TH1F *> m_MJBNjetsPhi
std::vector<TH1F *> m_MJBNjetsM
std::vector<TH1F *> m_MJBNjetsE
std::vector<TH1F *> m_MJBNjetsRapidity
std::vector<TH1F *> m_MJBNjetsBeta
TH1F *m_avgBeta
TH1F *m_alpha
TH1F *m_njet
TH1F *m_ptAsym
TH1F *m_ptBal
TH1F *m_ptBal2
TH2F *m_ptAsym_njet
TH1F *m_recoilEta
TH1F *m_recoilPhi
TH1F *m_recoilM
TH1F *m_recoilE
TH1F *m_subOverRecoilPt
TH1F *m_recoilPt_center
TH1F *m_recoilPt
TH2F *m_recoilPt_jet0Pt
TH2F *m_recoilPt_jet1Pt
TH2F *m_recoilPt_avgBeta
TH2F *m_recoilPt_alpha
TH2F *m_recoilPt_njet
TH2F *m_leadJetPt_jet1Pt
TH2F *m_leadJetPt_avgBeta
TH2F *m_leadJetPt_alpha
TH2F *m_leadJetPt_njet
TH2F *m_recoilPt_ptBal
TH2F *m_leadJetPt_ptBal
TH2F *m_recoilPt_ptBal_eta1
TH2F *m_recoilPt_ptBal_eta2
TH2F *m_recoilPt_ptBal_eta3
TH2F *m_recoilPt_EMFrac
TH2F *m_recoilPt_HECFrac
TH2F *m_recoilPt_TileFrac
TH2F *m_leadJetPt_EMFrac
TH2F *m_leadJetPt_HECFrac
TH2F *m_leadJetPt_TileFrac