ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetPhys
SemileptonicCorr
SemileptonicCorr
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
16
class
semilCorr
{
17
18
public
:
19
enum
Systematics
{
20
TAGGINGWEIGHT
= 1,
21
FRAGMENTATION
= 2,
22
DECAY
= 3,
23
MSRESO
= 4,
24
IDRESO
= 5,
25
DECAYREW
= 6,
26
MUONSPECTRUM
= 7,
27
ALL
= 8
28
};
29
30
private
:
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
44
public
:
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,
52
semilCorr::Systematics
syst =
semilCorr::ALL
);
53
54
};
55
56
#endif
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
h
Header file for AthHistogramAlgorithm.
semilCorr::getResponse
float getResponse(float pt, float eta, const std::vector< std::unique_ptr< TH1F > > &h)
Definition
semilCorr.cxx:101
semilCorr::m_Debug
bool m_Debug
Definition
semilCorr.h:36
semilCorr::semilCorr
semilCorr(const TString &fIn, const std::string &suffix="", bool DebugIn=false)
Definition
semilCorr.cxx:9
semilCorr::m_f
std::unique_ptr< TFile > m_f
Definition
semilCorr.h:34
semilCorr::m_etas
std::vector< float > m_etas
Definition
semilCorr.h:32
semilCorr::~semilCorr
~semilCorr()
Definition
semilCorr.cxx:47
semilCorr::getSemilCorrToInclSyst
float getSemilCorrToInclSyst(const TLorentzVector &jet, const TLorentzVector &mu, semilCorr::Systematics syst=semilCorr::ALL)
Definition
semilCorr.cxx:88
semilCorr::getHistoIndices
std::vector< int > getHistoIndices(semilCorr::Systematics syst)
Definition
semilCorr.cxx:72
semilCorr::Systematics
Systematics
Definition
semilCorr.h:19
semilCorr::DECAYREW
@ DECAYREW
Definition
semilCorr.h:25
semilCorr::MSRESO
@ MSRESO
Definition
semilCorr.h:23
semilCorr::MUONSPECTRUM
@ MUONSPECTRUM
Definition
semilCorr.h:26
semilCorr::ALL
@ ALL
Definition
semilCorr.h:27
semilCorr::TAGGINGWEIGHT
@ TAGGINGWEIGHT
Definition
semilCorr.h:20
semilCorr::IDRESO
@ IDRESO
Definition
semilCorr.h:24
semilCorr::DECAY
@ DECAY
Definition
semilCorr.h:22
semilCorr::FRAGMENTATION
@ FRAGMENTATION
Definition
semilCorr.h:21
semilCorr::getSemilCorrToIncl
float getSemilCorrToIncl(const TLorentzVector &jet, const TLorentzVector &mu, const std::vector< std::unique_ptr< TH1F > > &histos)
Definition
semilCorr.cxx:62
semilCorr::getBjetCorrToIncl
float getBjetCorrToIncl(const TLorentzVector &jet, const TLorentzVector &mu)
Definition
semilCorr.cxx:56
semilCorr::m_histos
std::vector< std::vector< std::unique_ptr< TH1F > > > m_histos
Definition
semilCorr.h:31
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
Generated on
for ATLAS Offline Software by
1.17.0