ATLAS Offline Software
TestBeam
TBRec
src
TBEMECXTalkToyModel.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TBREC_TBEMECXTALKTOYMODEL_H
6
#define TBREC_TBEMECXTALKTOYMODEL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
CaloInterface/ICaloCellMakerTool.h
"
10
#include "
CaloEvent/CaloCellContainer.h
"
11
12
#include "GaudiKernel/ToolHandle.h"
13
#include "
CaloIdentifier/CaloCell_ID.h
"
14
15
class
TBEMECXTalkToyModel
16
:
public
extends<AthAlgTool, ICaloCellMakerTool>
17
{
18
public
:
19
TBEMECXTalkToyModel
(
const
std::string&
type
,
20
const
std::string&
name
,
21
const
IInterface*
parent
) ;
22
23
virtual
StatusCode
initialize
()
override
;
24
// update theCellContainer
25
virtual
StatusCode
process
(
CaloCellContainer
* theCellContainer,
26
const
EventContext& ctx)
const override
;
27
28
29
private
:
30
// properties
31
32
std::vector<int>
m_caloNums
;
// which calo to correct
33
//reminder enum SUBCALO { LAREM = 0, LARHEC = 1, LARFCAL = 2, TILE = 3, NSUBCALO = 4, NOT_VALID=999999 };
34
35
bool
m_caloSelection
;
36
37
const
CaloCell_ID
*
m_calo_id
;
38
39
40
float
m_xtalkScaleLong
;
41
float
m_xtalkScaleEta
;
42
float
m_xtalkScaleEMEC2Eta
;
43
44
StatusCode
processOnCellIterators
(
const
CaloCellContainer::iterator
& itrCellBeg,
const
CaloCellContainer::iterator
& itrCellEnd )
const
;
45
46
47
};
48
49
#endif
50
TBEMECXTalkToyModel::m_calo_id
const CaloCell_ID * m_calo_id
Definition:
TBEMECXTalkToyModel.h:37
TBEMECXTalkToyModel::processOnCellIterators
StatusCode processOnCellIterators(const CaloCellContainer::iterator &itrCellBeg, const CaloCellContainer::iterator &itrCellEnd) const
Definition:
TBEMECXTalkToyModel.cxx:137
TBEMECXTalkToyModel::m_xtalkScaleEta
float m_xtalkScaleEta
Definition:
TBEMECXTalkToyModel.h:41
TBEMECXTalkToyModel::m_caloNums
std::vector< int > m_caloNums
Definition:
TBEMECXTalkToyModel.h:32
TBEMECXTalkToyModel
Definition:
TBEMECXTalkToyModel.h:17
TBEMECXTalkToyModel::m_xtalkScaleLong
float m_xtalkScaleLong
Definition:
TBEMECXTalkToyModel.h:40
TBEMECXTalkToyModel::TBEMECXTalkToyModel
TBEMECXTalkToyModel(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
TBEMECXTalkToyModel.cxx:31
TBEMECXTalkToyModel::initialize
virtual StatusCode initialize() override
Definition:
TBEMECXTalkToyModel.cxx:56
CaloCell_ID.h
DataModel_detail::iterator
(Non-const) Iterator class for DataVector/DataList.
Definition:
DVLIterator.h:184
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
CaloCell_ID
Helper class for offline cell identifiers.
Definition:
CaloCell_ID.h:34
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
CaloCellContainer.h
CaloCellContainer
Container class for CaloCell.
Definition:
CaloCellContainer.h:55
ICaloCellMakerTool.h
TBEMECXTalkToyModel::m_xtalkScaleEMEC2Eta
float m_xtalkScaleEMEC2Eta
Definition:
TBEMECXTalkToyModel.h:42
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
TBEMECXTalkToyModel::process
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
Definition:
TBEMECXTalkToyModel.cxx:96
TBEMECXTalkToyModel::m_caloSelection
bool m_caloSelection
Definition:
TBEMECXTalkToyModel.h:35
Generated on Thu Nov 7 2024 21:27:13 for ATLAS Offline Software by
1.8.18