ATLAS Offline Software
Loading...
Searching...
No Matches
CheckFlow_New.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// File: Generators/FlowAfterburner/CheckFlow.h
6// Description:
7// This is a simple algorithm to histogram particle properties
8// for diagnosing of flow generation
9//
10// It has a single important parameter m_rapcut
11// to cut off particles from very forward pseudorapidity region
12//
13// AuthorList:
14// Andrzej Olszewski: Initial Code February 2006
15#ifndef CHECKFLOWNEW_H
16#define CHECKFLOWNEW_H
17
20#include <string>
21
22namespace TruthHelper{
23 class GenAccessIO;
24}
25class TH1D;
26class TProfile;
27
29public:
30 CheckFlow_New(const std::string& name, ISvcLocator* pSvcLocator);
31 virtual StatusCode initialize() override;
32 virtual StatusCode execute(const EventContext& ctx) override;
33 virtual StatusCode finalize() override;
34
35private:
36 //Declare the algorithm's properties
37 StringProperty m_key{this, "McEventKey", "FLOW_EVENT"};
38 BooleanProperty m_produceHistogram{this, "HistogramFlag", true};
39
40 DoubleProperty m_bcut_min{this, "ImpactCutMin", 0.};
41 DoubleProperty m_bcut_max{this, "ImpactCutMax", 99.};
42 DoubleProperty m_ptcut_min{this, "PtCutMin", 0.};
43 DoubleProperty m_ptcut_max{this, "PtCutMax", 999999.};
44 DoubleProperty m_rapcut_min{this, "RapidityCutMin", 0.};
45 DoubleProperty m_rapcut_max{this, "RapidityCutMax", 5.5};
46
47 enum{
50 };
51
52 //Histograms, used if m_produceHistogram is true = 1
53 TH1D *m_hist_Psi_n_true [6]{};
54 TH1D *m_hist_Psi_n_reco [6]{};
57
58 TH1D *m_hist_Psi_n_ebe [6]{};
60 TH1D *m_hist_vn_ebe [6]{};
61
62 TProfile *m_profile_pt_dep [6][n_etabin]{};
63 TProfile *m_profile_eta_dep [6][n_ptbin ]{};
66
68
69 SG::ReadHandleKey<HijingEventParams> m_hijingKey{this, "HijingEventParmsKey","Hijing_event_params"};
71};
72
73#endif
74
75
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
DoubleProperty m_ptcut_min
DoubleProperty m_ptcut_max
TH1D * m_hist_psi_corr_reco[36]
virtual StatusCode finalize() override
TH1D * m_hist_vn_ebe[6]
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
TProfile * m_profile_pt_dep_reco[6][n_etabin]
DoubleProperty m_bcut_min
StringProperty m_key
CheckFlow_New(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< HijingEventParams > m_hijingKey
TH1D * m_hist_Psi_n_true[6]
TProfile * m_profile_eta_dep[6][n_ptbin]
TProfile * m_profile_resolution
DoubleProperty m_rapcut_min
TH1D * m_hist_Psi_n_ebe_pt[6]
BooleanProperty m_produceHistogram
TProfile * m_profile_eta_dep_reco[6][n_ptbin]
DoubleProperty m_bcut_max
TH1D * m_hist_Psi_n_reco[6]
TH1D * m_hist_Psi_n_ebe[6]
TruthHelper::GenAccessIO * m_tesIO
TProfile * m_profile_pt_dep[6][n_etabin]
DoubleProperty m_rapcut_max
TH1D * m_hist_psi_corr_true[36]
Property holding a SG store/key/clid from which a ReadHandle is made.
void initialize()