ATLAS Offline Software
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 
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);
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
50  TH1F* m_b{};
51  TH1F* m_phi{};
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 
GenAccessIO.h
CheckFlow::execute
StatusCode execute()
Definition: CheckFlow.cxx:132
CheckFlow::m_ptcut_min
DoubleProperty m_ptcut_min
Definition: CheckFlow.h:43
CheckFlow
Definition: CheckFlow.py:1
CheckFlow::m_phi
TH1F * m_phi
Definition: CheckFlow.h:51
HijingEventParams.h
CheckFlow::CheckFlow
CheckFlow(const std::string &name, ISvcLocator *pSvcLocator)
CheckFlow::m_v2betapth
TH3F * m_v2betapth
Definition: CheckFlow.h:58
SG::ReadHandleKey< HijingEventParams >
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
CheckFlow::m_phi_vs_phiR_etap
TH1F * m_phi_vs_phiR_etap
Definition: CheckFlow.h:56
CheckFlow::m_phiv1reco_vs_phiR
TH2F * m_phiv1reco_vs_phiR
Definition: CheckFlow.h:54
CheckFlow::m_ebetapth
TH3F * m_ebetapth
Definition: CheckFlow.h:59
AthAlgorithm.h
CheckFlow::finalize
StatusCode finalize()
Definition: CheckFlow.cxx:233
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CheckFlow::initialize
StatusCode initialize()
Definition: CheckFlow.cxx:35
CheckFlow::m_phi_vs_phiR
TH1F * m_phi_vs_phiR
Definition: CheckFlow.h:53
CheckFlow::m_phiR
TH1F * m_phiR
Definition: CheckFlow.h:52
CheckFlow::m_hgenerated
TH1F * m_hgenerated
Definition: CheckFlow.h:49
CheckFlow::m_phi_vs_phiR_etan
TH1F * m_phi_vs_phiR_etan
Definition: CheckFlow.h:57
CheckFlow::m_key
StringProperty m_key
Definition: CheckFlow.h:38
AthAlgorithm
Definition: AthAlgorithm.h:47
CheckFlow::m_rapcut_max
DoubleProperty m_rapcut_max
Definition: CheckFlow.h:46
CheckFlow::m_tesIO
TruthHelper::GenAccessIO * m_tesIO
Definition: CheckFlow.h:62
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
CheckFlow::m_phiv2reco_vs_phiR
TH2F * m_phiv2reco_vs_phiR
Definition: CheckFlow.h:55
CheckFlow::m_bcut_max
DoubleProperty m_bcut_max
Definition: CheckFlow.h:42
TruthHelper::GenAccessIO
Definition: Generators/FlowAfterburner/FlowAfterburner/GenAccessIO.h:21
CheckFlow::m_rapcut_min
DoubleProperty m_rapcut_min
Definition: CheckFlow.h:45
CheckFlow::m_bcut_min
DoubleProperty m_bcut_min
Definition: CheckFlow.h:41
CheckFlow::m_b
TH1F * m_b
Definition: CheckFlow.h:50
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
CheckFlow::m_ptcut_max
DoubleProperty m_ptcut_max
Definition: CheckFlow.h:44
CheckFlow::m_produceHistogram
BooleanProperty m_produceHistogram
Definition: CheckFlow.h:39
CheckFlow::m_hijingKey
SG::ReadHandleKey< HijingEventParams > m_hijingKey
Definition: CheckFlow.h:61