ATLAS Offline Software
ModuleFanCalculator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef __LArWheelCalculator_Impl_ModuleFanCalculator_H__
6 #define __LArWheelCalculator_Impl_ModuleFanCalculator_H__
7 
8 #include "IFanCalculator.h"
9 
10 class LArWheelCalculator;
11 
13 {
14 
17  {
18  public:
20 
21  // geometry methods:
22  virtual double DistanceToTheNearestFan(CLHEP::Hep3Vector &p, int & out_fan_number) const;
23  virtual int PhiGapNumberForWheel(int i) const;
24  virtual std::pair<int, int> GetPhiGapAndSide(const CLHEP::Hep3Vector &p) const;
25 
26  inline const LArWheelCalculator *lwc() const { return m_lwc; };
27 
28  private:
30 
31  };
32 
33 }
34 
35 #endif // __LArWheelCalculator_Impl_ModuleFanCalculator_H__
LArWheelCalculator_Impl::ModuleFanCalculator::ModuleFanCalculator
ModuleFanCalculator(LArWheelCalculator *lwc)
Definition: ModuleFanCalculator.cxx:18
IFanCalculator.h
LArWheelCalculator_Impl::ModuleFanCalculator::m_lwc
LArWheelCalculator * m_lwc
Definition: ModuleFanCalculator.h:26
LArWheelCalculator_Impl::ModuleFanCalculator::GetPhiGapAndSide
virtual std::pair< int, int > GetPhiGapAndSide(const CLHEP::Hep3Vector &p) const
Definition: ModuleFanCalculator.cxx:68
LArWheelCalculator_Impl::ModuleFanCalculator::lwc
const LArWheelCalculator * lwc() const
Definition: ModuleFanCalculator.h:26
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
LArWheelCalculator_Impl::ModuleFanCalculator::PhiGapNumberForWheel
virtual int PhiGapNumberForWheel(int i) const
Definition: ModuleFanCalculator.cxx:60
lumiFormat.i
int i
Definition: lumiFormat.py:85
LArWheelCalculator
Definition: LArWheelCalculator.h:60
LArWheelCalculator_Impl::ModuleFanCalculator::DistanceToTheNearestFan
virtual double DistanceToTheNearestFan(CLHEP::Hep3Vector &p, int &out_fan_number) const
Definition: ModuleFanCalculator.cxx:23
LArWheelCalculator_Impl
Definition: LArWheelCalculator.h:43
LArWheelCalculator_Impl::IFanCalculator
Definition: IFanCalculator.h:19
LArWheelCalculator_Impl::ModuleFanCalculator
This is an interface of distance calculation to parts of the LAr endcap.
Definition: ModuleFanCalculator.h:17