ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24 public:
25
27 virtual ~NPVBeamspotCorrection();
28
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
48
49};
50
51#endif
std::unique_ptr< TGraph > m_g_nvtx_nreco_bs66mm
std::unique_ptr< TGraph > NVtx_NReconstructible_bs66mm()
std::unique_ptr< TGraph > NVtx_NReconstructible_bs47mm()
std::unique_ptr< TGraph > m_g_nvtx_nreco_bs47mm
NPVBeamspotCorrection()
Return approximate correction on the number of reconstructed vertices due to different beamspot longi...
std::unique_ptr< TGraph > m_invGraph
double GetNVertexBsCorrection(double nRecoVtx)
MsgStream & msg
Definition testRead.cxx:32