Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
CheckFlow.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // File: Generators/FlowAfterburnber/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 #include <math.h>
21 
22 #include "GaudiKernel/ITHistSvc.h"
23 #include "TH1.h"
24 #include <string>
25 
26 class TH1F; //Forward declaration
27 class TH2F; //Forward declaration
28 class TH3F; //Forward declaration
29 
30 class CheckFlow:public AthAlgorithm {
31 public:
32  CheckFlow(const std::string& name, ISvcLocator* pSvcLocator);
36 
37 private:
38  //Declare the algorithm's properties
39  StringProperty m_key{this, "McEventKey", "FLOW_EVENT"};
40  BooleanProperty m_produceHistogram{this, "HistogramFlag", true};
41 
42  DoubleProperty m_bcut_min{this, "ImpactCutMin", 0.};
43  DoubleProperty m_bcut_max{this, "ImpactCutMax", 99.};
44  DoubleProperty m_ptcut_min{this, "PtCutMin", 0.};
45  DoubleProperty m_ptcut_max{this, "PtCutMax", 999999.};
46  DoubleProperty m_rapcut_min{this, "RapidityCutMin", 0.};
47  DoubleProperty m_rapcut_max{this, "RapidityCutMax", 5.5};
48 
49  //Histograms, used if m_produceHistogram is true = 1
51  TH1F* m_b{};
52  TH1F* m_phi{};
59  TH3F* m_v2betapth{};
60  TH3F* m_ebetapth{};
61 
62  SG::ReadHandleKey<HijingEventParams> m_hijingKey{this, "HijingEventParmsKey","Hijing_event_params"};
64 };
65 
66 #endif
67 
68 
GenAccessIO.h
CheckFlow::execute
StatusCode execute()
Definition: CheckFlow.cxx:132
CheckFlow::m_ptcut_min
DoubleProperty m_ptcut_min
Definition: CheckFlow.h:44
CheckFlow
Definition: CheckFlow.py:1
CheckFlow::m_phi
TH1F * m_phi
Definition: CheckFlow.h:52
HijingEventParams.h
CheckFlow::CheckFlow
CheckFlow(const std::string &name, ISvcLocator *pSvcLocator)
CheckFlow::m_v2betapth
TH3F * m_v2betapth
Definition: CheckFlow.h:59
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:57
CheckFlow::m_phiv1reco_vs_phiR
TH2F * m_phiv1reco_vs_phiR
Definition: CheckFlow.h:55
CheckFlow::m_ebetapth
TH3F * m_ebetapth
Definition: CheckFlow.h:60
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:34
CheckFlow::m_phi_vs_phiR
TH1F * m_phi_vs_phiR
Definition: CheckFlow.h:54
CheckFlow::m_phiR
TH1F * m_phiR
Definition: CheckFlow.h:53
CheckFlow::m_hgenerated
TH1F * m_hgenerated
Definition: CheckFlow.h:50
CheckFlow::m_phi_vs_phiR_etan
TH1F * m_phi_vs_phiR_etan
Definition: CheckFlow.h:58
CheckFlow::m_key
StringProperty m_key
Definition: CheckFlow.h:39
AthAlgorithm
Definition: AthAlgorithm.h:47
CheckFlow::m_rapcut_max
DoubleProperty m_rapcut_max
Definition: CheckFlow.h:47
CheckFlow::m_tesIO
TruthHelper::GenAccessIO * m_tesIO
Definition: CheckFlow.h:63
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CheckFlow::m_phiv2reco_vs_phiR
TH2F * m_phiv2reco_vs_phiR
Definition: CheckFlow.h:56
CheckFlow::m_bcut_max
DoubleProperty m_bcut_max
Definition: CheckFlow.h:43
TruthHelper::GenAccessIO
Definition: Generators/FlowAfterburner/FlowAfterburner/GenAccessIO.h:21
CheckFlow::m_rapcut_min
DoubleProperty m_rapcut_min
Definition: CheckFlow.h:46
CheckFlow::m_bcut_min
DoubleProperty m_bcut_min
Definition: CheckFlow.h:42
CheckFlow::m_b
TH1F * m_b
Definition: CheckFlow.h:51
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:45
CheckFlow::m_produceHistogram
BooleanProperty m_produceHistogram
Definition: CheckFlow.h:40
CheckFlow::m_hijingKey
SG::ReadHandleKey< HijingEventParams > m_hijingKey
Definition: CheckFlow.h:62