ATLAS Offline Software
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) :
9  declareInterface<FrontEndSimTool>(this);
10 }
11 
14  ATH_CHECK(m_pixelConditionsTool.retrieve());
15  ATH_CHECK(m_pixelReadout.retrieve());
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 
27 FrontEndSimTool::finalize() {return StatusCode::FAILURE;}
28 
29 
30 
31 
32 
33 
34 
FrontEndSimTool::FrontEndSimTool
FrontEndSimTool()
FrontEndSimTool::initialize
virtual StatusCode initialize() override
Definition: FrontEndSimTool.cxx:13
FrontEndSimTool::m_cosmics
Gaudi::Property< bool > m_cosmics
Definition: FrontEndSimTool.h:76
FrontEndSimTool::m_timeJitter
double m_timeJitter
Definition: FrontEndSimTool.h:53
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FrontEndSimTool::m_numberOfBcid
int m_numberOfBcid
Definition: FrontEndSimTool.h:51
test_pyathena.parent
parent
Definition: test_pyathena.py:15
FrontEndSimTool::m_pixelReadout
ServiceHandle< InDetDD::IPixelReadoutManager > m_pixelReadout
Definition: FrontEndSimTool.h:59
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
FrontEndSimTool.h
FrontEndSimTool::finalize
virtual StatusCode finalize() override
Definition: FrontEndSimTool.cxx:27
FrontEndSimTool::m_timeOffset
double m_timeOffset
Definition: FrontEndSimTool.h:52
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
FrontEndSimTool::m_chargeDataKey
SG::ReadCondHandleKey< PixelChargeCalibCondData > m_chargeDataKey
Definition: FrontEndSimTool.h:64
AthAlgTool
Definition: AthAlgTool.h:26
FrontEndSimTool::m_pixelConditionsTool
ToolHandle< IInDetConditionsTool > m_pixelConditionsTool
Definition: FrontEndSimTool.h:55