CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 (float x=0, float y=0, float z=0, float lambda=0, float t=0)
 
 HFShowerPhoton (const Point &p, float time, float lambda)
 
 HFShowerPhoton (const HFShowerPhoton &)
 
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 in the space

Definition at line 18 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.

10  : position_(Point(x,y,z)),
11  lambda_(lambda), time_(t) { }
math::XYZPointF Point
point in the space
float t() const
float z() const
float lambda() const
float x() const
float y() const
HFShowerPhoton::HFShowerPhoton ( const Point p,
float  time,
float  lambda 
)

Definition at line 13 of file HFShowerPhoton.cc.

HFShowerPhoton::HFShowerPhoton ( const HFShowerPhoton right)

Definition at line 17 of file HFShowerPhoton.cc.

References lambda_, position_, and time_.

17  {
18  position_ = right.position_;
19  lambda_ = right.lambda_;
20  time_ = right.time_;
21 }
HFShowerPhoton::~HFShowerPhoton ( )
virtual

Definition at line 23 of file HFShowerPhoton.cc.

23 {}

Member Function Documentation

float HFShowerPhoton::lambda ( ) const
inline

Definition at line 29 of file HFShowerPhoton.h.

References lambda_.

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

29 {return lambda_;}
const Point& HFShowerPhoton::position ( ) const
inline

Definition at line 25 of file HFShowerPhoton.h.

References position_.

25 {return position_;}
float HFShowerPhoton::t ( ) const
inline

Definition at line 30 of file HFShowerPhoton.h.

References time_.

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

30 {return time_;}
float HFShowerPhoton::x ( ) const
inline
float HFShowerPhoton::y ( ) const
inline
float HFShowerPhoton::z ( ) const
inline

Definition at line 28 of file HFShowerPhoton.h.

References position_.

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

28 {return position_.Z();}

Member Data Documentation

float HFShowerPhoton::lambda_
private

Definition at line 35 of file HFShowerPhoton.h.

Referenced by HFShowerPhoton(), and lambda().

Point HFShowerPhoton::position_
private

Definition at line 34 of file HFShowerPhoton.h.

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

float HFShowerPhoton::time_
private

Definition at line 36 of file HFShowerPhoton.h.

Referenced by HFShowerPhoton(), and t().