ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
FlowAfterburner
FlowAfterburner
CheckFlow.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 CHECKFLOW_H
16
#define CHECKFLOW_H
17
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
#include "
FlowAfterburner/GenAccessIO.h
"
20
#include "
GeneratorObjects/HijingEventParams.h
"
21
22
#include <string>
23
24
25
class
TH1F
;
//Forward declaration
26
class
TH2F;
//Forward declaration
27
class
TH3F;
//Forward declaration
28
29
class
CheckFlow
:
public
AthAlgorithm
{
30
public
:
31
CheckFlow
(
const
std::string& name, ISvcLocator* pSvcLocator);
32
StatusCode
initialize
();
33
StatusCode
execute
(
const
EventContext& ctx);
34
StatusCode
finalize
();
35
36
private
:
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
//Histograms, used if m_produceHistogram is true = 1
49
TH1F*
m_hgenerated
{};
50
TH1F*
m_b
{};
51
TH1F*
m_phi
{};
52
TH1F*
m_phiR
{};
53
TH1F*
m_phi_vs_phiR
{};
54
TH2F*
m_phiv1reco_vs_phiR
{};
55
TH2F*
m_phiv2reco_vs_phiR
{};
56
TH1F*
m_phi_vs_phiR_etap
{};
57
TH1F*
m_phi_vs_phiR_etan
{};
58
TH3F*
m_v2betapth
{};
59
TH3F*
m_ebetapth
{};
60
61
SG::ReadHandleKey<HijingEventParams>
m_hijingKey
{
this
,
"HijingEventParmsKey"
,
"Hijing_event_params"
};
62
TruthHelper::GenAccessIO
*
m_tesIO
{};
63
};
64
65
#endif
66
67
AthAlgorithm.h
GenAccessIO.h
HijingEventParams.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CheckFlow::m_ebetapth
TH3F * m_ebetapth
Definition
CheckFlow.h:59
CheckFlow::m_bcut_min
DoubleProperty m_bcut_min
Definition
CheckFlow.h:41
CheckFlow::CheckFlow
CheckFlow(const std::string &name, ISvcLocator *pSvcLocator)
CheckFlow::m_key
StringProperty m_key
Definition
CheckFlow.h:38
CheckFlow::m_phi_vs_phiR
TH1F * m_phi_vs_phiR
Definition
CheckFlow.h:53
CheckFlow::m_phiv1reco_vs_phiR
TH2F * m_phiv1reco_vs_phiR
Definition
CheckFlow.h:54
CheckFlow::m_phi
TH1F * m_phi
Definition
CheckFlow.h:51
CheckFlow::m_tesIO
TruthHelper::GenAccessIO * m_tesIO
Definition
CheckFlow.h:62
CheckFlow::m_phi_vs_phiR_etap
TH1F * m_phi_vs_phiR_etap
Definition
CheckFlow.h:56
CheckFlow::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
CheckFlow.cxx:132
CheckFlow::m_hijingKey
SG::ReadHandleKey< HijingEventParams > m_hijingKey
Definition
CheckFlow.h:61
CheckFlow::m_phiv2reco_vs_phiR
TH2F * m_phiv2reco_vs_phiR
Definition
CheckFlow.h:55
CheckFlow::m_phiR
TH1F * m_phiR
Definition
CheckFlow.h:52
CheckFlow::finalize
StatusCode finalize()
Definition
CheckFlow.cxx:233
CheckFlow::m_phi_vs_phiR_etan
TH1F * m_phi_vs_phiR_etan
Definition
CheckFlow.h:57
CheckFlow::m_hgenerated
TH1F * m_hgenerated
Definition
CheckFlow.h:49
CheckFlow::m_ptcut_min
DoubleProperty m_ptcut_min
Definition
CheckFlow.h:43
CheckFlow::m_rapcut_min
DoubleProperty m_rapcut_min
Definition
CheckFlow.h:45
CheckFlow::m_produceHistogram
BooleanProperty m_produceHistogram
Definition
CheckFlow.h:39
CheckFlow::m_bcut_max
DoubleProperty m_bcut_max
Definition
CheckFlow.h:42
CheckFlow::m_rapcut_max
DoubleProperty m_rapcut_max
Definition
CheckFlow.h:46
CheckFlow::m_b
TH1F * m_b
Definition
CheckFlow.h:50
CheckFlow::m_ptcut_max
DoubleProperty m_ptcut_max
Definition
CheckFlow.h:44
CheckFlow::m_v2betapth
TH3F * m_v2betapth
Definition
CheckFlow.h:58
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
Definition
CheckFlow.py:1
python.TrigEgammaMonitorHelper.TH1F
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition
TrigEgammaMonitorHelper.py:24
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0