ATLAS Offline Software
Loading...
Searching...
No Matches
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
22
23 public:
24
26 virtual ~NPVBeamspotCorrection();
27
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
38
39 //Graph which will be filled with expected number of reconstructed vertices for beamspot length = 66mm
41 //Graph which will be filled with expected number of reconstructed vertices for beamspot length = 47mm
43
44 TGraph *m_invGraph;
45
47
48};
49
50#endif
NPVBeamspotCorrection()
Return approximate correction on the number of reconstructed vertices due to different beamspot longi...
double GetNVertexBsCorrection(double nRecoVtx)
MsgStream & msg
Definition testRead.cxx:32