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 (edm::ParameterSet const &)
 
 AHCalParameters ()=delete
 
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.

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 }
Log< level::Info, true > LogVerbatim
const double deltaZ_
const double zFirst_
const double deltaX_
const double deltaY_
const int maxDepth_

◆ 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.

References deltaX_.

21 { return deltaX_; }
const double deltaX_

◆ deltaY()

double AHCalParameters::deltaY ( ) const
inline

Definition at line 22 of file AHCalParameters.h.

References deltaY_.

22 { return deltaY_; }
const double deltaY_

◆ deltaZ()

double AHCalParameters::deltaZ ( ) const
inline

Definition at line 23 of file AHCalParameters.h.

References deltaZ_.

23 { return deltaZ_; }
const double deltaZ_

◆ maxDepth()

int AHCalParameters::maxDepth ( void  ) const
inline

get maximum number of layers

Definition at line 18 of file AHCalParameters.h.

References maxDepth_.

18 { return maxDepth_; }
const int maxDepth_

◆ zFirst()

double AHCalParameters::zFirst ( ) const
inline

Definition at line 24 of file AHCalParameters.h.

References zFirst_.

24 { return zFirst_; }
const double 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
static

Constants used.

Definition at line 27 of file AHCalParameters.h.

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

◆ kRow_

constexpr int AHCalParameters::kRow_ = 100
static

Definition at line 28 of file AHCalParameters.h.

Referenced by AHCalSD::setDetUnitId().

◆ kRowColumn_

constexpr int AHCalParameters::kRowColumn_ = kRow_ * kColumn_
static

◆ kSign_

constexpr int AHCalParameters::kSign_ = 10
static

Definition at line 29 of file AHCalParameters.h.

Referenced by AHCalSD::setDetUnitId().

◆ kSignRowColumn_

constexpr int AHCalParameters::kSignRowColumn_ = kSign_ * kRowColumn_
static

◆ 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().