Main Page
Namespaces
Classes
Package Documentation
SimDataFormats
Forward
src
LHCTransportLink.cc
Go to the documentation of this file.
1
#include "
SimDataFormats/Forward/interface/LHCTransportLink.h
"
2
#include <iomanip>
3
4
void
LHCTransportLink::fill
(
int
& afterHector,
int
& beforeHector) {
5
afterHector_
=
afterHector
;
6
beforeHector_
=
beforeHector
;
7
}
8
9
int
LHCTransportLink::beforeHector
()
const
{
return
beforeHector_
; }
10
11
int
LHCTransportLink::afterHector
()
const
{
return
afterHector_
; }
12
13
void
LHCTransportLink::clear
() {
14
afterHector_
= 0;
15
beforeHector_
= 0;
16
}
17
18
std::ostream&
operator<<
(std::ostream&
o
,
const
LHCTransportLink
&
t
) {
19
o <<
"before Hector "
<< t.
beforeHector
() <<
" after Hector "
<< t.
afterHector
();
20
return
o
;
21
}
LHCTransportLink::clear
void clear()
Definition:
LHCTransportLink.cc:13
LHCTransportLink::beforeHector_
int beforeHector_
Definition:
LHCTransportLink.h:41
LHCTransportLink
Definition:
LHCTransportLink.h:25
LHCTransportLink::fill
void fill(int &afterHector, int &beforeHector)
Definition:
LHCTransportLink.cc:4
LHCTransportLink.h
LHCTransportLink::afterHector
int afterHector() const
Definition:
LHCTransportLink.cc:11
protons_cff.t
t
Definition:
protons_cff.py:34
operator<<
std::ostream & operator<<(std::ostream &o, const LHCTransportLink &t)
Definition:
LHCTransportLink.cc:18
connectstrParser.o
o
Definition:
connectstrParser.py:72
LHCTransportLink::afterHector_
int afterHector_
Definition:
LHCTransportLink.h:42
LHCTransportLink::beforeHector
int beforeHector() const
Definition:
LHCTransportLink.cc:9
Generated for CMSSW Reference Manual by
1.8.11