Main Page
Namespaces
Classes
Package Documentation
SimDataFormats
CaloHit
src
HFShowerPhoton.cc
Go to the documentation of this file.
1
// File: HFShowerPhoton.cc
3
// Description: Photons (generating single PE) in HF Shower Library
5
#include "
SimDataFormats/CaloHit/interface/HFShowerPhoton.h
"
6
7
#include <iomanip>
8
9
HFShowerPhoton::HFShowerPhoton
(
float
x
,
float
y
,
float
z
,
float
lambda,
float
t
)
10
: position_(
Point
(x, y, z)), lambda_(lambda), time_(t) {}
11
12
HFShowerPhoton::HFShowerPhoton
(
const
Point
&
p
,
float
t
,
float
lambda
) :
position_
(p),
lambda_
(lambda),
time_
(t) {}
13
14
HFShowerPhoton::HFShowerPhoton
(
const
HFShowerPhoton
& right) {
15
position_
= right.
position_
;
16
lambda_
= right.
lambda_
;
17
time_
= right.
time_
;
18
}
19
20
HFShowerPhoton::~HFShowerPhoton
() {}
21
22
std::ostream&
operator<<
(std::ostream& os,
const
HFShowerPhoton
& it) {
23
os <<
"X "
<< std::setw(6) << it.
x
() <<
" Y "
<< std::setw(6) << it.
y
() <<
" Z "
<< std::setw(6) << it.
z
() <<
" t "
24
<< std::setw(6) << it.
t
() <<
" lambda "
<< it.
lambda
();
25
return
os;
26
}
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
operator<<
std::ostream & operator<<(std::ostream &os, const HFShowerPhoton &it)
Definition:
HFShowerPhoton.cc:22
HFShowerPhoton::~HFShowerPhoton
virtual ~HFShowerPhoton()
Definition:
HFShowerPhoton.cc:20
HFShowerPhoton::time_
float time_
Definition:
HFShowerPhoton.h:33
detailsBasic3DVector::z
float float float z
Definition:
extBasic3DVector.h:15
HFShowerPhoton::position_
Point position_
Definition:
HFShowerPhoton.h:31
HFShowerPhoton
Definition:
HFShowerPhoton.h:13
HFShowerPhoton::t
float t() const
Definition:
HFShowerPhoton.h:28
protons_cff.t
t
Definition:
protons_cff.py:34
HFShowerPhoton::lambda_
float lambda_
Definition:
HFShowerPhoton.h:32
HFShowerPhoton::z
float z() const
Definition:
HFShowerPhoton.h:26
HFShowerPhoton::lambda
float lambda() const
Definition:
HFShowerPhoton.h:27
HFShowerPhoton::x
float x() const
Definition:
HFShowerPhoton.h:24
HFShowerPhoton::HFShowerPhoton
HFShowerPhoton(float x=0, float y=0, float z=0, float lambda=0, float t=0)
Definition:
HFShowerPhoton.cc:9
HFShowerPhoton.h
detailsBasic3DVector::y
float float y
Definition:
extBasic3DVector.h:15
genVertex_cff.x
x
Definition:
genVertex_cff.py:12
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
DMRtrends.cc:55
HFShowerPhoton::y
float y() const
Definition:
HFShowerPhoton.h:25
Generated for CMSSW Reference Manual by
1.8.11