ATLAS Offline Software
DetectorDescription
GeoModel
GeoSpecialShapes
src
LArWheelCalculator_Impl
FanCalculatorFactory.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#include "
FanCalculatorFactory.h
"
7
#include "
ModuleFanCalculator.h
"
8
#include "
WheelFanCalculator.h
"
9
10
namespace
LArWheelCalculator_Impl
11
{
12
13
IFanCalculator
*
FanCalculatorFactory::Create
(
bool
isSaggingOn,
bool
isModule,
14
LArWheelCalculator
*
lwc
)
15
16
{
17
if
(isModule) {
18
return
new
ModuleFanCalculator
(
lwc
);
19
}
20
if
(isSaggingOn) {
21
return
new
WheelFanCalculator<SaggingOn_t>
(
lwc
);
22
}
else
{
23
return
new
WheelFanCalculator<SaggingOff_t>
(
lwc
);
24
}
25
}
26
27
}
LArWheelCalculator_Impl::FanCalculatorFactory::Create
static IFanCalculator * Create(bool isSaggingOn, bool isModule, LArWheelCalculator *lwc)
Definition:
FanCalculatorFactory.cxx:13
CaloSwCorrections.lwc
def lwc(flags, cells_name, *args, **kw)
Definition:
CaloSwCorrections.py:215
FanCalculatorFactory.h
LArWheelCalculator
Definition:
LArWheelCalculator.h:60
LArWheelCalculator_Impl
Definition:
LArWheelCalculator.h:43
LArWheelCalculator_Impl::IFanCalculator
Definition:
IFanCalculator.h:19
WheelFanCalculator.h
LArWheelCalculator_Impl::WheelFanCalculator
LAr wheel fan calculator, templated for sagging settings.
Definition:
LArWheelCalculator.h:50
LArWheelCalculator_Impl::ModuleFanCalculator
This is an interface of distance calculation to parts of the LAr endcap.
Definition:
ModuleFanCalculator.h:17
ModuleFanCalculator.h
Generated on Sun Dec 22 2024 21:10:25 for ATLAS Offline Software by
1.8.18