34 int isPanTauCandidate = 0;
36 if ( !foundDetail || !isPanTauCandidate )
return;
60 histo->Fill(
t10r10 + 0.5, weight);
63 histo->Fill(
t10r11 + 0.5, weight);
66 histo->Fill(
t10r1x + 0.5, weight);
69 histo->Fill(
t1r3 + 0.5, weight);
76 histo->Fill(
t11r10 + 0.5, weight);
79 histo->Fill(
t11r11 + 0.5, weight);
82 histo->Fill(
t11r1x + 0.5, weight);
85 histo->Fill(
t1r3 + 0.5, weight);
92 histo->Fill(
t1xr10 + 0.5, weight);
95 histo->Fill(
t1xr11 + 0.5, weight);
98 histo->Fill(
t1xr1x + 0.5, weight);
101 histo->Fill(
t1r3 + 0.5, weight);
108 histo->Fill(
t30r30 + 0.5, weight);
111 histo->Fill(
t30r3x + 0.5, weight);
114 histo->Fill(
t3r1 + 0.5, weight);
121 histo->Fill(
t3xr30 + 0.5, weight);
124 histo->Fill(
t3xr3x + 0.5, weight);
127 histo->Fill(
t3r1 + 0.5, weight);
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
PlotBase(PlotBase *parent, const std::string &sDir)
DecayModeMigration(PlotBase *pParent, const std::string &sDir, std::string sTauJetContainerName)
void decayModeFill(int trueMode, int recMode, TH1 *histo, float weight)
std::string m_sTauJetContainerName
void fill(const xAOD::TauJet &tau, xAOD::TauJetParameters::DecayMode trueMode, float weight)
TH1 * m_migration_panTauProto
virtual ~DecayModeMigration()
const char * m_lable[DECAYSIZE]
bool panTauDetail(TauJetParameters::PanTauDetails panTauDetail, int &value) const
Get and set values of pantau details variables via enum.
@ PanTau_isPanTauCandidate
TauJet_v3 TauJet
Definition of the current "tau version".