CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AHCalGeometry.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HGCalTestBeam_AHCALGEOMETRY_H
2 #define SimG4CMS_HGCalTestBeam_AHCALGEOMETRY_H 1
3 
7 
13 public:
16  AHCalGeometry() = delete;
18 
20  int maxDepth() const { return ahcal_->maxDepth(); }
21 
23  std::pair<double, double> getXY(const AHCalDetId& id) const;
24  double getZ(const AHCalDetId& id) const;
25 
26 private:
27  std::unique_ptr<AHCalParameters> ahcal_;
28 };
29 #endif
double getZ(const AHCalDetId &id) const
std::unique_ptr< AHCalParameters > ahcal_
Definition: AHCalGeometry.h:27
std::pair< double, double > getXY(const AHCalDetId &id) const
get the local coordinate in the plane and along depth
Definition: AHCalGeometry.cc:8
int maxDepth() const
get maximum number of layers
Definition: AHCalGeometry.h:20
AHCalGeometry()=delete