src
SimG4CMS
Calo
interface
HFNoseNumberingScheme.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_Calo_HFNoseNumberingScheme_h
2
#define SimG4CMS_Calo_HFNoseNumberingScheme_h
3
// File: HFNoseNumberingScheme.h
5
// Description: Definition of sensitive unit numbering schema for HFNose
7
8
#include "
DataFormats/ForwardDetId/interface/HFNoseDetId.h
"
9
#include "
Geometry/HGCalCommonData/interface/HGCalDDDConstants.h
"
10
#include "
Geometry/HGCalCommonData/interface/HGCalGeometryMode.h
"
11
12
#include "G4ThreeVector.hh"
13
14
class
HFNoseNumberingScheme
{
15
public
:
16
HFNoseNumberingScheme
(
const
HGCalDDDConstants
&
hgc
);
17
HFNoseNumberingScheme
() =
delete
;
18
~HFNoseNumberingScheme
() {}
19
23
uint32_t
getUnitID
(
int
layer
,
int
module
,
int
cell,
int
iz,
const
G4ThreeVector&
pos
,
double
& wt);
24
25
private
:
26
void
checkPosition
(uint32_t
index
,
const
G4ThreeVector&
pos
)
const
;
27
28
const
HGCalDDDConstants
&
hgcons_
;
29
const
HGCalGeometryMode::GeometryMode
mode_
;
30
};
31
32
#endif
HFNoseNumberingScheme::getUnitID
uint32_t getUnitID(int layer, int module, int cell, int iz, const G4ThreeVector &pos, double &wt)
assigns the det id to a hit
Definition:
HFNoseNumberingScheme.cc:18
HGCalGeometryMode::GeometryMode
GeometryMode
Definition:
HGCalGeometryMode.h:26
HFNoseDetId.h
module
Definition:
EcalSRCondTools.cc:29
HFNoseNumberingScheme
Definition:
HFNoseNumberingScheme.h:14
hgc_digi
Definition:
HGCDigitizerTypes.h:10
HGCalGeometryMode.h
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:35
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:93
HFNoseNumberingScheme::checkPosition
void checkPosition(uint32_t index, const G4ThreeVector &pos) const
Definition:
HFNoseNumberingScheme.cc:53
HFNoseNumberingScheme::HFNoseNumberingScheme
HFNoseNumberingScheme()=delete
pos
Definition:
PixelCalibBase.h:13
nano_mu_digi_cff.layer
layer
Definition:
nano_mu_digi_cff.py:27
HFNoseNumberingScheme::mode_
const HGCalGeometryMode::GeometryMode mode_
Definition:
HFNoseNumberingScheme.h:29
HFNoseNumberingScheme::hgcons_
const HGCalDDDConstants & hgcons_
Definition:
HFNoseNumberingScheme.h:28
HFNoseNumberingScheme::~HFNoseNumberingScheme
~HFNoseNumberingScheme()
Definition:
HFNoseNumberingScheme.h:18
HGCalDDDConstants.h
Generated for CMSSW Reference Manual by
1.8.14