CMS 3D CMS Logo

HFShowerPhoton Class Reference

#include <SimDataFormats/CaloHit/interface/HFShowerPhoton.h>

List of all members.

Public Types

typedef math::XYZPointF Point
 point in the space

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 12 of file HFShowerPhoton.h.


Member Typedef Documentation

typedef math::XYZPointF HFShowerPhoton::Point

point in the space

Definition at line 17 of file HFShowerPhoton.h.


Constructor & Destructor Documentation

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.

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

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

Definition at line 13 of file HFShowerPhoton.cc.

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

HFShowerPhoton::HFShowerPhoton ( const HFShowerPhoton right  ) 

Definition at line 17 of file HFShowerPhoton.cc.

References lambda_, position_, and time_.

00017                                                           {
00018   position_ = right.position_;
00019   lambda_   = right.lambda_;
00020   time_     = right.time_;
00021 }

HFShowerPhoton::~HFShowerPhoton (  )  [virtual]

Definition at line 23 of file HFShowerPhoton.cc.

00023 {}


Member Function Documentation

float HFShowerPhoton::lambda (  )  const [inline]

Definition at line 28 of file HFShowerPhoton.h.

References lambda_.

Referenced by operator<<().

00028 {return lambda_;}

const Point& HFShowerPhoton::position ( void   )  const [inline]

Definition at line 24 of file HFShowerPhoton.h.

References position_.

00024 {return position_;}

float HFShowerPhoton::t (  )  const [inline]

Definition at line 29 of file HFShowerPhoton.h.

References time_.

Referenced by operator<<().

00029 {return time_;}

float HFShowerPhoton::x ( void   )  const [inline]

Definition at line 25 of file HFShowerPhoton.h.

References position_.

Referenced by operator<<().

00025 {return position_.X();}

float HFShowerPhoton::y ( void   )  const [inline]

Definition at line 26 of file HFShowerPhoton.h.

References position_.

Referenced by operator<<().

00026 {return position_.Y();}

float HFShowerPhoton::z ( void   )  const [inline]

Definition at line 27 of file HFShowerPhoton.h.

References position_.

Referenced by operator<<().

00027 {return position_.Z();}


Member Data Documentation

float HFShowerPhoton::lambda_ [private]

Definition at line 34 of file HFShowerPhoton.h.

Referenced by HFShowerPhoton(), and lambda().

Point HFShowerPhoton::position_ [private]

Definition at line 33 of file HFShowerPhoton.h.

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

float HFShowerPhoton::time_ [private]

Definition at line 35 of file HFShowerPhoton.h.

Referenced by HFShowerPhoton(), and t().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:24:13 2009 for CMSSW by  doxygen 1.5.4