ATLAS Offline Software
Loading...
Searching...
No Matches
ALFA_GloRec.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ALFA_GloRec_h
6#define ALFA_GloRec_h
7
9
10//root
11#include "TObjArray.h"
12
13//stl
14#include <string>
15#include <vector>
16
18class AlfaTrackCand;
19class TH1F;
20class TH2F;
21
22
24//
25// ALFA_GloRec class declaration
26//
29{
30public:
31 ALFA_GloRec (const std::string& name, ISvcLocator* pSvcLocator);
33
34private:
35
36
37
39 // general members
42
43
45 // steerable members
47 int m_iDataType = 0;
54
55
57 // methods
59 StatusCode initialize();
60 StatusCode execute();
61 StatusCode finalize();
62 StatusCode Truth_info();
63 void InitHistos();
64 void FillTrackCandHistos(AlfaTrackCand * trkcand);
65 void WriteHistos();
66
67
69 // generated vertices and momenta
71 double m_px_g_pos{};
72 double m_py_g_pos{};
73 double m_pz_g_pos{};
74 double m_x_g_pos{};
75 double m_y_g_pos{};
76 double m_z_g_pos{};
77
78 double m_px_g_neg{};
79 double m_py_g_neg{};
80 double m_pz_g_neg{};
81 double m_x_g_neg{};
82 double m_y_g_neg{};
83 double m_z_g_neg{};
84
86 // histograms
88 TH1F * m_th1_x_g{};
89 TH1F * m_th1_y_g{};
92
101
114
121
128
129};
130
131#endif // ALFA_GloRec_h
void InitHistos()
TH1F * m_th1_recxminusextrapxfarpot
TH1F * m_th1_recxslopeminustruexslope
TH1F * m_th1_xfarlwpotresiduals
Definition ALFA_GloRec.h:99
TH2F * m_th2_extrapyvsrecyfarpot
TH1F * m_th1_recxminustruex
StatusCode finalize()
TH2F * m_th2_trueyvsrecy
TH1F * m_th1_recyminustruey
double m_px_g_pos
Definition ALFA_GloRec.h:71
std::string m_strLocRecCorrCollectionName
Definition ALFA_GloRec.h:52
TH1F * m_th1_recxovertruex
TH1F * m_th1_y_g
Definition ALFA_GloRec.h:89
std::string m_TruthCollectionName
Definition ALFA_GloRec.h:53
TH1F * m_th1_recyslopeovertrueyslope
TH1F * m_th1_ynearlwpotresiduals
Definition ALFA_GloRec.h:98
TH2F * m_th2_extrapxvsrecxfarpot
TH1F * m_th1_yfarlwpotresiduals
TH1F * m_th1_recyovertruey
TH1F * m_th1_x_g
Definition ALFA_GloRec.h:88
double m_z_g_neg
Definition ALFA_GloRec.h:83
TH2F * m_th2_truexslopevsrecxslope
TH1F * m_th1_recxoverextrapxnearpot
TH1F * m_th1_yslope_g
Definition ALFA_GloRec.h:91
TH1F * m_th1_recyoverextrapynearpot
std::string m_strGloRecAnalysisFile
Definition ALFA_GloRec.h:50
ALFA_GloRecEvCollection * m_pGloRecEvCollection
Definition ALFA_GloRec.h:41
TH2F * m_th2_truexvsrecx
TH1F * m_th1_xfaruppotresiduals
Definition ALFA_GloRec.h:95
ALFA_GloRec(const std::string &name, ISvcLocator *pSvcLocator)
double m_px_g_neg
Definition ALFA_GloRec.h:78
double m_x_g_pos
Definition ALFA_GloRec.h:74
StatusCode initialize()
double m_pz_g_pos
Definition ALFA_GloRec.h:73
TH1F * m_th1_recxslopeovertruexslope
double m_x_g_neg
Definition ALFA_GloRec.h:81
TH1F * m_th1_recxminusextrapxnearpot
std::string m_strGloRecCollectionName
Definition ALFA_GloRec.h:51
TH1F * m_th1_recyminusextrapynearpot
double m_y_g_pos
Definition ALFA_GloRec.h:75
double m_z_g_pos
Definition ALFA_GloRec.h:76
TH1F * m_th1_xslope_g
Definition ALFA_GloRec.h:90
double m_pz_g_neg
Definition ALFA_GloRec.h:80
TH1F * m_th1_recyoverextrapyfarpot
double m_py_g_pos
Definition ALFA_GloRec.h:72
double m_y_g_neg
Definition ALFA_GloRec.h:82
TObjArray m_TObjArrTrackPathPatterns
Definition ALFA_GloRec.h:49
TH1F * m_th1_ynearuppotresiduals
Definition ALFA_GloRec.h:94
double m_py_g_neg
Definition ALFA_GloRec.h:79
StatusCode Truth_info()
TH1F * m_th1_xnearuppotresiduals
Definition ALFA_GloRec.h:93
TH2F * m_th2_trueyslopevsrecyslope
TH1F * m_th1_recyminusextrapyfarpot
std::string m_strTrackPathPatterns
Definition ALFA_GloRec.h:48
TH1F * m_th1_yfaruppotresiduals
Definition ALFA_GloRec.h:96
TH1F * m_th1_recyslopeminustrueyslope
TH1F * m_th1_xnearlwpotresiduals
Definition ALFA_GloRec.h:97
TH2F * m_th2_extrapxvsrecxnearpot
void WriteHistos()
StatusCode execute()
TH1F * m_th1_recxoverextrapxfarpot
TH2F * m_th2_extrapyvsrecynearpot
void FillTrackCandHistos(AlfaTrackCand *trkcand)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)