CMS 3D CMS Logo

Public Member Functions | Private Attributes

EcalSimPhotonMCTruth Class Reference

#include <EcalSimPhotonMCTruth.h>

List of all members.

Public Member Functions

 EcalSimPhotonMCTruth ()
 EcalSimPhotonMCTruth (math::XYZTLorentzVectorD v)
 EcalSimPhotonMCTruth (int isAConversion, math::XYZTLorentzVectorD v, float rconv, float zconv, math::XYZTLorentzVectorD convVertex, math::XYZTLorentzVectorD pV, std::vector< const SimTrack * > tracks)
math::XYZTLorentzVectorD fourMomentum () const
int isAConversion () const
math::XYZTLorentzVectorD primaryVertex () const
float radius () const
std::vector< const SimTrack * > simTracks () const
math::XYZTLorentzVectorD vertex () const
float z () const

Private Attributes

int isAConversion_
math::XYZTLorentzVectorD theConvVertex_
math::XYZTLorentzVectorD thePhoton_
math::XYZTLorentzVectorD thePrimaryVertex_
float theR_
float theZ_
std::vector< const SimTrack * > tracks_

Detailed Description

This class stores all the MC truth information needed about the conversion for containment correction original code: PhotonMCTruth (N.Marinelli)

Definition at line 16 of file EcalSimPhotonMCTruth.h.


Constructor & Destructor Documentation

EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( ) [inline]

Definition at line 18 of file EcalSimPhotonMCTruth.h.

                         : isAConversion_(0),thePhoton_(0.,0.,0.,0.), theR_(0.), theZ_(0.), 
    theConvVertex_(0.,0.,0.,0.) {};
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( math::XYZTLorentzVectorD  v) [inline]

Definition at line 21 of file EcalSimPhotonMCTruth.h.

: thePhoton_(v) {};
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( int  isAConversion,
math::XYZTLorentzVectorD  v,
float  rconv,
float  zconv,
math::XYZTLorentzVectorD  convVertex,
math::XYZTLorentzVectorD  pV,
std::vector< const SimTrack * >  tracks 
)

Definition at line 5 of file EcalSimPhotonMCTruth.cc.


Member Function Documentation

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::fourMomentum ( ) const [inline]

Definition at line 30 of file EcalSimPhotonMCTruth.h.

References thePhoton_.

{return thePhoton_;}
int EcalSimPhotonMCTruth::isAConversion ( ) const [inline]

Definition at line 27 of file EcalSimPhotonMCTruth.h.

References isAConversion_.

{ return isAConversion_;}
math::XYZTLorentzVectorD EcalSimPhotonMCTruth::primaryVertex ( ) const [inline]

Definition at line 26 of file EcalSimPhotonMCTruth.h.

References thePrimaryVertex_.

float EcalSimPhotonMCTruth::radius ( void  ) const [inline]

Definition at line 28 of file EcalSimPhotonMCTruth.h.

References theR_.

{return theR_;}
std::vector<const SimTrack *> EcalSimPhotonMCTruth::simTracks ( ) const [inline]

Definition at line 32 of file EcalSimPhotonMCTruth.h.

References tracks_.

{return tracks_;} 
math::XYZTLorentzVectorD EcalSimPhotonMCTruth::vertex ( ) const [inline]

Definition at line 31 of file EcalSimPhotonMCTruth.h.

References theConvVertex_.

{return theConvVertex_;}
float EcalSimPhotonMCTruth::z ( ) const [inline]

Definition at line 29 of file EcalSimPhotonMCTruth.h.

References theZ_.

{return theZ_;}

Member Data Documentation

Definition at line 36 of file EcalSimPhotonMCTruth.h.

Referenced by isAConversion().

Definition at line 40 of file EcalSimPhotonMCTruth.h.

Referenced by vertex().

Definition at line 37 of file EcalSimPhotonMCTruth.h.

Referenced by fourMomentum().

Definition at line 41 of file EcalSimPhotonMCTruth.h.

Referenced by primaryVertex().

float EcalSimPhotonMCTruth::theR_ [private]

Definition at line 38 of file EcalSimPhotonMCTruth.h.

Referenced by radius().

float EcalSimPhotonMCTruth::theZ_ [private]

Definition at line 39 of file EcalSimPhotonMCTruth.h.

Referenced by z().

std::vector<const SimTrack *> EcalSimPhotonMCTruth::tracks_ [private]

Definition at line 42 of file EcalSimPhotonMCTruth.h.

Referenced by simTracks().