CMS 3D CMS Logo

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:
17 
19  int maxDepth() const { return ahcal_->maxDepth(); }
20 
22  std::pair<double, double> getXY(const AHCalDetId& id) const;
23  double getZ(const AHCalDetId& id) const;
24 
25 private:
26  AHCalGeometry() = delete;
27  std::unique_ptr<AHCalParameters> ahcal_;
28 };
29 #endif
AHCalGeometry::maxDepth
int maxDepth() const
get maximum number of layers
Definition: AHCalGeometry.h:19
AHCalGeometry::~AHCalGeometry
~AHCalGeometry()
Definition: AHCalGeometry.h:16
AHCalGeometry::AHCalGeometry
AHCalGeometry()=delete
AHCalGeometry::getZ
double getZ(const AHCalDetId &id) const
Definition: AHCalGeometry.cc:16
AHCalGeometry::getXY
std::pair< double, double > getXY(const AHCalDetId &id) const
get the local coordinate in the plane and along depth
Definition: AHCalGeometry.cc:8
AHCalGeometry::ahcal_
std::unique_ptr< AHCalParameters > ahcal_
Definition: AHCalGeometry.h:27
AHCalGeometry
Definition: AHCalGeometry.h:12
AHCalDetId
Definition: AHCalDetId.h:13
edm::ParameterSet
Definition: ParameterSet.h:47
AHCalParameters.h
ParameterSet.h
AHCalDetId.h