DQMOffline
JetMET
interface
SusyDQM
Indexed.h
Go to the documentation of this file.
1
#ifndef INDEXED_H
2
#define INDEXED_H
3
4
template
<
class
T>
5
class
Indexed
:
public
T
{
6
private
:
7
unsigned
index_
;
8
public
:
9
Indexed
() :
T
(),
index_
(0) {}
10
Indexed
(
T
t
,
unsigned
i
) :
T
(
t
),
index_
(
i
) {}
11
unsigned
index
()
const
{
return
index_
;}
12
Indexed
operator+
(
const
Indexed
& rhs)
const
{
return
Indexed
(this->
T::operator
+(rhs),0);}
13
};
14
15
#endif
mps_fire.i
i
Definition:
mps_fire.py:355
Indexed::Indexed
Indexed(T t, unsigned i)
Definition:
Indexed.h:10
Indexed::index_
unsigned index_
Definition:
Indexed.h:7
Indexed::Indexed
Indexed()
Definition:
Indexed.h:9
Utilities.operator
operator
Definition:
Utilities.py:24
OrderedSet.t
t
Definition:
OrderedSet.py:90
Indexed::index
unsigned index() const
Definition:
Indexed.h:11
Indexed
Definition:
Indexed.h:5
T
long double T
Definition:
Basic3DVectorLD.h:48
Indexed::operator+
Indexed operator+(const Indexed &rhs) const
Definition:
Indexed.h:12
Generated for CMSSW Reference Manual by
1.8.16