Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
16
public
:
17
18
enum
{
kCapacity
= Tsize } ;
19
20
CaloTSamples<Ttype,Tsize>
() ;
21
CaloTSamples<Ttype,Tsize>
(
const
CaloTSamples<Ttype,Tsize>
&
cs
) ;
22
CaloTSamples<Ttype,Tsize>
(
const
DetId
&
id
,
23
uint32_t
size
= 0 ,
24
uint32_t
pre
= 0 ) ;
25
virtual
~
CaloTSamples<Ttype,Tsize>
() ;
26
27
CaloTSamples<Ttype,Tsize>
&
operator=
(
const
CaloTSamples<Ttype,Tsize>
&
cs
) ;
28
29
virtual
uint32_t
capacity
()
const
;
30
31
private
:
32
33
virtual
Ttype*
data
( uint32_t
i
) ;
34
virtual
const
Ttype*
cdata
( uint32_t
i
)
const
;
35
36
Ttype
m_data
[ Tsize ] ;
37
} ;
38
39
#endif
i
int i
Definition:
DBlmapReader.cc:9
fwrapper::cs
auto_ptr< ClusterSequence > cs
Definition:
fastjetfortran_madfks.cc:46
CaloTSamples::data
virtual Ttype * data(uint32_t i)
CaloTSamplesBase::pre
uint32_t pre() const
CaloTSamples
Definition:
CaloTSamples.h:14
CaloTSamplesBase::id
DetId id() const
CaloTSamples::cdata
virtual const Ttype * cdata(uint32_t i) const
CaloTSamplesBase.h
CaloTSamples::m_data
Ttype m_data[Tsize]
Definition:
CaloTSamples.h:36
DetId
Definition:
DetId.h:20
CaloTSamples::operator=
CaloTSamples< Ttype, Tsize > & operator=(const CaloTSamples< Ttype, Tsize > &cs)
CaloTSamplesBase
Definition:
CaloTSamplesBase.h:9
CaloTSamples::capacity
virtual uint32_t capacity() const
CaloTSamplesBase::size
uint32_t size() const
CaloTSamples::kCapacity
Definition:
CaloTSamples.h:18
Generated for CMSSW Reference Manual by
1.8.5