Main Page
Namespaces
Classes
Package Documentation
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
Indexed
Definition:
Indexed.h:5
Indexed::Indexed
Indexed()
Definition:
Indexed.h:9
mps_fire.i
i
Definition:
mps_fire.py:156
Indexed::Indexed
Indexed(T t, unsigned i)
Definition:
Indexed.h:10
Indexed::operator+
Indexed operator+(const Indexed &rhs) const
Definition:
Indexed.h:12
Utilities.operator
operator
Definition:
Utilities.py:23
lumiQTWidget.t
t
Definition:
lumiQTWidget.py:50
T
long double T
Definition:
Basic3DVectorLD.h:57
Indexed::index_
unsigned index_
Definition:
Indexed.h:7
Indexed::index
unsigned index() const
Definition:
Indexed.h:11
Generated for CMSSW Reference Manual by
1.8.11