ATLAS Offline Software
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 
11 {
12 
13  IFanCalculator* FanCalculatorFactory::Create(bool isSaggingOn, bool isModule,
15 
16  {
17  if (isModule) {
18  return new ModuleFanCalculator(lwc);
19  }
20  if (isSaggingOn) {
22  } else {
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