ATLAS Offline Software
semilCorr.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
15 class semilCorr{
16 
17 public:
21  DECAY = 3,
22  MSRESO = 4,
23  IDRESO = 5,
24  DECAYREW = 6,
26  ALL = 8
27  };
28 
29 private:
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, std::vector<TH1F*> h);
38  float getSemilCorrToIncl(TLorentzVector jet, TLorentzVector mu,
39  std::vector<TH1F*> histos);
40  std::vector<int> getHistoIndeces(semilCorr::Systematics syst);
41 
42 
43 public:
44  semilCorr(TString fIn, std::string suffix = "", bool DebugIn = false);
45  ~semilCorr();
46 
47  float getSemilCorrToIncl(TLorentzVector jet, TLorentzVector mu);
48  float getBjetCorrToIncl(TLorentzVector jet, TLorentzVector mu);
49 
50  float getSemilCorrToInclSyst(TLorentzVector jet, TLorentzVector mu,
52 
53 };
54 
55 #endif
semilCorr
Definition: semilCorr.h:15
hotSpotInTAG.suffix
string suffix
Definition: hotSpotInTAG.py:186
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
semilCorr::m_etas
std::vector< float > m_etas
Definition: semilCorr.h:31
test_pyathena.pt
pt
Definition: test_pyathena.py:11
semilCorr::semilCorr
semilCorr(TString fIn, std::string suffix="", bool DebugIn=false)
Definition: semilCorr.cxx:9
semilCorr::~semilCorr
~semilCorr()
Definition: semilCorr.cxx:47
semilCorr::TAGGINGWEIGHT
@ TAGGINGWEIGHT
Definition: semilCorr.h:19
semilCorr::ALL
@ ALL
Definition: semilCorr.h:26
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
semilCorr::getSemilCorrToIncl
float getSemilCorrToIncl(TLorentzVector jet, TLorentzVector mu, std::vector< TH1F * > histos)
Definition: semilCorr.cxx:67
semilCorr::m_f
TFile * m_f
Definition: semilCorr.h:33
semilCorr::Systematics
Systematics
Definition: semilCorr.h:18
semilCorr::IDRESO
@ IDRESO
Definition: semilCorr.h:23
semilCorr::MUONSPECTRUM
@ MUONSPECTRUM
Definition: semilCorr.h:25
semilCorr::FRAGMENTATION
@ FRAGMENTATION
Definition: semilCorr.h:20
semilCorr::getHistoIndeces
std::vector< int > getHistoIndeces(semilCorr::Systematics syst)
Definition: semilCorr.cxx:76
semilCorr::getSemilCorrToInclSyst
float getSemilCorrToInclSyst(TLorentzVector jet, TLorentzVector mu, semilCorr::Systematics syst=semilCorr::ALL)
Definition: semilCorr.cxx:92
h
semilCorr::m_Debug
bool m_Debug
Definition: semilCorr.h:35
semilCorr::getBjetCorrToIncl
float getBjetCorrToIncl(TLorentzVector jet, TLorentzVector mu)
Definition: semilCorr.cxx:62
checkCorrelInHIST.histos
dictionary histos
Definition: checkCorrelInHIST.py:413
semilCorr::MSRESO
@ MSRESO
Definition: semilCorr.h:22
semilCorr::DECAY
@ DECAY
Definition: semilCorr.h:21
semilCorr::getResponse
float getResponse(float pt, float eta, std::vector< TH1F * > h)
Definition: semilCorr.cxx:104
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
MooRTT_summarizeCPU.fIn
fIn
Definition: MooRTT_summarizeCPU.py:11
semilCorr::DECAYREW
@ DECAYREW
Definition: semilCorr.h:24
semilCorr::m_histos
std::vector< std::vector< TH1F * > > m_histos
Definition: semilCorr.h:30