ATLAS Offline Software
CheckFlow_New.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 CHECKFLOWNEW_H
16 #define CHECKFLOWNEW_H
17 #include <math.h>
21 
22 #include "GaudiKernel/ITHistSvc.h"
23 #include "TH1.h"
24 #include <string>
25 
26 class TH1D; //Forward declaration
27 class TProfile; //Forward declaration
28 
29 
31 public:
32  CheckFlow_New(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  enum{
50  n_ptbin=16,
51  n_etabin=8
52  };
53 
54  //Histograms, used if m_produceHistogram is true = 1
55  TH1D *m_hist_Psi_n_true [6];
56  TH1D *m_hist_Psi_n_reco [6];
59 
60  TH1D *m_hist_Psi_n_ebe [6];
62  TH1D *m_hist_vn_ebe [6];
63 
68 
70 
71  SG::ReadHandleKey<HijingEventParams> m_hijingKey{this, "HijingEventParmsKey","Hijing_event_params"};
73 };
74 
75 #endif
76 
77 
GenAccessIO.h
CheckFlow_New::m_profile_eta_dep_reco
TProfile * m_profile_eta_dep_reco[6][n_ptbin]
Definition: CheckFlow_New.h:67
CheckFlow_New::m_tesIO
TruthHelper::GenAccessIO * m_tesIO
Definition: CheckFlow_New.h:72
HijingEventParams.h
CheckFlow_New::m_hist_psi_corr_reco
TH1D * m_hist_psi_corr_reco[36]
Definition: CheckFlow_New.h:58
CheckFlow_New::m_ptcut_max
DoubleProperty m_ptcut_max
Definition: CheckFlow_New.h:45
CheckFlow_New::m_ptcut_min
DoubleProperty m_ptcut_min
Definition: CheckFlow_New.h:44
CheckFlow_New::m_hijingKey
SG::ReadHandleKey< HijingEventParams > m_hijingKey
Definition: CheckFlow_New.h:71
CheckFlow_New::m_profile_resolution
TProfile * m_profile_resolution
Definition: CheckFlow_New.h:69
SG::ReadHandleKey< HijingEventParams >
CheckFlow_New::n_etabin
@ n_etabin
Definition: CheckFlow_New.h:51
CheckFlow_New::m_produceHistogram
BooleanProperty m_produceHistogram
Definition: CheckFlow_New.h:40
CheckFlow_New::m_hist_Psi_n_ebe
TH1D * m_hist_Psi_n_ebe[6]
Definition: CheckFlow_New.h:60
CheckFlow_New::m_hist_Psi_n_true
TH1D * m_hist_Psi_n_true[6]
Definition: CheckFlow_New.h:55
AthAlgorithm.h
CheckFlow_New::m_profile_pt_dep_reco
TProfile * m_profile_pt_dep_reco[6][n_etabin]
Definition: CheckFlow_New.h:66
CheckFlow_New::m_hist_Psi_n_ebe_pt
TH1D * m_hist_Psi_n_ebe_pt[6]
Definition: CheckFlow_New.h:61
CheckFlow_New::m_profile_pt_dep
TProfile * m_profile_pt_dep[6][n_etabin]
Definition: CheckFlow_New.h:64
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition: TrigEgammaMonitorHelper.py:81
CheckFlow_New::initialize
StatusCode initialize()
Definition: CheckFlow_New.cxx:53
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
CheckFlow_New::execute
StatusCode execute()
Definition: CheckFlow_New.cxx:212
CheckFlow_New::m_key
StringProperty m_key
Definition: CheckFlow_New.h:39
CheckFlow_New::m_profile_eta_dep
TProfile * m_profile_eta_dep[6][n_ptbin]
Definition: CheckFlow_New.h:65
CheckFlow_New
Definition: CheckFlow_New.py:1
CheckFlow_New::m_hist_vn_ebe
TH1D * m_hist_vn_ebe[6]
Definition: CheckFlow_New.h:62
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CheckFlow_New::m_hist_psi_corr_true
TH1D * m_hist_psi_corr_true[36]
Definition: CheckFlow_New.h:57
TruthHelper::GenAccessIO
Definition: Generators/FlowAfterburner/FlowAfterburner/GenAccessIO.h:21
CheckFlow_New::m_hist_Psi_n_reco
TH1D * m_hist_Psi_n_reco[6]
Definition: CheckFlow_New.h:56
CheckFlow_New::n_ptbin
@ n_ptbin
Definition: CheckFlow_New.h:50
CheckFlow_New::m_bcut_max
DoubleProperty m_bcut_max
Definition: CheckFlow_New.h:43
CheckFlow_New::m_bcut_min
DoubleProperty m_bcut_min
Definition: CheckFlow_New.h:42
CheckFlow_New::finalize
StatusCode finalize()
Definition: CheckFlow_New.cxx:376
CheckFlow_New::CheckFlow_New
CheckFlow_New(const std::string &name, ISvcLocator *pSvcLocator)
CheckFlow_New::m_rapcut_min
DoubleProperty m_rapcut_min
Definition: CheckFlow_New.h:46
CheckFlow_New::m_rapcut_max
DoubleProperty m_rapcut_max
Definition: CheckFlow_New.h:47