Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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,
10
float
t
): position_(
Point
(x,y,z)),
11
lambda_(lambda), time_(t) { }
12
13
HFShowerPhoton::HFShowerPhoton
(
const
Point
&
p
,
float
t
,
14
float
lambda) : position_(p), lambda_(lambda),
15
time_(t) { }
16
17
HFShowerPhoton::HFShowerPhoton
(
const
HFShowerPhoton
&right) {
18
position_
= right.
position_
;
19
lambda_
= right.
lambda_
;
20
time_
= right.
time_
;
21
}
22
23
HFShowerPhoton::~HFShowerPhoton
() {}
24
25
std::ostream&
operator<<
(std::ostream& os,
const
HFShowerPhoton
& it) {
26
os <<
"X "
<< std::setw(6) << it.
x
() <<
" Y "
<< std::setw(6)
27
<< it.
y
() <<
" Z "
<< std::setw(6) << it.
z
() <<
" t "
<< std::setw(6)
28
<< it.
t
() <<
" lambda "
<< it.
lambda
();
29
return
os;
30
}
HFShowerPhoton::Point
math::XYZPointF Point
point in the space
Definition:
HFShowerPhoton.h:18
HFShowerPhoton::~HFShowerPhoton
virtual ~HFShowerPhoton()
Definition:
HFShowerPhoton.cc:23
HFShowerPhoton::time_
float time_
Definition:
HFShowerPhoton.h:36
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
detailsBasic3DVector::z
float float float z
Definition:
extBasic3DVector.h:15
HFShowerPhoton::position_
Point position_
Definition:
HFShowerPhoton.h:34
HFShowerPhoton
Definition:
HFShowerPhoton.h:13
HFShowerPhoton::t
float t() const
Definition:
HFShowerPhoton.h:30
edmStreamStallGrapher.t
tuple t
Definition:
edmStreamStallGrapher.py:108
HFShowerPhoton::lambda_
float lambda_
Definition:
HFShowerPhoton.h:35
HFShowerPhoton::z
float z() const
Definition:
HFShowerPhoton.h:28
HFShowerPhoton::lambda
float lambda() const
Definition:
HFShowerPhoton.h:29
HFShowerPhoton::x
float x() const
Definition:
HFShowerPhoton.h:26
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
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
x
Definition:
DDAxes.h:10
HFShowerPhoton::y
float y() const
Definition:
HFShowerPhoton.h:27
Generated for CMSSW Reference Manual by
1.8.5