ATLAS Offline Software
LArG4H6COLDTCMod0ChannelMap.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LArG4H6COLDTCMod0ChannelMap_H
6 #define LArG4H6COLDTCMod0ChannelMap_H
7 
8 #include <vector>
9 #include "G4ThreeVector.hh"
10 #include "G4PVPlacement.hh"
11 
13 {
14  public:
15 
17  LArG4H6COLDTCMod0ChannelMap(G4double rMin, G4double rMax, G4double m_area,
18  G4double phiMin, G4double phiMax, G4int nPhis);
20 
21  G4int getRBin(const G4ThreeVector& aPoint) const;
22  G4int getNoRBins() const { return m_rBins.size(); }
23  const std::vector<G4double>& getRBinning() { return m_rBins; }
24  G4int getPhiBin(const G4ThreeVector& aPoint) const;
25  G4int getNoPhiBins() const { return m_nPhiBins; }
26 
27  private:
28 
29  G4double m_phiMax, m_phiMin;
30 
31  std::vector<G4double> m_rBins;
32  G4int m_nPhiBins;
33 
34 };
35 #endif
LArG4H6COLDTCMod0ChannelMap::~LArG4H6COLDTCMod0ChannelMap
~LArG4H6COLDTCMod0ChannelMap()=default
LArG4H6COLDTCMod0ChannelMap::getRBin
G4int getRBin(const G4ThreeVector &aPoint) const
LArG4H6COLDTCMod0ChannelMap::getRBinning
const std::vector< G4double > & getRBinning()
Definition: LArG4H6COLDTCMod0ChannelMap.h:23
LArG4H6COLDTCMod0ChannelMap::getNoPhiBins
G4int getNoPhiBins() const
Definition: LArG4H6COLDTCMod0ChannelMap.h:25
LArG4H6COLDTCMod0ChannelMap::m_phiMax
G4double m_phiMax
Definition: LArG4H6COLDTCMod0ChannelMap.h:29
LArG4H6COLDTCMod0ChannelMap::getPhiBin
G4int getPhiBin(const G4ThreeVector &aPoint) const
LArG4H6COLDTCMod0ChannelMap::getNoRBins
G4int getNoRBins() const
Definition: LArG4H6COLDTCMod0ChannelMap.h:22
LArG4H6COLDTCMod0ChannelMap::LArG4H6COLDTCMod0ChannelMap
LArG4H6COLDTCMod0ChannelMap(G4double rMin, G4double rMax, G4double m_area, G4double phiMin, G4double phiMax, G4int nPhis)
LArG4H6COLDTCMod0ChannelMap
Definition: LArG4H6COLDTCMod0ChannelMap.h:13
LArG4H6COLDTCMod0ChannelMap::m_phiMin
G4double m_phiMin
Definition: LArG4H6COLDTCMod0ChannelMap.h:29
LArG4H6COLDTCMod0ChannelMap::LArG4H6COLDTCMod0ChannelMap
LArG4H6COLDTCMod0ChannelMap()
LArG4H6COLDTCMod0ChannelMap::m_rBins
std::vector< G4double > m_rBins
Definition: LArG4H6COLDTCMod0ChannelMap.h:31
LArG4H6COLDTCMod0ChannelMap::m_nPhiBins
G4int m_nPhiBins
Definition: LArG4H6COLDTCMod0ChannelMap.h:32