ATLAS Offline Software
Loading...
Searching...
No Matches
CheckFlow_New.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// 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 "GaudiKernel/ITHistSvc.h"
21#include <string>
22
23namespace TruthHelper{
24 class GenAccessIO;
25}
26class TH1D;
27class TProfile;
28
30public:
31 CheckFlow_New(const std::string& name, ISvcLocator* pSvcLocator);
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute() override;
34 virtual StatusCode finalize() override;
35
36private:
37 //Declare the algorithm's properties
38 StringProperty m_key{this, "McEventKey", "FLOW_EVENT"};
39 BooleanProperty m_produceHistogram{this, "HistogramFlag", true};
40
41 DoubleProperty m_bcut_min{this, "ImpactCutMin", 0.};
42 DoubleProperty m_bcut_max{this, "ImpactCutMax", 99.};
43 DoubleProperty m_ptcut_min{this, "PtCutMin", 0.};
44 DoubleProperty m_ptcut_max{this, "PtCutMax", 999999.};
45 DoubleProperty m_rapcut_min{this, "RapidityCutMin", 0.};
46 DoubleProperty m_rapcut_max{this, "RapidityCutMax", 5.5};
47
48 enum{
51 };
52
53 //Histograms, used if m_produceHistogram is true = 1
54 TH1D *m_hist_Psi_n_true [6]{};
55 TH1D *m_hist_Psi_n_reco [6]{};
58
59 TH1D *m_hist_Psi_n_ebe [6]{};
61 TH1D *m_hist_vn_ebe [6]{};
62
63 TProfile *m_profile_pt_dep [6][n_etabin]{};
64 TProfile *m_profile_eta_dep [6][n_ptbin ]{};
67
69
70 SG::ReadHandleKey<HijingEventParams> m_hijingKey{this, "HijingEventParmsKey","Hijing_event_params"};
72};
73
74#endif
75
76
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
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]
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]
virtual StatusCode execute() override
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()