CMS 3D CMS Logo

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

#include <EcalSimPhotonMCTruth.h>

Public Member Functions

 EcalSimPhotonMCTruth ()
 
 EcalSimPhotonMCTruth (const math::XYZTLorentzVectorD &v)
 
 EcalSimPhotonMCTruth (int isAConversion, const math::XYZTLorentzVectorD &v, float rconv, float zconv, const math::XYZTLorentzVectorD &convVertex, const math::XYZTLorentzVectorD &pV, const 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.

Referenced by EcalSimPhotonMCTruth().

18  : isAConversion_(0),thePhoton_(0.,0.,0.,0.), theR_(0.), theZ_(0.),
19  theConvVertex_(0.,0.,0.,0.) {};
math::XYZTLorentzVectorD thePhoton_
math::XYZTLorentzVectorD theConvVertex_
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( const math::XYZTLorentzVectorD v)
inline
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth ( int  isAConversion,
const math::XYZTLorentzVectorD v,
float  rconv,
float  zconv,
const math::XYZTLorentzVectorD convVertex,
const math::XYZTLorentzVectorD pV,
const std::vector< const SimTrack * > &  tracks 
)

Definition at line 5 of file EcalSimPhotonMCTruth.cc.

7  :
9  thePhoton_(v), theR_(rconv), theZ_(zconv), theConvVertex_(convVertex),
11 }
std::vector< const SimTrack * > tracks_
math::XYZTLorentzVectorD thePhoton_
math::XYZTLorentzVectorD theConvVertex_
math::XYZTLorentzVectorD thePrimaryVertex_

Member Function Documentation

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

Definition at line 30 of file EcalSimPhotonMCTruth.h.

References thePhoton_.

30 {return thePhoton_;}
math::XYZTLorentzVectorD thePhoton_
int EcalSimPhotonMCTruth::isAConversion ( ) const
inline

Definition at line 27 of file EcalSimPhotonMCTruth.h.

References isAConversion_.

Referenced by EcalSimPhotonMCTruth().

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::primaryVertex ( ) const
inline

Definition at line 26 of file EcalSimPhotonMCTruth.h.

References thePrimaryVertex_.

26 {return thePrimaryVertex_;}
math::XYZTLorentzVectorD thePrimaryVertex_
float EcalSimPhotonMCTruth::radius ( void  ) const
inline

Definition at line 28 of file EcalSimPhotonMCTruth.h.

References theR_.

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

Definition at line 32 of file EcalSimPhotonMCTruth.h.

References tracks_.

32 {return tracks_;}
std::vector< const SimTrack * > tracks_
math::XYZTLorentzVectorD EcalSimPhotonMCTruth::vertex ( ) const
inline

Definition at line 31 of file EcalSimPhotonMCTruth.h.

References theConvVertex_.

Referenced by Tau.Tau::dxy().

31 {return theConvVertex_;}
math::XYZTLorentzVectorD theConvVertex_
float EcalSimPhotonMCTruth::z ( ) const
inline

Definition at line 29 of file EcalSimPhotonMCTruth.h.

References theZ_.

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

29 {return theZ_;}

Member Data Documentation

int EcalSimPhotonMCTruth::isAConversion_
private

Definition at line 36 of file EcalSimPhotonMCTruth.h.

Referenced by isAConversion().

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::theConvVertex_
private

Definition at line 40 of file EcalSimPhotonMCTruth.h.

Referenced by vertex().

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::thePhoton_
private

Definition at line 37 of file EcalSimPhotonMCTruth.h.

Referenced by fourMomentum().

math::XYZTLorentzVectorD EcalSimPhotonMCTruth::thePrimaryVertex_
private

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().