ATLAS Offline Software
Loading...
Searching...
No Matches
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
7FrontEndSimTool::FrontEndSimTool(const std::string& type, const std::string& name, const IInterface* parent) :
8 AthAlgTool(type, name, parent) {
9 declareInterface<FrontEndSimTool>(this);
10}
11
12StatusCode
15 ATH_CHECK(m_pixelReadout.retrieve());
16 ATH_CHECK(m_chargeDataKey.initialize());
17 if (m_cosmics){
19 m_timeOffset = 100.;
20 m_timeJitter = 25.0;
21 }
22
23 return StatusCode::SUCCESS;
24}
25
26StatusCode
27FrontEndSimTool::finalize() {return StatusCode::FAILURE;}
28
29
30
31
32
33
34
#define ATH_CHECK
Evaluate an expression and check for errors.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
SG::ReadCondHandleKey< PixelChargeCalibCondData > m_chargeDataKey
ServiceHandle< InDetDD::IPixelReadoutManager > m_pixelReadout
Gaudi::Property< bool > m_cosmics
virtual StatusCode initialize() override
ToolHandle< IInDetConditionsTool > m_pixelConditionsTool
virtual StatusCode finalize() override