CondFormats
HcalObjects
interface
HcalTPParameters.h
Go to the documentation of this file.
1
#ifndef CondFormatsHcalObjectsHcalTPParameters_h
2
#define CondFormatsHcalObjectsHcalTPParameters_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <vector>
7
#include <algorithm>
8
#include <cstdint>
9
10
class
HcalTPParameters
{
11
public
:
12
HcalTPParameters
();
13
~HcalTPParameters
();
14
15
// Load a new entry
16
void
loadObject
(
int
version
,
int
adcCut,
uint64_t
tdcMask, uint32_t tbits,
int
auxi1,
int
auxi2);
17
19
int
getFGVersionHBHE
()
const
{
return
version_
; }
21
int
getADCThresholdHF
()
const
{
return
adcCut_
; }
23
uint64_t
getTDCMaskHF
()
const
{
return
tdcMask_
; }
25
uint32_t
getHFTriggerInfo
()
const
{
return
tbits_
; }
27
int
getAuxi1
()
const
{
return
auxi1_
; }
28
int
getAuxi2
()
const
{
return
auxi2_
; }
29
30
private
:
31
int
version_
;
32
int
adcCut_
;
33
uint64_t
tdcMask_
;
34
uint32_t
tbits_
;
35
int
auxi1_
;
36
int
auxi2_
;
37
38
COND_SERIALIZABLE
;
39
};
40
41
#endif
HcalTPParameters::getADCThresholdHF
int getADCThresholdHF() const
get ADC threshold fof TDC mask of HF
Definition:
HcalTPParameters.h:21
HcalTPParameters
Definition:
HcalTPParameters.h:10
HcalTPParameters::tdcMask_
uint64_t tdcMask_
Definition:
HcalTPParameters.h:33
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
HcalTPParameters::adcCut_
int adcCut_
Definition:
HcalTPParameters.h:32
HcalTPParameters::~HcalTPParameters
~HcalTPParameters()
Definition:
HcalTPParameters.cc:10
HcalTPParameters::tbits_
uint32_t tbits_
Definition:
HcalTPParameters.h:34
HcalTPParameters::getHFTriggerInfo
uint32_t getHFTriggerInfo() const
get Self Trigger bits
Definition:
HcalTPParameters.h:25
HcalTPParameters::getFGVersionHBHE
int getFGVersionHBHE() const
get FineGrain Algorithm Version for HBHE
Definition:
HcalTPParameters.h:19
HcalTPParameters::auxi1_
int auxi1_
Definition:
HcalTPParameters.h:35
HcalTPParameters::getTDCMaskHF
uint64_t getTDCMaskHF() const
get TDC mask for HF
Definition:
HcalTPParameters.h:23
HcalTPParameters::getAuxi2
int getAuxi2() const
Definition:
HcalTPParameters.h:28
Serializable.h
HcalTPParameters::loadObject
void loadObject(int version, int adcCut, uint64_t tdcMask, uint32_t tbits, int auxi1, int auxi2)
Definition:
HcalTPParameters.cc:12
HcalTPParameters::HcalTPParameters
HcalTPParameters()
Definition:
HcalTPParameters.cc:8
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:13
HcalTPParameters::getAuxi1
int getAuxi1() const
get Axiliary words
Definition:
HcalTPParameters.h:27
BeamSplash_cfg.version
version
Definition:
BeamSplash_cfg.py:45
HcalTPParameters::version_
int version_
Definition:
HcalTPParameters.h:31
HcalTPParameters::auxi2_
int auxi2_
Definition:
HcalTPParameters.h:36
Generated for CMSSW Reference Manual by
1.8.16