CMS 3D CMS Logo

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

#include <AHCalParameters.h>

Public Member Functions

 AHCalParameters ()=delete
 
 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 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() [1/2]

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

Create geometry of AHCal

Definition at line 4 of file AHCalParameters.cc.

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 }

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

◆ AHCalParameters() [2/2]

AHCalParameters::AHCalParameters ( )
delete

◆ ~AHCalParameters()

AHCalParameters::~AHCalParameters ( )
inline

Definition at line 15 of file AHCalParameters.h.

15 {}

Member Function Documentation

◆ deltaX()

double AHCalParameters::deltaX ( ) const
inline

get the local coordinate in the plane and along depth

Definition at line 21 of file AHCalParameters.h.

21 { return deltaX_; }

References deltaX_.

◆ deltaY()

double AHCalParameters::deltaY ( ) const
inline

Definition at line 22 of file AHCalParameters.h.

22 { return deltaY_; }

References deltaY_.

◆ deltaZ()

double AHCalParameters::deltaZ ( ) const
inline

Definition at line 23 of file AHCalParameters.h.

23 { return deltaZ_; }

References deltaZ_.

◆ maxDepth()

int AHCalParameters::maxDepth ( void  ) const
inline

get maximum number of layers

Definition at line 18 of file AHCalParameters.h.

18 { return maxDepth_; }

References maxDepth_.

◆ zFirst()

double AHCalParameters::zFirst ( ) const
inline

Definition at line 24 of file AHCalParameters.h.

24 { return zFirst_; }

References zFirst_.

Member Data Documentation

◆ deltaX_

const double AHCalParameters::deltaX_
private

Definition at line 35 of file AHCalParameters.h.

Referenced by AHCalParameters(), and deltaX().

◆ deltaY_

const double AHCalParameters::deltaY_
private

Definition at line 35 of file AHCalParameters.h.

Referenced by AHCalParameters(), and deltaY().

◆ deltaZ_

const double AHCalParameters::deltaZ_
private

Definition at line 35 of file AHCalParameters.h.

Referenced by AHCalParameters(), and deltaZ().

◆ kColumn_

constexpr int AHCalParameters::kColumn_ = 100
staticconstexpr

Constants used.

Definition at line 27 of file AHCalParameters.h.

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

◆ kRow_

constexpr int AHCalParameters::kRow_ = 100
staticconstexpr

Definition at line 28 of file AHCalParameters.h.

Referenced by AHCalSD::setDetUnitId().

◆ kRowColumn_

constexpr int AHCalParameters::kRowColumn_ = kRow_ * kColumn_
staticconstexpr

◆ kSign_

constexpr int AHCalParameters::kSign_ = 10
staticconstexpr

Definition at line 29 of file AHCalParameters.h.

Referenced by AHCalSD::setDetUnitId().

◆ kSignRowColumn_

constexpr int AHCalParameters::kSignRowColumn_ = kSign_ * kRowColumn_
staticconstexpr

◆ maxDepth_

const int AHCalParameters::maxDepth_
private

Definition at line 34 of file AHCalParameters.h.

Referenced by AHCalParameters(), and maxDepth().

◆ zFirst_

const double AHCalParameters::zFirst_
private

Definition at line 35 of file AHCalParameters.h.

Referenced by AHCalParameters(), and zFirst().

AHCalParameters::zFirst_
const double zFirst_
Definition: AHCalParameters.h:35
AHCalParameters::deltaY_
const double deltaY_
Definition: AHCalParameters.h:35
AHCalParameters::deltaZ_
const double deltaZ_
Definition: AHCalParameters.h:35
AHCalParameters::deltaX_
const double deltaX_
Definition: AHCalParameters.h:35
edm::LogVerbatim
Definition: MessageLogger.h:297
AHCalParameters::maxDepth_
const int maxDepth_
Definition: AHCalParameters.h:34