#include <TBEMECCellEtaCorrection.h>
Definition at line 28 of file TBEMECCellEtaCorrection.h.
◆ StoreGateSvc_t
◆ TBEMECCellEtaCorrection()
| TBEMECCellEtaCorrection::TBEMECCellEtaCorrection |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 17 of file TBEMECCellEtaCorrection.cxx.
20 : CaloCellCorrection(type, name, parent),
31{
32 declareInterface<CaloCellCorrection>(this);
33
44
47
51
54}
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
bool m_EMEC_response_eta_correction
◆ ~TBEMECCellEtaCorrection()
| TBEMECCellEtaCorrection::~TBEMECCellEtaCorrection |
( |
| ) |
|
|
virtual |
◆ addenergy()
| void CaloCellCorrection::addenergy |
( |
CaloCell * | lar_cell, |
|
|
float | energy ) |
|
staticprotectedinherited |
◆ AthAlgTool()
Constructor with parameters:
Definition at line 31 of file AthAlgTool.cxx.
18 :
20{
21}
AthCommonDataStore(const std::string &name, T... args)
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ execute()
Definition at line 50 of file CaloCellCorrection.cxx.
52{
53
55
56 if (!cellCollection) {
57 ATH_MSG_ERROR(
"Cell Correction tool receives invalid cell Collection" );
58 return StatusCode::FAILURE;
59 }
60
61
62
63
64
65 for (CaloCell* cell : *cellCollection) {
67 }
68
69
70
71 return StatusCode::SUCCESS;
72
73}
virtual void MakeCorrection(CaloCell *cellCollection, const EventContext &ctx) const =0
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ initialize()
| StatusCode TBEMECCellEtaCorrection::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 57 of file TBEMECCellEtaCorrection.cxx.
58{
60
61 log << MSG::INFO <<
" TBEMECCellEtaCorrection initialization " <<
endmsg ;
62
63
65 log << MSG::INFO <<
"No correction of EMEC response eta-dependance"
67 }
68 else {
72 log << MSG::INFO <<
"Correction of EMEC response eta-dependance is ON;"
74 log << MSG::INFO <<
"EMEC_eta0_1, EMEC_alpha1, EMEC_beta1 = " <<
76 log << MSG::INFO <<
"EMEC_eta0_2, EMEC_alpha2, EMEC_beta2 = " <<
78 }
79 log << MSG::INFO <<
"ramp_corr, ramp_corr_eta1, ramp_corr_eta2 = "
83 return StatusCode::SUCCESS;
84}
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
| const InterfaceID & CaloCellCorrection::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Definition at line 51 of file CaloCellCorrection.h.
static const InterfaceID IID_CaloCellCorrection("CaloCellCorrection", 1, 0)
◆ MakeCorrection()
| void TBEMECCellEtaCorrection::MakeCorrection |
( |
CaloCell * | theCell, |
|
|
const EventContext & | ctx ) const |
|
overridevirtual |
Implements CaloCellCorrection.
Definition at line 94 of file TBEMECCellEtaCorrection.cxx.
96{
98
99 const CaloDetDescrElement* elt = theCell->
caloDDE();
100
103 double eta = theCell->
eta();
104
108 }
112 }
114 }
115
118 double eta = theCell->
eta();
119
122
123 }
124
127 }
128
131
134 }
135
137 switch ( iSamp ) {
138 case CaloCell_ID::EME2 : {
140 break;
141 }
142 case CaloCell_ID::EME3 : {
144 break;
145 }
146 case CaloCell_ID::HEC0 : {
148 break;
149 }
150 case CaloCell_ID::HEC1 : {
152 break;
153 }
154 case CaloCell_ID::HEC2 : {
156 break;
157 }
158 case CaloCell_ID::FCAL0 : {
160 break;
161 }
162 case CaloCell_ID::FCAL1 : {
164 break;
165 }
166 case CaloCell_ID::FCAL2 : {
167 break;
168 }
170 log << MSG::ERROR <<
"Unknown sampling: "<<iSamp<<
endmsg;
171 }
172 }
173
174}
Scalar eta() const
pseudorapidity method
CaloSampling::CaloSample CaloSample
double energy() const
get energy (data member)
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
virtual double eta() const override final
get eta (through CaloDetDescrElement)
virtual void setEnergy(float energy)
set energy
CaloCell_ID::CaloSample getSampling() const
cell sampling
bool is_lar_em_endcap() const
cell belongs to EM end cap
bool is_lar_fcal() const
cell belongs to FCAL
◆ msg()
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ scaleenergy()
| void CaloCellCorrection::scaleenergy |
( |
CaloCell * | lar_cell, |
|
|
float | scale ) |
|
staticprotectedinherited |
◆ setenergy()
| void CaloCellCorrection::setenergy |
( |
CaloCell * | lar_cell, |
|
|
float | energy ) |
|
staticprotectedinherited |
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_EMEC_1_scale
| double TBEMECCellEtaCorrection::m_EMEC_1_scale |
|
private |
◆ m_EMEC_2_scale
| double TBEMECCellEtaCorrection::m_EMEC_2_scale |
|
private |
◆ m_EMEC_alpha1
| double TBEMECCellEtaCorrection::m_EMEC_alpha1 |
|
private |
◆ m_EMEC_alpha2
| double TBEMECCellEtaCorrection::m_EMEC_alpha2 |
|
private |
◆ m_EMEC_beta1
| double TBEMECCellEtaCorrection::m_EMEC_beta1 |
|
private |
◆ m_EMEC_beta2
| double TBEMECCellEtaCorrection::m_EMEC_beta2 |
|
private |
◆ m_EMEC_eta0_1
| double TBEMECCellEtaCorrection::m_EMEC_eta0_1 |
|
private |
◆ m_EMEC_eta0_2
| double TBEMECCellEtaCorrection::m_EMEC_eta0_2 |
|
private |
◆ m_EMEC_eta1
| double TBEMECCellEtaCorrection::m_EMEC_eta1 |
|
private |
◆ m_EMEC_eta2
| double TBEMECCellEtaCorrection::m_EMEC_eta2 |
|
private |
◆ m_EMEC_eta3
| double TBEMECCellEtaCorrection::m_EMEC_eta3 |
|
private |
◆ m_EMEC_rescale
| double TBEMECCellEtaCorrection::m_EMEC_rescale |
|
private |
◆ m_EMEC_response_eta_correction
| bool TBEMECCellEtaCorrection::m_EMEC_response_eta_correction |
|
private |
◆ m_evtStore
◆ m_FCAL_0_scale
| double TBEMECCellEtaCorrection::m_FCAL_0_scale |
|
private |
◆ m_FCAL_1_scale
| double TBEMECCellEtaCorrection::m_FCAL_1_scale |
|
private |
◆ m_FCAL_rescale
| double TBEMECCellEtaCorrection::m_FCAL_rescale |
|
private |
◆ m_HEC_0_scale
| double TBEMECCellEtaCorrection::m_HEC_0_scale |
|
private |
◆ m_HEC_1_scale
| double TBEMECCellEtaCorrection::m_HEC_1_scale |
|
private |
◆ m_HEC_2_scale
| double TBEMECCellEtaCorrection::m_HEC_2_scale |
|
private |
◆ m_ramp_corr
| double TBEMECCellEtaCorrection::m_ramp_corr |
|
private |
◆ m_ramp_corr_eta1
| double TBEMECCellEtaCorrection::m_ramp_corr_eta1 |
|
private |
◆ m_ramp_corr_eta2
| double TBEMECCellEtaCorrection::m_ramp_corr_eta2 |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: