Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
i
int i
Definition:
DBlmapReader.cc:9
Indexed::Indexed
Indexed()
Definition:
Indexed.h:9
Indexed::Indexed
Indexed(T t, unsigned i)
Definition:
Indexed.h:10
lumiQTWidget.t
tuple t
Definition:
lumiQTWidget.py:50
cppFunctionSkipper.operator
string operator
Definition:
cppFunctionSkipper.py:10
Indexed::operator+
Indexed operator+(const Indexed &rhs) const
Definition:
Indexed.h:12
T
long double T
Definition:
Basic3DVectorLD.h:59
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.5