ATLAS Offline Software
Reconstruction
Jet
JetCalibTools
JetCalibTools
CalibrationMethods
NPVBeamspotCorrection.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
/*
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
21
class
NPVBeamspotCorrection
{
22
23
public
:
24
25
NPVBeamspotCorrection
();
26
virtual
~NPVBeamspotCorrection
();
27
28
void
initNPVBeamspotCorrection
();
29
double
GetNVertexBsCorrection
(
double
nRecoVtx);
30
31
private
:
32
33
void
error
(TString
msg
)
34
{ printf(
"\nERROR - NPVBeamspotCorrection:\n\n %s\n\n"
,
msg
.Data()); abort(); }
35
36
TGraph*
NVtx_NReconstructible_bs66mm
();
37
TGraph*
NVtx_NReconstructible_bs47mm
();
38
39
//Graph which will be filled with expected number of reconstructed vertices for beamspot length = 66mm
40
TGraph *
m_g_nvtx_nreco_bs66mm
;
41
//Graph which will be filled with expected number of reconstructed vertices for beamspot length = 47mm
42
TGraph *
m_g_nvtx_nreco_bs47mm
;
43
44
TGraph *
m_invGraph
;
45
46
double
m_NPVmin
,
m_NPVmax
;
47
48
};
49
50
#endif
NPVBeamspotCorrection::NPVBeamspotCorrection
NPVBeamspotCorrection()
Return approximate correction on the number of reconstructed vertices due to different beamspot longi...
Definition:
NPVBeamspotCorrection.cxx:33
NPVBeamspotCorrection::m_NPVmin
double m_NPVmin
Definition:
NPVBeamspotCorrection.h:46
NPVBeamspotCorrection::m_invGraph
TGraph * m_invGraph
Definition:
NPVBeamspotCorrection.h:44
NPVBeamspotCorrection::NVtx_NReconstructible_bs47mm
TGraph * NVtx_NReconstructible_bs47mm()
Definition:
NPVBeamspotCorrection.cxx:71
NPVBeamspotCorrection::initNPVBeamspotCorrection
void initNPVBeamspotCorrection()
Definition:
NPVBeamspotCorrection.cxx:46
NPVBeamspotCorrection::error
void error(TString msg)
Definition:
NPVBeamspotCorrection.h:33
NPVBeamspotCorrection::m_g_nvtx_nreco_bs66mm
TGraph * m_g_nvtx_nreco_bs66mm
Definition:
NPVBeamspotCorrection.h:40
NPVBeamspotCorrection::NVtx_NReconstructible_bs66mm
TGraph * NVtx_NReconstructible_bs66mm()
Definition:
NPVBeamspotCorrection.cxx:118
NPVBeamspotCorrection::GetNVertexBsCorrection
double GetNVertexBsCorrection(double nRecoVtx)
Definition:
NPVBeamspotCorrection.cxx:62
NPVBeamspotCorrection::m_NPVmax
double m_NPVmax
Definition:
NPVBeamspotCorrection.h:46
NPVBeamspotCorrection::~NPVBeamspotCorrection
virtual ~NPVBeamspotCorrection()
Definition:
NPVBeamspotCorrection.cxx:39
NPVBeamspotCorrection::m_g_nvtx_nreco_bs47mm
TGraph * m_g_nvtx_nreco_bs47mm
Definition:
NPVBeamspotCorrection.h:42
python.AutoConfigFlags.msg
msg
Definition:
AutoConfigFlags.py:7
NPVBeamspotCorrection
Definition:
NPVBeamspotCorrection.h:21
Generated on Thu Nov 7 2024 21:22:52 for ATLAS Offline Software by
1.8.18