CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
AHCalParameters Class Reference

#include <AHCalParameters.h>

Public Member Functions

 AHCalParameters (edm::ParameterSet const &)
 
double deltaX () const
 get the local coordinate in the plane and along depth More...
 
double deltaY () const
 
double deltaZ () const
 
int maxDepth () const
 get maximum number of layers More...
 
double zFirst () const
 
 ~AHCalParameters ()
 

Static Public Attributes

static constexpr int kColumn_ = 100
 Constants used. More...
 
static constexpr int kRow_ = 100
 
static constexpr int kRowColumn_ = kRow_ * kColumn_
 
static constexpr int kSign_ = 10
 
static constexpr int kSignRowColumn_ = kSign_ * kRowColumn_
 

Private Member Functions

 AHCalParameters ()=delete
 

Private Attributes

const double deltaX_
 
const double deltaY_
 
const double deltaZ_
 
const int maxDepth_
 
const double zFirst_
 

Detailed Description

Keeps parameters for AHCal

Definition at line 10 of file AHCalParameters.h.

Constructor & Destructor Documentation

AHCalParameters::AHCalParameters ( edm::ParameterSet const &  iC)

Create geometry of AHCal

Definition at line 4 of file AHCalParameters.cc.

References deltaX_, deltaY_, deltaZ_, maxDepth_, and zFirst_.

5  : maxDepth_(iC.getUntrackedParameter<int>("maxDepth", 12)),
6  deltaX_(iC.getUntrackedParameter<double>("deltaX", 30.0)),
7  deltaY_(iC.getUntrackedParameter<double>("deltaY", 30.0)),
8  deltaZ_(iC.getUntrackedParameter<double>("deltaZ", 81.0)),
9  zFirst_(iC.getUntrackedParameter<double>("zFirst", 17.6)) {
10  edm::LogVerbatim("HGCalGeom") << "AHCalParameters: maxDepth = " << maxDepth_ << " deltaX = " << deltaX_
11  << " deltaY = " << deltaY_ << " deltaZ = " << deltaZ_ << " zFirst = " << zFirst_;
12 }
const double deltaZ_
const double zFirst_
const double deltaX_
const double deltaY_
const int maxDepth_
AHCalParameters::~AHCalParameters ( )
inline

Definition at line 14 of file AHCalParameters.h.

14 {}
AHCalParameters::AHCalParameters ( )
privatedelete

Member Function Documentation

double AHCalParameters::deltaX ( ) const
inline

get the local coordinate in the plane and along depth

Definition at line 20 of file AHCalParameters.h.

References deltaX_.

20 { return deltaX_; }
const double deltaX_
double AHCalParameters::deltaY ( ) const
inline

Definition at line 21 of file AHCalParameters.h.

References deltaY_.

21 { return deltaY_; }
const double deltaY_
double AHCalParameters::deltaZ ( ) const
inline

Definition at line 22 of file AHCalParameters.h.

References deltaZ_.

22 { return deltaZ_; }
const double deltaZ_
int AHCalParameters::maxDepth ( void  ) const
inline

get maximum number of layers

Definition at line 17 of file AHCalParameters.h.

References maxDepth_.

17 { return maxDepth_; }
const int maxDepth_
double AHCalParameters::zFirst ( ) const
inline

Definition at line 23 of file AHCalParameters.h.

References zFirst_.

23 { return zFirst_; }
const double zFirst_

Member Data Documentation

const double AHCalParameters::deltaX_
private

Definition at line 35 of file AHCalParameters.h.

Referenced by AHCalParameters(), and deltaX().

const double AHCalParameters::deltaY_
private

Definition at line 35 of file AHCalParameters.h.

Referenced by AHCalParameters(), and deltaY().

const double AHCalParameters::deltaZ_
private

Definition at line 35 of file AHCalParameters.h.

Referenced by AHCalParameters(), and deltaZ().

constexpr int AHCalParameters::kColumn_ = 100
static

Constants used.

Definition at line 26 of file AHCalParameters.h.

Referenced by algorithm(), DDAHcalModuleAlgo::positionSensitive(), and AHCalSD::setDetUnitId().

constexpr int AHCalParameters::kRow_ = 100
static

Definition at line 27 of file AHCalParameters.h.

Referenced by AHCalSD::setDetUnitId().

constexpr int AHCalParameters::kRowColumn_ = kRow_ * kColumn_
static
constexpr int AHCalParameters::kSign_ = 10
static

Definition at line 28 of file AHCalParameters.h.

Referenced by AHCalSD::setDetUnitId().

constexpr int AHCalParameters::kSignRowColumn_ = kSign_ * kRowColumn_
static
const int AHCalParameters::maxDepth_
private

Definition at line 34 of file AHCalParameters.h.

Referenced by AHCalParameters(), and maxDepth().

const double AHCalParameters::zFirst_
private

Definition at line 35 of file AHCalParameters.h.

Referenced by AHCalParameters(), and zFirst().