ATLAS Offline Software
Loading...
Searching...
No Matches
InnerDetector
InDetDigitization
PixelDigitization
src
FrontEndSimTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
FrontEndSimTool.h
"
5
6
7
FrontEndSimTool::FrontEndSimTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent) :
8
AthAlgTool
(
type
, name, parent) {
9
declareInterface<FrontEndSimTool>(
this
);
10
}
11
12
StatusCode
13
FrontEndSimTool::initialize
() {
14
ATH_CHECK
(
m_pixelConditionsTool
.retrieve());
15
ATH_CHECK
(
m_pixelReadout
.retrieve());
16
ATH_CHECK
(
m_chargeDataKey
.initialize());
17
if
(
m_cosmics
){
18
m_numberOfBcid
= 8;
19
m_timeOffset
= 100.;
20
m_timeJitter
= 25.0;
21
}
22
23
return
StatusCode::SUCCESS;
24
}
25
26
StatusCode
27
FrontEndSimTool::finalize
() {
return
StatusCode::FAILURE;}
28
29
30
31
32
33
34
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
FrontEndSimTool.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
FrontEndSimTool::m_chargeDataKey
SG::ReadCondHandleKey< PixelChargeCalibCondData > m_chargeDataKey
Definition
FrontEndSimTool.h:64
FrontEndSimTool::m_pixelReadout
ServiceHandle< InDetDD::IPixelReadoutManager > m_pixelReadout
Definition
FrontEndSimTool.h:59
FrontEndSimTool::m_cosmics
Gaudi::Property< bool > m_cosmics
Definition
FrontEndSimTool.h:76
FrontEndSimTool::initialize
virtual StatusCode initialize() override
Definition
FrontEndSimTool.cxx:13
FrontEndSimTool::m_timeJitter
double m_timeJitter
Definition
FrontEndSimTool.h:53
FrontEndSimTool::m_pixelConditionsTool
ToolHandle< IInDetConditionsTool > m_pixelConditionsTool
Definition
FrontEndSimTool.h:55
FrontEndSimTool::m_timeOffset
double m_timeOffset
Definition
FrontEndSimTool.h:52
FrontEndSimTool::FrontEndSimTool
FrontEndSimTool()
FrontEndSimTool::m_numberOfBcid
int m_numberOfBcid
Definition
FrontEndSimTool.h:51
FrontEndSimTool::finalize
virtual StatusCode finalize() override
Definition
FrontEndSimTool.cxx:27
type
Generated on
for ATLAS Offline Software by
1.14.0