ATLAS Offline Software
Loading...
Searching...
No Matches
semilCorr.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 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
14
16
17public:
28
29private:
30 std::vector<std::vector<TH1F*> > m_histos;
31 std::vector<float> m_etas;
32
33 TFile* m_f;
34
35 bool m_Debug;
36
37 float getResponse(float pt, float eta, const std::vector<TH1F*>& h);
38 float getSemilCorrToIncl(const TLorentzVector& jet, const TLorentzVector& mu,
39 const std::vector<TH1F*>& histos);
40 std::vector<int> getHistoIndices(semilCorr::Systematics syst);
41
42
43public:
44 semilCorr(const TString& fIn, const std::string& suffix = "", bool DebugIn = false);
45 ~semilCorr();
46
47 float getSemilCorrToIncl(const TLorentzVector& jet, const TLorentzVector& mu);
48 float getBjetCorrToIncl(const TLorentzVector& jet, const TLorentzVector& mu);
49
50 float getSemilCorrToInclSyst(const TLorentzVector& jet, const TLorentzVector& mu,
52
53};
54
55#endif
Scalar eta() const
pseudorapidity method
Header file for AthHistogramAlgorithm.
bool m_Debug
Definition semilCorr.h:35
semilCorr(const TString &fIn, const std::string &suffix="", bool DebugIn=false)
Definition semilCorr.cxx:9
TFile * m_f
Definition semilCorr.h:33
float getResponse(float pt, float eta, const std::vector< TH1F * > &h)
std::vector< std::vector< TH1F * > > m_histos
Definition semilCorr.h:30
float getSemilCorrToIncl(const TLorentzVector &jet, const TLorentzVector &mu, const std::vector< TH1F * > &histos)
Definition semilCorr.cxx:69
std::vector< float > m_etas
Definition semilCorr.h:31
float getSemilCorrToInclSyst(const TLorentzVector &jet, const TLorentzVector &mu, semilCorr::Systematics syst=semilCorr::ALL)
Definition semilCorr.cxx:95
std::vector< int > getHistoIndices(semilCorr::Systematics syst)
Definition semilCorr.cxx:79
@ MUONSPECTRUM
Definition semilCorr.h:25
@ TAGGINGWEIGHT
Definition semilCorr.h:19
@ FRAGMENTATION
Definition semilCorr.h:20
float getBjetCorrToIncl(const TLorentzVector &jet, const TLorentzVector &mu)
Definition semilCorr.cxx:63