SimG4CMS
Forward
interface
BscNumberingScheme.h
Go to the documentation of this file.
1
// File: BscNumberingScheme.h
3
// Date: 02.2006
4
// Description: Numbering scheme for Bsc
5
// Modifications:
7
#ifndef BscNumberingScheme_h
8
#define BscNumberingScheme_h
9
10
#include "G4Step.hh"
11
#include <cstdint>
12
13
class
BscNumberingScheme
{
14
public
:
15
BscNumberingScheme
();
16
~BscNumberingScheme
() =
default
;
17
18
unsigned
int
getUnitID
(
const
G4Step* aStep)
const
;
19
20
// Utilities to get detector levels during a step
21
int
detectorLevel
(
const
G4Step*)
const
;
22
void
detectorLevel
(
const
G4Step*,
int
&,
int
*, G4String*)
const
;
23
24
static
unsigned
int
packBscIndex
(
int
det,
int
zside
,
int
station
);
25
static
void
unpackBscIndex
(
const
unsigned
int
&
idx
);
26
};
27
28
#endif
BscNumberingScheme::detectorLevel
int detectorLevel(const G4Step *) const
Definition:
BscNumberingScheme.cc:15
ecaldqm::zside
int zside(DetId const &)
Definition:
EcalDQMCommonUtils.cc:189
BscNumberingScheme
Definition:
BscNumberingScheme.h:13
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
BscNumberingScheme::BscNumberingScheme
BscNumberingScheme()
Definition:
BscNumberingScheme.cc:13
BscNumberingScheme::~BscNumberingScheme
~BscNumberingScheme()=default
training_settings.idx
idx
Definition:
training_settings.py:16
BscNumberingScheme::unpackBscIndex
static void unpackBscIndex(const unsigned int &idx)
Definition:
BscNumberingScheme.cc:95
BscNumberingScheme::getUnitID
unsigned int getUnitID(const G4Step *aStep) const
Definition:
BscNumberingScheme.cc:33
BscNumberingScheme::packBscIndex
static unsigned int packBscIndex(int det, int zside, int station)
Definition:
BscNumberingScheme.cc:83
Generated for CMSSW Reference Manual by
1.8.16