ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
}
FanCalculatorFactory.h
ModuleFanCalculator.h
WheelFanCalculator.h
LArWheelCalculator_Impl::FanCalculatorFactory::Create
static IFanCalculator * Create(bool isSaggingOn, bool isModule, LArWheelCalculator *lwc)
Definition
FanCalculatorFactory.cxx:13
LArWheelCalculator_Impl::IFanCalculator
Abstract interface for fan calculator classes that handle distance calculation to parts of the LAr en...
Definition
IFanCalculator.h:19
LArWheelCalculator_Impl::ModuleFanCalculator
This is an interface of distance calculation to parts of the LAr endcap.
Definition
ModuleFanCalculator.h:17
LArWheelCalculator_Impl::WheelFanCalculator
LAr wheel fan calculator, templated for sagging settings.
Definition
WheelFanCalculator.h:140
LArWheelCalculator
This class separates some of the geometry details of the LAr endcap.
Definition
LArWheelCalculator.h:57
LArWheelCalculator_Impl
Definition
LArWheelCalculator.h:40
Generated on
for ATLAS Offline Software by
1.17.0