Main Page
Namespaces
Classes
Package Documentation
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
private
:
17
// define the two bits in the tower
18
const
int
is_mip
= 0;
19
const
int
is_above_mip
= 1;
20
21
int
version_
;
22
};
23
24
#endif
HcalFinegrainBit::Tower
std::array< std::bitset< 6 >, 2 > Tower
Definition:
HcalFinegrainBit.h:11
HcalFinegrainBit::is_mip
const int is_mip
Definition:
HcalFinegrainBit.h:18
HcalFinegrainBit::is_above_mip
const int is_above_mip
Definition:
HcalFinegrainBit.h:19
jets_cff.version
version
Definition:
jets_cff.py:20
HcalFinegrainBit::compute
std::bitset< 4 > compute(const Tower &) const
Definition:
HcalFinegrainBit.cc:6
HcalFinegrainBit::version_
int version_
Definition:
HcalFinegrainBit.h:21
HcalFinegrainBit
Definition:
HcalFinegrainBit.h:7
HcalFinegrainBit::HcalFinegrainBit
HcalFinegrainBit(int version)
Definition:
HcalFinegrainBit.h:13
Generated for CMSSW Reference Manual by
1.8.11