Main Page
Namespaces
Classes
Package Documentation
src
CommonTools
Utils
src
IntSetter.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_IntSetter_h
2
#define CommonTools_Utils_IntSetter_h
3
/* \class reco::parser::IntSetter
4
*
5
* Integer setter
6
*
7
* \author Luca Lista, INFN
8
*
9
* \version $Revision: 1.1 $
10
*
11
*/
12
#include "
CommonTools/Utils/src/IntStack.h
"
13
14
namespace
reco
{
15
namespace
parser
{
16
struct
IntSetter
{
17
IntSetter
(
IntStack
&
stack
) :
stack_
( stack ) { }
18
void
operator()
(
int
n
)
const
{
19
stack_
.push_back(n);
20
}
21
private
:
22
IntStack
&
stack_
;
23
};
24
}
25
}
26
27
#endif
reco::parser::IntSetter::operator()
void operator()(int n) const
Definition:
IntSetter.h:18
reco::parser::IntSetter::stack_
IntStack & stack_
Definition:
IntSetter.h:22
svgfig.stack
stack
Definition:
svgfig.py:559
reco::parser::IntStack
std::vector< int > IntStack
Definition:
IntStack.h:16
IntStack.h
gen::n
int n
Definition:
Cascade2Hadronizer.cc:79
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:44
reco::parser::IntSetter
Definition:
IntSetter.h:16
reco::parser::IntSetter::IntSetter
IntSetter(IntStack &stack)
Definition:
IntSetter.h:17
Generated for CMSSW Reference Manual by
1.8.11