ATLAS Offline Software
Loading...
Searching...
No Matches
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
21
22#include <string>
23
24
25class TH1F; //Forward declaration
26class TH2F; //Forward declaration
27class TH3F; //Forward declaration
28
29class CheckFlow:public AthAlgorithm {
30public:
31 CheckFlow(const std::string& name, ISvcLocator* pSvcLocator);
32 StatusCode initialize();
33 StatusCode execute();
34 StatusCode finalize();
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 //Histograms, used if m_produceHistogram is true = 1
49 TH1F* m_hgenerated{};
50 TH1F* m_b{};
51 TH1F* m_phi{};
52 TH1F* m_phiR{};
58 TH3F* m_v2betapth{};
59 TH3F* m_ebetapth{};
60
61 SG::ReadHandleKey<HijingEventParams> m_hijingKey{this, "HijingEventParmsKey","Hijing_event_params"};
63};
64
65#endif
66
67
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
TH3F * m_ebetapth
Definition CheckFlow.h:59
DoubleProperty m_bcut_min
Definition CheckFlow.h:41
CheckFlow(const std::string &name, ISvcLocator *pSvcLocator)
StringProperty m_key
Definition CheckFlow.h:38
TH1F * m_phi_vs_phiR
Definition CheckFlow.h:53
TH2F * m_phiv1reco_vs_phiR
Definition CheckFlow.h:54
TH1F * m_phi
Definition CheckFlow.h:51
TruthHelper::GenAccessIO * m_tesIO
Definition CheckFlow.h:62
TH1F * m_phi_vs_phiR_etap
Definition CheckFlow.h:56
SG::ReadHandleKey< HijingEventParams > m_hijingKey
Definition CheckFlow.h:61
TH2F * m_phiv2reco_vs_phiR
Definition CheckFlow.h:55
TH1F * m_phiR
Definition CheckFlow.h:52
StatusCode finalize()
TH1F * m_phi_vs_phiR_etan
Definition CheckFlow.h:57
TH1F * m_hgenerated
Definition CheckFlow.h:49
StatusCode execute()
DoubleProperty m_ptcut_min
Definition CheckFlow.h:43
DoubleProperty m_rapcut_min
Definition CheckFlow.h:45
BooleanProperty m_produceHistogram
Definition CheckFlow.h:39
DoubleProperty m_bcut_max
Definition CheckFlow.h:42
DoubleProperty m_rapcut_max
Definition CheckFlow.h:46
TH1F * m_b
Definition CheckFlow.h:50
DoubleProperty m_ptcut_max
Definition CheckFlow.h:44
TH3F * m_v2betapth
Definition CheckFlow.h:58
Property holding a SG store/key/clid from which a ReadHandle is made.
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
void initialize()