ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
FlowAfterburner
FlowAfterburner
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
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
#include "
GeneratorObjects/HijingEventParams.h
"
20
#include <string>
21
22
namespace
TruthHelper
{
23
class
GenAccessIO
;
24
}
25
class
TH1D;
26
class
TProfile;
27
28
class
CheckFlow_New
:
public
AthAlgorithm
{
29
public
:
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
35
private
:
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
{
48
n_ptbin
=16,
49
n_etabin
=8
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]{};
55
TH1D *
m_hist_psi_corr_true
[36]{};
56
TH1D *
m_hist_psi_corr_reco
[36]{};
57
58
TH1D *
m_hist_Psi_n_ebe
[6]{};
59
TH1D *
m_hist_Psi_n_ebe_pt
[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
]{};
64
TProfile *
m_profile_pt_dep_reco
[6][
n_etabin
]{};
65
TProfile *
m_profile_eta_dep_reco
[6][
n_ptbin
]{};
66
67
TProfile *
m_profile_resolution
{};
68
69
SG::ReadHandleKey<HijingEventParams>
m_hijingKey
{
this
,
"HijingEventParmsKey"
,
"Hijing_event_params"
};
70
TruthHelper::GenAccessIO
*
m_tesIO
{};
71
};
72
73
#endif
74
75
AthAlgorithm.h
HijingEventParams.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CheckFlow_New::m_ptcut_min
DoubleProperty m_ptcut_min
Definition
CheckFlow_New.h:42
CheckFlow_New::m_ptcut_max
DoubleProperty m_ptcut_max
Definition
CheckFlow_New.h:43
CheckFlow_New::m_hist_psi_corr_reco
TH1D * m_hist_psi_corr_reco[36]
Definition
CheckFlow_New.h:56
CheckFlow_New::finalize
virtual StatusCode finalize() override
Definition
CheckFlow_New.cxx:375
CheckFlow_New::m_hist_vn_ebe
TH1D * m_hist_vn_ebe[6]
Definition
CheckFlow_New.h:60
CheckFlow_New::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
CheckFlow_New.cxx:203
CheckFlow_New::m_profile_pt_dep_reco
TProfile * m_profile_pt_dep_reco[6][n_etabin]
Definition
CheckFlow_New.h:64
CheckFlow_New::m_bcut_min
DoubleProperty m_bcut_min
Definition
CheckFlow_New.h:40
CheckFlow_New::m_key
StringProperty m_key
Definition
CheckFlow_New.h:37
CheckFlow_New::CheckFlow_New
CheckFlow_New(const std::string &name, ISvcLocator *pSvcLocator)
CheckFlow_New::m_hijingKey
SG::ReadHandleKey< HijingEventParams > m_hijingKey
Definition
CheckFlow_New.h:69
CheckFlow_New::m_hist_Psi_n_true
TH1D * m_hist_Psi_n_true[6]
Definition
CheckFlow_New.h:53
CheckFlow_New::n_etabin
@ n_etabin
Definition
CheckFlow_New.h:49
CheckFlow_New::n_ptbin
@ n_ptbin
Definition
CheckFlow_New.h:48
CheckFlow_New::m_profile_eta_dep
TProfile * m_profile_eta_dep[6][n_ptbin]
Definition
CheckFlow_New.h:63
CheckFlow_New::m_profile_resolution
TProfile * m_profile_resolution
Definition
CheckFlow_New.h:67
CheckFlow_New::m_rapcut_min
DoubleProperty m_rapcut_min
Definition
CheckFlow_New.h:44
CheckFlow_New::m_hist_Psi_n_ebe_pt
TH1D * m_hist_Psi_n_ebe_pt[6]
Definition
CheckFlow_New.h:59
CheckFlow_New::m_produceHistogram
BooleanProperty m_produceHistogram
Definition
CheckFlow_New.h:38
CheckFlow_New::m_profile_eta_dep_reco
TProfile * m_profile_eta_dep_reco[6][n_ptbin]
Definition
CheckFlow_New.h:65
CheckFlow_New::m_bcut_max
DoubleProperty m_bcut_max
Definition
CheckFlow_New.h:41
CheckFlow_New::m_hist_Psi_n_reco
TH1D * m_hist_Psi_n_reco[6]
Definition
CheckFlow_New.h:54
CheckFlow_New::m_hist_Psi_n_ebe
TH1D * m_hist_Psi_n_ebe[6]
Definition
CheckFlow_New.h:58
CheckFlow_New::m_tesIO
TruthHelper::GenAccessIO * m_tesIO
Definition
CheckFlow_New.h:70
CheckFlow_New::m_profile_pt_dep
TProfile * m_profile_pt_dep[6][n_etabin]
Definition
CheckFlow_New.h:62
CheckFlow_New::m_rapcut_max
DoubleProperty m_rapcut_max
Definition
CheckFlow_New.h:45
CheckFlow_New::m_hist_psi_corr_true
TH1D * m_hist_psi_corr_true[36]
Definition
CheckFlow_New.h:55
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TruthHelper::GenAccessIO
Definition
Generators/FlowAfterburner/FlowAfterburner/GenAccessIO.h:21
CheckFlow_New
Definition
CheckFlow_New.py:1
TruthHelper
Definition
CheckFlow_New.h:22
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0