CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
HFShowerPhoton Class Reference

#include <HFShowerPhoton.h>

Public Types

typedef math::XYZPointF Point
 point in the space More...
 

Public Member Functions

 HFShowerPhoton (const HFShowerPhoton &)
 
 HFShowerPhoton (const Point &p, float time, float lambda)
 
 HFShowerPhoton (float x=0, float y=0, float z=0, float lambda=0, float t=0)
 
float lambda () const
 
const Pointposition () const
 
float t () const
 
float x () const
 
float y () const
 
float z () const
 
virtual ~HFShowerPhoton ()
 

Private Attributes

float lambda_
 
Point position_
 
float time_
 

Detailed Description

Definition at line 13 of file HFShowerPhoton.h.

Member Typedef Documentation

◆ Point

point in the space

Definition at line 16 of file HFShowerPhoton.h.

Constructor & Destructor Documentation

◆ HFShowerPhoton() [1/3]

HFShowerPhoton::HFShowerPhoton ( float  x = 0,
float  y = 0,
float  z = 0,
float  lambda = 0,
float  t = 0 
)

Definition at line 9 of file HFShowerPhoton.cc.

10  : position_(Point(x, y, z)), lambda_(lambda), time_(t) {}

◆ HFShowerPhoton() [2/3]

HFShowerPhoton::HFShowerPhoton ( const Point p,
float  time,
float  lambda 
)

Definition at line 12 of file HFShowerPhoton.cc.

12 : position_(p), lambda_(lambda), time_(t) {}

◆ HFShowerPhoton() [3/3]

HFShowerPhoton::HFShowerPhoton ( const HFShowerPhoton right)

Definition at line 14 of file HFShowerPhoton.cc.

14  {
15  position_ = right.position_;
16  lambda_ = right.lambda_;
17  time_ = right.time_;
18 }

References lambda_, position_, and time_.

◆ ~HFShowerPhoton()

HFShowerPhoton::~HFShowerPhoton ( )
virtual

Definition at line 20 of file HFShowerPhoton.cc.

20 {}

Member Function Documentation

◆ lambda()

float HFShowerPhoton::lambda ( ) const
inline

Definition at line 27 of file HFShowerPhoton.h.

27 { return lambda_; }

References lambda_.

Referenced by operator<<(), and HcalForwardAnalysis::setPhotons().

◆ position()

const Point& HFShowerPhoton::position ( ) const
inline

Definition at line 23 of file HFShowerPhoton.h.

23 { return position_; }

References position_.

◆ t()

float HFShowerPhoton::t ( ) const
inline

Definition at line 28 of file HFShowerPhoton.h.

28 { return time_; }

References time_.

Referenced by operator<<(), and HcalForwardAnalysis::setPhotons().

◆ x()

float HFShowerPhoton::x ( ) const
inline

◆ y()

float HFShowerPhoton::y ( ) const
inline

◆ z()

float HFShowerPhoton::z ( ) const
inline

Member Data Documentation

◆ lambda_

float HFShowerPhoton::lambda_
private

Definition at line 32 of file HFShowerPhoton.h.

Referenced by HFShowerPhoton(), and lambda().

◆ position_

Point HFShowerPhoton::position_
private

Definition at line 31 of file HFShowerPhoton.h.

Referenced by HFShowerPhoton(), position(), x(), y(), and z().

◆ time_

float HFShowerPhoton::time_
private

Definition at line 33 of file HFShowerPhoton.h.

Referenced by HFShowerPhoton(), and t().

HFShowerPhoton::y
float y() const
Definition: HFShowerPhoton.h:25
HFShowerPhoton::t
float t() const
Definition: HFShowerPhoton.h:28
HFShowerPhoton::position_
Point position_
Definition: HFShowerPhoton.h:31
HFShowerPhoton::x
float x() const
Definition: HFShowerPhoton.h:24
HFShowerPhoton::Point
math::XYZPointF Point
point in the space
Definition: HFShowerPhoton.h:16
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
HFShowerPhoton::lambda
float lambda() const
Definition: HFShowerPhoton.h:27
HFShowerPhoton::z
float z() const
Definition: HFShowerPhoton.h:26
HFShowerPhoton::lambda_
float lambda_
Definition: HFShowerPhoton.h:32
HFShowerPhoton::time_
float time_
Definition: HFShowerPhoton.h:33