ATLAS Offline Software
Loading...
Searching...
No Matches
semilCorr.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SEMILEPTONICCORR_SEMILCORR_H
6#define SEMILEPTONICCORR_SEMILCORR_H
7
8#include "TH2F.h"
9#include "TFile.h"
10#include <iostream>
11#include "TLorentzVector.h"
12#include <vector>
13#include <memory>
14
15
17
18public:
29
30private:
31 std::vector<std::vector<std::unique_ptr<TH1F> > > m_histos;
32 std::vector<float> m_etas;
33
34 std::unique_ptr<TFile> m_f;
35
36 bool m_Debug;
37
38 float getResponse(float pt, float eta, const std::vector<std::unique_ptr<TH1F> >& h);
39 float getSemilCorrToIncl(const TLorentzVector& jet, const TLorentzVector& mu,
40 const std::vector<std::unique_ptr<TH1F> >& histos);
41 std::vector<int> getHistoIndices(semilCorr::Systematics syst);
42
43
44public:
45 semilCorr(const TString& fIn, const std::string& suffix = "", bool DebugIn = false);
46 ~semilCorr();
47
48 float getSemilCorrToIncl(const TLorentzVector& jet, const TLorentzVector& mu);
49 float getBjetCorrToIncl(const TLorentzVector& jet, const TLorentzVector& mu);
50
51 float getSemilCorrToInclSyst(const TLorentzVector& jet, const TLorentzVector& mu,
53
54};
55
56#endif
Scalar eta() const
pseudorapidity method
Header file for AthHistogramAlgorithm.
float getResponse(float pt, float eta, const std::vector< std::unique_ptr< TH1F > > &h)
bool m_Debug
Definition semilCorr.h:36
semilCorr(const TString &fIn, const std::string &suffix="", bool DebugIn=false)
Definition semilCorr.cxx:9
std::unique_ptr< TFile > m_f
Definition semilCorr.h:34
std::vector< float > m_etas
Definition semilCorr.h:32
float getSemilCorrToInclSyst(const TLorentzVector &jet, const TLorentzVector &mu, semilCorr::Systematics syst=semilCorr::ALL)
Definition semilCorr.cxx:88
std::vector< int > getHistoIndices(semilCorr::Systematics syst)
Definition semilCorr.cxx:72
@ MUONSPECTRUM
Definition semilCorr.h:26
@ TAGGINGWEIGHT
Definition semilCorr.h:20
@ FRAGMENTATION
Definition semilCorr.h:21
float getSemilCorrToIncl(const TLorentzVector &jet, const TLorentzVector &mu, const std::vector< std::unique_ptr< TH1F > > &histos)
Definition semilCorr.cxx:62
float getBjetCorrToIncl(const TLorentzVector &jet, const TLorentzVector &mu)
Definition semilCorr.cxx:56
std::vector< std::vector< std::unique_ptr< TH1F > > > m_histos
Definition semilCorr.h:31