SimCalorimetry
HcalTrigPrimAlgos
interface
HcalFinegrainBit.h
Go to the documentation of this file.
1
#ifndef HcalSimAlgos_HcalFinegrainBit_h
2
#define HcalSimAlgos_HcalFinegrainBit_h
3
4
#include <array>
5
#include <bitset>
6
7
class
HcalFinegrainBit
{
8
public
:
9
// see the const definitions below for the meaning of the bit towers.
10
// Each bit is replicated for each depth level
11
typedef
std::array<std::bitset<6>, 2>
Tower
;
12
13
HcalFinegrainBit
(
int
version
) :
version_
(
version
){};
14
15
std::bitset<4>
compute
(
const
Tower
&)
const
;
16
17
private
:
18
// define the two bits in the tower
19
const
int
is_mip
= 0;
20
const
int
is_above_mip
= 1;
21
22
int
version_
;
23
};
24
25
#endif
HcalFinegrainBit::version_
int version_
Definition:
HcalFinegrainBit.h:22
HcalFinegrainBit
Definition:
HcalFinegrainBit.h:7
HcalFinegrainBit::HcalFinegrainBit
HcalFinegrainBit(int version)
Definition:
HcalFinegrainBit.h:13
HcalFinegrainBit::is_mip
const int is_mip
Definition:
HcalFinegrainBit.h:19
HcalFinegrainBit::Tower
std::array< std::bitset< 6 >, 2 > Tower
Definition:
HcalFinegrainBit.h:11
HcalFinegrainBit::compute
std::bitset< 4 > compute(const Tower &) const
Definition:
HcalFinegrainBit.cc:5
HcalFinegrainBit::is_above_mip
const int is_above_mip
Definition:
HcalFinegrainBit.h:20
BeamSplash_cfg.version
version
Definition:
BeamSplash_cfg.py:45
Generated for CMSSW Reference Manual by
1.8.16