ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibUtils
LArCalibUtils
LArTimePhysPrediction.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
//01/2009: T. Guillemin
6
//This algorithm predicts the relative times of the physics pulses
7
//from the calibration pulses and the complete readout path
8
#ifndef LARCALIBUTILS_LARTIMEPHYSPREDICTION_H
9
#define LARCALIBUTILS_LARTIMEPHYSPREDICTION_H
10
11
#include "
AthenaBaseComps/AthAlgorithm.h
"
12
#include "GaudiKernel/INTupleSvc.h"
13
#include "GaudiKernel/NTuple.h"
14
#include "GaudiKernel/ITHistSvc.h"
15
#include "
LArCabling/LArOnOffIdMapping.h
"
16
#include "
LArRecConditions/LArCalibLineMapping.h
"
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
#include "
CaloDetDescr/CaloDetDescrManager.h
"
19
20
class
CaloDepthTool
;
21
class
ITHistSvc;
22
23
class
LArTimePhysPrediction
:
public
AthAlgorithm
24
{
25
26
public
:
27
28
LArTimePhysPrediction
(
const
std::string & name, ISvcLocator * pSvcLocator);
29
~LArTimePhysPrediction
();
30
31
//standard algorithm methods
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext&)
override
{
return
StatusCode::SUCCESS; }
34
virtual
StatusCode
stop
()
override
;
35
36
private
:
37
38
ServiceHandle<ITHistSvc>
m_thistSvc
{
this
,
"THistSvc"
,
"THistSvc"
};
39
std::string
m_keyoutput
;
40
std::string
m_keyinput
;
41
std::string
m_groupingType
;
42
std::string
m_CaloDepth
;
43
CaloDepthTool
*
m_CaloDepthTool
;
44
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
45
SG::ReadCondHandleKey<LArCalibLineMapping>
m_calibMapKey
{
this
,
"CalibMapKey"
,
"LArCalibLineMap"
,
"SG Key of calib line mapping object"
};
46
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
47
,
"CaloDetDescrManager"
48
,
"CaloDetDescrManager"
49
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
50
51
int
m_nchannels_max
;
52
std::vector<std::vector<double> >
m_vLCalib_EMB
;
53
std::vector<double>
m_vEtaMin_EMB
;
54
std::vector<double>
m_vEtaMax_EMB
;
55
double
m_vLCalib_EMEC
;
56
double
m_vLCalib_HEC
;
57
std::vector<std::vector<double> >
m_vLSignal_EMB
;
58
double
m_vLSignal_EMEC
;
59
double
m_vLSignal_HEC
;
60
std::vector<double>
m_vLSignal_FCAL
;
61
std::vector<std::vector<double> >
m_vDeltaTTC_EMB
;
62
std::vector<std::vector<double> >
m_vDeltaTTC_EC
;
63
std::vector<std::vector<double> >
m_vDeltaTTC_ECC_SPEC
;
64
std::vector<std::vector<double> >
m_vDeltaTTC_ECA_SPEC
;
65
double
m_sCalib
;
66
double
m_sSignal
;
67
double
m_sPig
;
68
double
m_sLTP
;
69
70
//Ntuple pointer
71
NTuple::Tuple*
m_nt
;
72
//Ntuple variables
73
NTuple::Item<long>
m_Chid
;
74
NTuple::Item<long>
m_Channel
;
75
NTuple::Item<long>
m_CalibLine
;
76
NTuple::Item<long>
m_is_lar_em
;
77
NTuple::Item<long>
m_is_lar_hec
;
78
NTuple::Item<long>
m_is_lar_fcal
;
79
NTuple::Item<long>
m_pos_neg
;
80
NTuple::Item<long>
m_barrel_ec
;
81
NTuple::Item<long>
m_FT
;
82
NTuple::Item<long>
m_slot
;
83
NTuple::Item<long>
m_FEBid
;
84
NTuple::Item<long>
m_eta
;
85
NTuple::Item<long>
m_phi
;
86
NTuple::Item<long>
m_layer
;
87
NTuple::Item<double>
m_real_eta
;
88
NTuple::Item<double>
m_real_phi
;
89
NTuple::Item<double>
m_t0
;
90
NTuple::Item<double>
m_tcali
;
91
NTuple::Item<double>
m_tCalibPredicted
;
92
NTuple::Item<double>
m_CalibCables
;
93
NTuple::Item<double>
m_SignalCables
;
94
NTuple::Item<double>
m_TOF
;
95
NTuple::Item<double>
m_DeltaTTC
;
96
NTuple::Item<double>
m_tPhysPredicted
;
97
};
98
99
#endif
AthAlgorithm.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
LArCalibLineMapping.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloDepthTool
Implementation of the ICaloDepthTool interface.Given a Track direction, checks if it is in the Calori...
Definition
CaloDepthTool.h:47
LArTimePhysPrediction::m_TOF
NTuple::Item< double > m_TOF
Definition
LArTimePhysPrediction.h:94
LArTimePhysPrediction::m_vDeltaTTC_EMB
std::vector< std::vector< double > > m_vDeltaTTC_EMB
Definition
LArTimePhysPrediction.h:61
LArTimePhysPrediction::m_nt
NTuple::Tuple * m_nt
Definition
LArTimePhysPrediction.h:71
LArTimePhysPrediction::m_real_phi
NTuple::Item< double > m_real_phi
Definition
LArTimePhysPrediction.h:88
LArTimePhysPrediction::m_SignalCables
NTuple::Item< double > m_SignalCables
Definition
LArTimePhysPrediction.h:93
LArTimePhysPrediction::m_calibMapKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
Definition
LArTimePhysPrediction.h:45
LArTimePhysPrediction::m_groupingType
std::string m_groupingType
Definition
LArTimePhysPrediction.h:41
LArTimePhysPrediction::m_vLCalib_EMEC
double m_vLCalib_EMEC
Definition
LArTimePhysPrediction.h:55
LArTimePhysPrediction::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArTimePhysPrediction.h:44
LArTimePhysPrediction::m_CalibCables
NTuple::Item< double > m_CalibCables
Definition
LArTimePhysPrediction.h:92
LArTimePhysPrediction::m_vDeltaTTC_ECA_SPEC
std::vector< std::vector< double > > m_vDeltaTTC_ECA_SPEC
Definition
LArTimePhysPrediction.h:64
LArTimePhysPrediction::stop
virtual StatusCode stop() override
Definition
LArTimePhysPrediction.cxx:114
LArTimePhysPrediction::m_sCalib
double m_sCalib
Definition
LArTimePhysPrediction.h:65
LArTimePhysPrediction::m_t0
NTuple::Item< double > m_t0
Definition
LArTimePhysPrediction.h:89
LArTimePhysPrediction::m_is_lar_em
NTuple::Item< long > m_is_lar_em
Definition
LArTimePhysPrediction.h:76
LArTimePhysPrediction::m_is_lar_hec
NTuple::Item< long > m_is_lar_hec
Definition
LArTimePhysPrediction.h:77
LArTimePhysPrediction::m_layer
NTuple::Item< long > m_layer
Definition
LArTimePhysPrediction.h:86
LArTimePhysPrediction::m_DeltaTTC
NTuple::Item< double > m_DeltaTTC
Definition
LArTimePhysPrediction.h:95
LArTimePhysPrediction::m_phi
NTuple::Item< long > m_phi
Definition
LArTimePhysPrediction.h:85
LArTimePhysPrediction::m_barrel_ec
NTuple::Item< long > m_barrel_ec
Definition
LArTimePhysPrediction.h:80
LArTimePhysPrediction::m_vEtaMin_EMB
std::vector< double > m_vEtaMin_EMB
Definition
LArTimePhysPrediction.h:53
LArTimePhysPrediction::m_vLSignal_HEC
double m_vLSignal_HEC
Definition
LArTimePhysPrediction.h:59
LArTimePhysPrediction::m_pos_neg
NTuple::Item< long > m_pos_neg
Definition
LArTimePhysPrediction.h:79
LArTimePhysPrediction::m_eta
NTuple::Item< long > m_eta
Definition
LArTimePhysPrediction.h:84
LArTimePhysPrediction::m_sLTP
double m_sLTP
Definition
LArTimePhysPrediction.h:68
LArTimePhysPrediction::LArTimePhysPrediction
LArTimePhysPrediction(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArTimePhysPrediction.cxx:28
LArTimePhysPrediction::m_vLSignal_EMB
std::vector< std::vector< double > > m_vLSignal_EMB
Definition
LArTimePhysPrediction.h:57
LArTimePhysPrediction::m_slot
NTuple::Item< long > m_slot
Definition
LArTimePhysPrediction.h:82
LArTimePhysPrediction::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArTimePhysPrediction.h:46
LArTimePhysPrediction::~LArTimePhysPrediction
~LArTimePhysPrediction()
LArTimePhysPrediction::m_real_eta
NTuple::Item< double > m_real_eta
Definition
LArTimePhysPrediction.h:87
LArTimePhysPrediction::m_FEBid
NTuple::Item< long > m_FEBid
Definition
LArTimePhysPrediction.h:83
LArTimePhysPrediction::m_sSignal
double m_sSignal
Definition
LArTimePhysPrediction.h:66
LArTimePhysPrediction::m_tPhysPredicted
NTuple::Item< double > m_tPhysPredicted
Definition
LArTimePhysPrediction.h:96
LArTimePhysPrediction::initialize
virtual StatusCode initialize() override
Definition
LArTimePhysPrediction.cxx:59
LArTimePhysPrediction::m_vLCalib_HEC
double m_vLCalib_HEC
Definition
LArTimePhysPrediction.h:56
LArTimePhysPrediction::m_Channel
NTuple::Item< long > m_Channel
Definition
LArTimePhysPrediction.h:74
LArTimePhysPrediction::m_CaloDepth
std::string m_CaloDepth
Definition
LArTimePhysPrediction.h:42
LArTimePhysPrediction::m_tCalibPredicted
NTuple::Item< double > m_tCalibPredicted
Definition
LArTimePhysPrediction.h:91
LArTimePhysPrediction::m_vDeltaTTC_ECC_SPEC
std::vector< std::vector< double > > m_vDeltaTTC_ECC_SPEC
Definition
LArTimePhysPrediction.h:63
LArTimePhysPrediction::m_Chid
NTuple::Item< long > m_Chid
Definition
LArTimePhysPrediction.h:73
LArTimePhysPrediction::m_vLCalib_EMB
std::vector< std::vector< double > > m_vLCalib_EMB
Definition
LArTimePhysPrediction.h:52
LArTimePhysPrediction::m_is_lar_fcal
NTuple::Item< long > m_is_lar_fcal
Definition
LArTimePhysPrediction.h:78
LArTimePhysPrediction::m_sPig
double m_sPig
Definition
LArTimePhysPrediction.h:67
LArTimePhysPrediction::m_keyoutput
std::string m_keyoutput
Definition
LArTimePhysPrediction.h:39
LArTimePhysPrediction::m_tcali
NTuple::Item< double > m_tcali
Definition
LArTimePhysPrediction.h:90
LArTimePhysPrediction::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition
LArTimePhysPrediction.h:38
LArTimePhysPrediction::m_keyinput
std::string m_keyinput
Definition
LArTimePhysPrediction.h:40
LArTimePhysPrediction::m_FT
NTuple::Item< long > m_FT
Definition
LArTimePhysPrediction.h:81
LArTimePhysPrediction::m_vEtaMax_EMB
std::vector< double > m_vEtaMax_EMB
Definition
LArTimePhysPrediction.h:54
LArTimePhysPrediction::execute
virtual StatusCode execute(const EventContext &) override
Execute method.
Definition
LArTimePhysPrediction.h:33
LArTimePhysPrediction::m_CaloDepthTool
CaloDepthTool * m_CaloDepthTool
Definition
LArTimePhysPrediction.h:43
LArTimePhysPrediction::m_vDeltaTTC_EC
std::vector< std::vector< double > > m_vDeltaTTC_EC
Definition
LArTimePhysPrediction.h:62
LArTimePhysPrediction::m_vLSignal_FCAL
std::vector< double > m_vLSignal_FCAL
Definition
LArTimePhysPrediction.h:60
LArTimePhysPrediction::m_CalibLine
NTuple::Item< long > m_CalibLine
Definition
LArTimePhysPrediction.h:75
LArTimePhysPrediction::m_vLSignal_EMEC
double m_vLSignal_EMEC
Definition
LArTimePhysPrediction.h:58
LArTimePhysPrediction::m_nchannels_max
int m_nchannels_max
Definition
LArTimePhysPrediction.h:51
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0