ATLAS Offline Software
Loading...
Searching...
No Matches
DistanceCalculatorFactory.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
7
10
12{
13
16
17 {
18 // the same condition is in LArWheelCalculator constructor
19 bool SaggingOn = (sagging_opt != "" && sagging_opt != "off")? true: false;
20
21 if (SaggingOn) {
22 return new DistanceCalculatorSaggingOn(sagging_opt, lwc);
23 } else {
24 return new DistanceCalculatorSaggingOff(lwc);
25 }
26 }
27
28}
static IDistanceCalculator * Create(const std::string &sagging_opt, LArWheelCalculator *lwc)
Implements details of distance calculation to parts of the LAr endcap without sagging corrections.
Implements details of distance calculation to parts of the LAr endcap with sagging taken into account...
Abstract interface for calculator classes that handle distance calculation to parts of the LAr endcap...
This class separates some of the geometry details of the LAr endcap.