ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
11{
12
13 IFanCalculator* FanCalculatorFactory::Create(bool isSaggingOn, bool isModule,
15
16 {
17 if (isModule) {
18 return new ModuleFanCalculator(lwc);
19 }
20 if (isSaggingOn) {
21 return new WheelFanCalculator<SaggingOn_t>(lwc);
22 } else {
24 }
25 }
26
27}
static IFanCalculator * Create(bool isSaggingOn, bool isModule, LArWheelCalculator *lwc)
Abstract interface for fan calculator classes that handle distance calculation to parts of the LAr en...
This is an interface of distance calculation to parts of the LAr endcap.
LAr wheel fan calculator, templated for sagging settings.
This class separates some of the geometry details of the LAr endcap.