src
CalibFormats
CaloObjects
interface
CaloTSamples.h
Go to the documentation of this file.
1
#ifndef CALOTSAMPLES_H
2
#define CALOTSAMPLES_H 1
3
4
#include "
CalibFormats/CaloObjects/interface/CaloTSamplesBase.h
"
5
13
template
<
class
Ttype, u
int
32_t Tsize>
14
class
CaloTSamples
:
public
CaloTSamplesBase
<Ttype> {
15
public
:
16
enum
{
kCapacity
= Tsize };
17
18
CaloTSamples
();
19
CaloTSamples
(
const
CaloTSamples<Ttype, Tsize>
&
cs
);
20
CaloTSamples
(
const
DetId
&
id
, uint32_t
size
= 0, uint32_t
pre
= 0);
21
~CaloTSamples
()
override
;
22
23
CaloTSamples<Ttype, Tsize>
&
operator=
(
const
CaloTSamples<Ttype, Tsize>
&
cs
);
24
25
uint32_t
capacity
()
const override
;
26
27
private
:
28
Ttype *
data
(uint32_t
i
)
override
;
29
const
Ttype *
cdata
(uint32_t
i
)
const override
;
30
31
Ttype
m_data
[Tsize];
32
};
33
34
#endif
mps_fire.i
i
Definition:
mps_fire.py:429
CaloTSamples::~CaloTSamples
~CaloTSamples() override
CaloTSamples::CaloTSamples
CaloTSamples()
callgraph.cs
cs
Definition:
callgraph.py:102
CaloTSamples
Definition:
CaloTSamples.h:14
CaloTSamples::data
Ttype * data(uint32_t i) override
CaloTSamples::cdata
const Ttype * cdata(uint32_t i) const override
CaloTSamplesBase.h
CaloTSamples::m_data
Ttype m_data[Tsize]
Definition:
CaloTSamples.h:31
DetId
Definition:
DetId.h:17
CaloTSamples::capacity
uint32_t capacity() const override
CaloTSamplesBase
Definition:
CaloTSamplesBase.h:9
CaloTSamplesBase::pre
uint32_t pre() const
CaloTSamples::kCapacity
Definition:
CaloTSamples.h:16
CaloTSamples::operator=
CaloTSamples< Ttype, Tsize > & operator=(const CaloTSamples< Ttype, Tsize > &cs)
CaloTSamplesBase::size
uint32_t size() const
Generated for CMSSW Reference Manual by
1.8.14