ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4Code
LArG4Code
LArCalculatorSvcImp.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARG4CODE_LARCALCULATORSVCIMP_H
6
#define LARG4CODE_LARCALCULATORSVCIMP_H
7
8
#include "
ILArCalculatorSvc.h
"
9
#include "
AthenaBaseComps/AthService.h
"
10
#include "CLHEP/Units/SystemOfUnits.h"
11
12
class
LArCalculatorSvcImp
:
public
extends<AthService, ILArCalculatorSvc>
13
{
14
public
:
15
LArCalculatorSvcImp
(
const
std::string& name, ISvcLocator * pSvcLocator)
16
: base_class(name, pSvcLocator) {};
17
18
// Give this method an empty default since it's mostly not used
19
virtual
void
initializeForSDCreation
()
override
{};
20
21
protected
:
22
// Birks' law
23
Gaudi::Property<bool>
m_BirksLaw
{
this
,
"BirksLaw"
,
true
};
24
25
// Birks' law, constant k
26
// value updated for G4 10.6.p03 - 1.2 times the previous value of 0.0486 used in all campaigns before MC21.
27
Gaudi::Property<double>
m_Birksk
{
this
,
"Birksk"
, 0.05832};
28
29
// OOTcut
30
Gaudi::Property<double>
m_OOTcut
{
this
,
"OOTcut"
, 300*CLHEP::ns};
31
};
32
33
#endif
AthService.h
ILArCalculatorSvc.h
LArCalculatorSvcImp::initializeForSDCreation
virtual void initializeForSDCreation() override
Definition
LArCalculatorSvcImp.h:19
LArCalculatorSvcImp::m_BirksLaw
Gaudi::Property< bool > m_BirksLaw
Definition
LArCalculatorSvcImp.h:23
LArCalculatorSvcImp::LArCalculatorSvcImp
LArCalculatorSvcImp(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArCalculatorSvcImp.h:15
LArCalculatorSvcImp::m_OOTcut
Gaudi::Property< double > m_OOTcut
Definition
LArCalculatorSvcImp.h:30
LArCalculatorSvcImp::m_Birksk
Gaudi::Property< double > m_Birksk
Definition
LArCalculatorSvcImp.h:27
Generated on
for ATLAS Offline Software by
1.14.0