ATLAS Offline Software
Loading...
Searching...
No Matches
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;
33
34};
35#endif
~LArG4H6COLDTCMod0ChannelMap()=default
G4int getPhiBin(const G4ThreeVector &aPoint) const
const std::vector< G4double > & getRBinning()
LArG4H6COLDTCMod0ChannelMap(G4double rMin, G4double rMax, G4double m_area, G4double phiMin, G4double phiMax, G4int nPhis)
G4int getRBin(const G4ThreeVector &aPoint) const