ATLAS Offline Software
Loading...
Searching...
No Matches
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
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__
Abstract interface for fan calculator classes that handle distance calculation to parts of the LAr en...
const LArWheelCalculator * lwc() const
virtual std::pair< int, int > GetPhiGapAndSide(const CLHEP::Hep3Vector &p) const
virtual double DistanceToTheNearestFan(CLHEP::Hep3Vector &p, int &out_fan_number) const
This class separates some of the geometry details of the LAr endcap.