ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetCalibTools
JetCalibTools
CalibrationMethods
NPVBeamspotCorrection.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
/*
6
* Class definition of GSCTool - see Root/GSC.cxx for more details
7
* Joe Taenzer (joseph.taenzer@cern.ch), Nov 2012
8
*/
9
10
#ifndef JETCALIBTOOLS_NPVBEAMSPOTCORRECTION_H
11
#define JETCALIBTOOLS_NPVBEAMSPOTCORRECTION_H 1
12
13
#include <iostream>
14
#include <fstream>
15
#include <TROOT.h>
16
#include <TFile.h>
17
#include <TMath.h>
18
#include <TGraph.h>
19
#include <vector>
20
#include <memory>
21
22
class
NPVBeamspotCorrection
{
23
24
public
:
25
26
NPVBeamspotCorrection
();
27
virtual
~NPVBeamspotCorrection
();
28
29
void
initNPVBeamspotCorrection
();
30
double
GetNVertexBsCorrection
(
double
nRecoVtx);
31
32
private
:
33
34
void
error
(TString
msg
)
35
{ printf(
"\nERROR - NPVBeamspotCorrection:\n\n %s\n\n"
,
msg
.Data()); abort(); }
36
37
std::unique_ptr<TGraph>
NVtx_NReconstructible_bs66mm
();
38
std::unique_ptr<TGraph>
NVtx_NReconstructible_bs47mm
();
39
40
//Graph which will be filled with expected number of reconstructed vertices for beamspot length = 66mm
41
std::unique_ptr<TGraph>
m_g_nvtx_nreco_bs66mm
;
42
//Graph which will be filled with expected number of reconstructed vertices for beamspot length = 47mm
43
std::unique_ptr<TGraph>
m_g_nvtx_nreco_bs47mm
;
44
45
std::unique_ptr<TGraph>
m_invGraph
;
46
47
double
m_NPVmin
,
m_NPVmax
;
48
49
};
50
51
#endif
NPVBeamspotCorrection::m_g_nvtx_nreco_bs66mm
std::unique_ptr< TGraph > m_g_nvtx_nreco_bs66mm
Definition
NPVBeamspotCorrection.h:41
NPVBeamspotCorrection::error
void error(TString msg)
Definition
NPVBeamspotCorrection.h:34
NPVBeamspotCorrection::NVtx_NReconstructible_bs66mm
std::unique_ptr< TGraph > NVtx_NReconstructible_bs66mm()
Definition
NPVBeamspotCorrection.cxx:115
NPVBeamspotCorrection::NVtx_NReconstructible_bs47mm
std::unique_ptr< TGraph > NVtx_NReconstructible_bs47mm()
Definition
NPVBeamspotCorrection.cxx:68
NPVBeamspotCorrection::m_g_nvtx_nreco_bs47mm
std::unique_ptr< TGraph > m_g_nvtx_nreco_bs47mm
Definition
NPVBeamspotCorrection.h:43
NPVBeamspotCorrection::m_NPVmax
double m_NPVmax
Definition
NPVBeamspotCorrection.h:47
NPVBeamspotCorrection::initNPVBeamspotCorrection
void initNPVBeamspotCorrection()
Definition
NPVBeamspotCorrection.cxx:43
NPVBeamspotCorrection::~NPVBeamspotCorrection
virtual ~NPVBeamspotCorrection()
Definition
NPVBeamspotCorrection.cxx:39
NPVBeamspotCorrection::NPVBeamspotCorrection
NPVBeamspotCorrection()
Return approximate correction on the number of reconstructed vertices due to different beamspot longi...
Definition
NPVBeamspotCorrection.cxx:33
NPVBeamspotCorrection::m_invGraph
std::unique_ptr< TGraph > m_invGraph
Definition
NPVBeamspotCorrection.h:45
NPVBeamspotCorrection::GetNVertexBsCorrection
double GetNVertexBsCorrection(double nRecoVtx)
Definition
NPVBeamspotCorrection.cxx:59
NPVBeamspotCorrection::m_NPVmin
double m_NPVmin
Definition
NPVBeamspotCorrection.h:47
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0